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

Unified Diff: LayoutTests/fast/dom/script-tests/dataset-xhtml.js

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months 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
Index: LayoutTests/fast/dom/script-tests/dataset-xhtml.js
diff --git a/LayoutTests/fast/dom/script-tests/dataset-xhtml.js b/LayoutTests/fast/dom/script-tests/dataset-xhtml.js
index 09624001282c820461c98e7ba3ece4b86e9874f2..647ff7d3e14365a2450dcd7f274303c3daa28e09 100644
--- a/LayoutTests/fast/dom/script-tests/dataset-xhtml.js
+++ b/LayoutTests/fast/dom/script-tests/dataset-xhtml.js
@@ -47,9 +47,9 @@ shouldBeTrue("testSet('', 'data-')");
shouldBeTrue("testSet('\xE0', 'data-\xE0')");
debug("");
-shouldThrow("testSet('-foo', 'dummy')", "'Error: SyntaxError: DOM Exception 12'");
-shouldThrow("testSet('foo\x20', 'dummy')", "'Error: InvalidCharacterError: DOM Exception 5'");
-shouldThrow("testSet('foo\uF900', 'dummy')", "'Error: InvalidCharacterError: DOM Exception 5'");
+shouldThrow("testSet('-foo', 'dummy')", "'SyntaxError: An invalid or illegal string was specified.'");
+shouldThrow("testSet('foo\x20', 'dummy')", "'InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.'");
+shouldThrow("testSet('foo\uF900', 'dummy')", "'InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.'");
debug("");
function testDelete(attr, prop)

Powered by Google App Engine
This is Rietveld 408576698