aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js')
-rw-r--r--tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js b/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js
index bdaf5606a8b..67cfa1f122f 100644
--- a/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js
+++ b/tests/wpt/web-platform-tests/websockets/Create-protocols-repeated.any.js
@@ -2,7 +2,7 @@
test(function() {
var wsocket;
- assert_throws("SYNTAX_ERR", function() {
+ assert_throws_dom("SYNTAX_ERR", function() {
wsocket = CreateWebSocketWithRepeatedProtocols()
});
}, "Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values - SYNTAX_ERR is thrown")