Index: LayoutTests/fast/dom/custom/document-register-namespace.html |
diff --git a/LayoutTests/fast/dom/custom/document-register-namespace.html b/LayoutTests/fast/dom/custom/document-register-namespace.html |
index 4ad68d5e974c3ecae662a9da097c2dacc1a98b5a..3f43a45c4f99f67e50460dce1d877217430cb702 100644 |
--- a/LayoutTests/fast/dom/custom/document-register-namespace.html |
+++ b/LayoutTests/fast/dom/custom/document-register-namespace.html |
@@ -60,12 +60,6 @@ shouldBeFalse('notSVG2 instanceof CustomSVGElement'); |
shouldBeFalse('notSVG2 instanceof HTMLUnknownElement'); |
shouldBeTrue('notSVG2 instanceof HTMLElement'); |
shouldBe('Object.getPrototypeOf(notSVG2)', 'HTMLElement.prototype'); |
- |
-// Trying to extend something outside HTML or SVG should throw a NAMESPACE_ERR |
-shouldThrow( |
- 'document.register("xml-foo", { prototype: Object.create(Element.prototype) })', |
- '"NamespaceError: Failed to call \'register\' on \'Document\' for type \'xml-foo\': the prototype does not extend an HTML or SVG element."'); |
- |
</script> |
<script src="../../js/resources/js-test-post.js"></script> |
</body> |