Source/WebCore: A client MUST close a connection if it detects a masked frame
[WebKit-https.git] / LayoutTests / http / tests / websocket / tests / hybi / unmasked-frames.html
similarity index 90%
rename from LayoutTests/http/tests/websocket/tests/hybi/masked-frames.html
rename to LayoutTests/http/tests/websocket/tests/hybi/unmasked-frames.html
index 2b085edd0488f57fadd848b12ff16158c53d8712..dc22b75ce46d82bd6774652b21c3f53b4d7a8545 100644 (file)
@@ -7,13 +7,13 @@
 <div id="description"></div>
 <div id="console"></div>
 <script>
-description("Receive masked WebSocket frames.");
+description("Receive unmasked WebSocket frames.");
 
 window.jsTestIsAsync = true;
 if (window.layoutTestController)
     layoutTestController.overridePreference("WebKitHixie76WebSocketProtocolEnabled", 0);
 
-var url = "ws://localhost:8880/websocket/tests/hybi/masked-frames";
+var url = "ws://localhost:8880/websocket/tests/hybi/unmasked-frames";
 var ws = new WebSocket(url);
 var closeEvent;
 var expectedMessages = ["First message", "Fragmented message", ""];