Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: LayoutTests/fast/dom/Element/prefix-setter-exception.html

Issue 688333002: Remove the Element.prefix setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/prefix-setter-exception-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/prefix-setter-exception.html
diff --git a/LayoutTests/fast/dom/Element/prefix-setter-exception.html b/LayoutTests/fast/dom/Element/prefix-setter-exception.html
deleted file mode 100644
index 44627d1d588ebbe96c5f44eb4cf0e50954437d83..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Element/prefix-setter-exception.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>DOM L3 Core: Node Interface prefix property setter</title>
-</head>
-<body>
-<script src="../../../resources/js-test.js"></script>
-<script>
-description('Test for the implementation of DOM Level 3 Core API on Node Interface: prefix setter. INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal character according to the XML version in use specified in the Document.xmlVersion attribute. <a href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix">http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix</a>');
-
-var prefixedElem = document.createElementNS("ns1", "pre1:foo");
-document.body.appendChild(prefixedElem);
-
-function test(prefix, expectedToThrow) {
- prefixedElem.prefix = "before";
- if (expectedToThrow) {
- shouldThrow('prefixedElem.prefix = ' + prefix);
- shouldBe('prefixedElem.prefix', '"before"');
- } else {
- shouldBe('prefixedElem.prefix = ' + prefix, prefix);
- shouldBe('prefixedElem.prefix', prefix);
- }
-}
-
-test('"."', true);
-test('"x."', false);
-test('"0a"', true);
-test('"a0"', false);
-test('"_0"', false);
-test('"\xD7"', true);
-test('"\xB7"', true);
-test('"aa"', false);
-test('"\\n"', true);
-</script>
-</body>
-</html>
-
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/prefix-setter-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698