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); |
} |
} |