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

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

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 a9865132fdacf41f316c1a25e2853775b04529df..268a2c55dce15b0b8dfbc1788db77a888cee84e0 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] +"')", "'InvalidCharacterError: The string contains invalid characters.'");
+ shouldThrow("document.createElement('" + nameList[i] +"')", '"InvalidCharacterError: Failed to execute \'createElement\' on \'Document\': \'' + nameList[i] + '\' is not a valid element name."');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698