| Index: LayoutTests/http/tests/websocket/tests/hybi/send-object-tostring-check.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/send-object-tostring-check.html b/LayoutTests/http/tests/websocket/tests/hybi/send-object-tostring-check.html
|
| deleted file mode 100644
|
| index e7f6e6445474b08b4515cc56fae5426c61ef449d..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/send-object-tostring-check.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script src="/js-test-resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<div id="description"></div>
|
| -<div id="console"></div>
|
| -<script type="text/javascript">
|
| -description("WebSocket: Object's toString method should be called only once.");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -
|
| -var testObj = new function() {
|
| - this.callCounter = 0;
|
| - this.toString = function() {
|
| - this.callCounter++;
|
| - };
|
| -}
|
| -
|
| -var url = "ws://127.0.0.1:8880/";
|
| -var ws = new WebSocket(url);
|
| -var closeEvent;
|
| -
|
| -
|
| -ws.onopen = function()
|
| -{
|
| - ws.send(testObj);
|
| -};
|
| -
|
| -ws.onclose = function(event)
|
| -{
|
| - closeEvent = event;
|
| - shouldEvaluateTo("testObj.callCounter", 1);
|
| - shouldBeTrue("closeEvent.wasClean");
|
| - finishJSTest();
|
| -};
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|