Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: LayoutTests/virtual/stable/http/tests/websocket/close-expected.txt

Issue 317843002: Turn on the new WebSocket implementation by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove layout tests of old WebSocket implementation. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/virtual/stable/http/tests/websocket/close-expected.txt
diff --git a/LayoutTests/virtual/stable/http/tests/websocket/close-expected.txt b/LayoutTests/virtual/stable/http/tests/websocket/close-expected.txt
deleted file mode 100644
index 3c460f3b6636cf728cbce8ec13d9cadb4012f6a5..0000000000000000000000000000000000000000
--- a/LayoutTests/virtual/stable/http/tests/websocket/close-expected.txt
+++ /dev/null
@@ -1,123 +0,0 @@
-CONSOLE WARNING: WebSocket connection to 'ws://127.0.0.1:8880/close' failed: WebSocket is closed before the connection is established.
-CONSOLE WARNING: WebSocket connection to 'ws://127.0.0.1:8880/close' failed: WebSocket is closed before the connection is established.
-Verify WebSocket::close behaviors.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-Invalid code test: 0
-Code 999 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 999 is neither."
-Invalid code test: 1
-Code 1001 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 1001 is neither."
-Invalid code test: 2
-Code 2999 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 2999 is neither."
-Invalid code test: 3
-Code 5000 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 5000 is neither."
-Invalid code test: 4
-Code 66536 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 65535 is neither."
-Invalid code test: 5
-Code 4294968296 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 65535 is neither."
-Invalid code test: 6
-Code 2999.9 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 2999 is neither."
-Invalid code test: 7
-Code NaN must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 0 is neither."
-Invalid code test: 8
-Code 0 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 0 is neither."
-Invalid code test: 9
-Code 100 must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 100 is neither."
-Invalid code test: 10
-Code Infinity must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 65535 is neither."
-Invalid code test: 11
-Code -Infinity must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 0 is neither."
-Invalid code test: 12
-Code NaN must cause InvalidAccessError.
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is invalidAccessErr
-PASS exceptionMessage is "Failed to execute 'close' on 'WebSocket': The code must be either 1000, or between 3000 and 4999. 0 is neither."
-PASS onerror was called.
-runCodeTest: onclose().
-PASS closeEvent.code is abnormalClosure
-Skip invalid string test.
-Reason test: 0
- with invalid reason: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234
-Reason 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 must cause SyntaxError.
-PASS result is false
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is syntaxErr
-Reason test: 1
- with invalid reason: 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012©
-Reason 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012© must cause SyntaxError.
-PASS result is false
-PASS exceptionProto === DOMException.prototype is true
-PASS exceptionName is syntaxErr
-Reason test: 2
-PASS onerror was called.
-runReasonTest: onclose().
-PASS closeEvent.code is abnormalClosure
-Code and reason test: 0
-Code and reason must be
- code : 1000
- reason: OK, Bye!
-PASS closeEvent.wasClean is true
-PASS closeEvent.code is code
-PASS closeEvent.reason is reason
-Code and reason test: 1
-Code and reason must be
- code : 3000
- reason: 3000
-PASS closeEvent.wasClean is true
-PASS closeEvent.code is code
-PASS closeEvent.reason is reason
-Code and reason test: 2
-Code and reason must be
- code : 4000
- reason: code is 4000
-PASS closeEvent.wasClean is true
-PASS closeEvent.code is code
-PASS closeEvent.reason is reason
-Code and reason test: 3
-Code and reason must be
- code : 4999
- reason: © Google
-PASS closeEvent.wasClean is true
-PASS closeEvent.code is code
-PASS closeEvent.reason is reason
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698