aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js')
-rw-r--r--tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js b/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js
index 855e4f804ae..16f99759d18 100644
--- a/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js
+++ b/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated-case-insensitive.any.js
@@ -1,6 +1,8 @@
// META: script=websocket.sub.js
- test(function () {
- var wsocket;
- assert_throws("SYNTAX_ERR", function () { wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive() });
- }, "W3C WebSocket API - Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values but different case - SYNTAX_ERR is thrown")
+test(function() {
+ var wsocket;
+ assert_throws("SYNTAX_ERR", function() {
+ wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive()
+ });
+}, "W3C WebSocket API - Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values but different case - SYNTAX_ERR is thrown")