Index: tools/dom/scripts/systemhtml.py |
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py |
index 49f749eb7c6cb32046e721a924abb8efc4c1e5cc..3d0d9130787fdc5b5d1122f7ca909e1a9cb77460 100644 |
--- a/tools/dom/scripts/systemhtml.py |
+++ b/tools/dom/scripts/systemhtml.py |
@@ -85,6 +85,7 @@ js_support_checks = { |
'HTMLProgressElement': "Element.isTagSupported('progress')", |
'HTMLShadowElement': "Element.isTagSupported('shadow')", |
'HTMLTrackElement': "Element.isTagSupported('track')", |
+ 'WebSocket': "JS('bool', 'typeof window.WebSocket != \"undefined\"')", |
} |
# Classes that offer only static methods, and therefore we should suppress |