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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.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/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html b/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html
index e745c44fc05a7f549135fa6ffda5f367374a4fa9..430d87303dbd53fa889d6f31b5abcc8680375b9a 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html
+++ b/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html
@@ -42,7 +42,7 @@ function runTest(codePoint)
setTimeout("runTest(" + (codePoint + 1) + ")", 0);
};
} else {
- shouldThrow("new WebSocket(url, \"" + escapeUnicodeCharacter(codePoint) + "\")", "'Error: SyntaxError: DOM Exception 12'");
+ shouldThrow("new WebSocket(url, \"" + escapeUnicodeCharacter(codePoint) + "\")", "'SyntaxError: An invalid or illegal string was specified.'");
setTimeout("runTest(" + (codePoint + 1) + ")", 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698