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

Unified Diff: LayoutTests/fast/dom/Document/createElement-invalid-names.html

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/Document/createElement-invalid-names.html
diff --git a/LayoutTests/fast/dom/Document/createElement-invalid-names.html b/LayoutTests/fast/dom/Document/createElement-invalid-names.html
index 9a3613d6c2e6048e3bf61719a6249084b43595c5..66549be2e3f9ebbdd6e8a7f4eda57b18ce2ca6da 100644
--- a/LayoutTests/fast/dom/Document/createElement-invalid-names.html
+++ b/LayoutTests/fast/dom/Document/createElement-invalid-names.html
@@ -26,7 +26,7 @@ var nameList = [
];
for (var i in nameList)
- shouldThrow("document.createElement('" + nameList[i] +"')", "'Error: InvalidCharacterError: DOM Exception 5'");
+ shouldThrow("document.createElement('" + nameList[i] +"')", "'InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.'");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698