Changeset 90726 in webkit
- Timestamp:
- Jul 11, 2011 12:51:22 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 158 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r90725 r90726 1 2011-07-10 Yuta Kitamura <yutak@chromium.org> 2 3 WebSocket: Copy existing WebSocket tests 4 https://bugs.webkit.org/show_bug.cgi?id=64242 5 6 Reviewed by Kent Tamura. 7 8 Copy the existing WebSocket tests under http/tests/websocket/tests/hybi/ and skip them. 9 10 These tests will be used to test the latest WebSocket protocol implementation. They are skipped 11 in all ports for now, and will be unskipped when the new protocol implementation is landed in WebCore. 12 13 The following modifications are applied to the new tests: 14 - Change paths and URLs appeared in the tests and the test results so they fit for the new location. 15 - Call layoutTestController.overridePreferences() to enable the new protocol implementation. 16 17 * http/tests/websocket/tests/hybi/alert-in-event-handler-expected.txt: Added. 18 * http/tests/websocket/tests/hybi/alert-in-event-handler.html: Added. 19 * http/tests/websocket/tests/hybi/bad-handshake-crash-expected.txt: Added. 20 * http/tests/websocket/tests/hybi/bad-handshake-crash.html: Added. 21 * http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py: Added. 22 * http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt: Added. 23 * http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars.html: Added. 24 * http/tests/websocket/tests/hybi/bad-sub-protocol-empty-expected.txt: Added. 25 * http/tests/websocket/tests/hybi/bad-sub-protocol-empty.html: Added. 26 * http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt: Added. 27 * http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii.html: Added. 28 * http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt: Added. 29 * http/tests/websocket/tests/hybi/bufferedAmount-after-close.html: Added. 30 * http/tests/websocket/tests/hybi/client-close-expected.txt: Added. 31 * http/tests/websocket/tests/hybi/client-close.html: Added. 32 * http/tests/websocket/tests/hybi/client-close_wsh.py: Added. 33 * http/tests/websocket/tests/hybi/close-before-open-expected.txt: Added. 34 * http/tests/websocket/tests/hybi/close-before-open.html: Added. 35 * http/tests/websocket/tests/hybi/close-event-expected.txt: Added. 36 * http/tests/websocket/tests/hybi/close-event.html: Added. 37 * http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt: Added. 38 * http/tests/websocket/tests/hybi/close-on-navigate-new-location.html: Added. 39 * http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt: Added. 40 * http/tests/websocket/tests/hybi/close-on-unload-and-force-gc.html: Added. 41 * http/tests/websocket/tests/hybi/close-on-unload-expected.txt: Added. 42 * http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt: Added. 43 * http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent.html: Added. 44 * http/tests/websocket/tests/hybi/close-on-unload.html: Added. 45 * http/tests/websocket/tests/hybi/close-on-unload_wsh.py: Added. 46 * http/tests/websocket/tests/hybi/close-unref-websocket-expected.txt: Added. 47 * http/tests/websocket/tests/hybi/close-unref-websocket.html: Added. 48 * http/tests/websocket/tests/hybi/cross-origin-expected.txt: Added. 49 * http/tests/websocket/tests/hybi/cross-origin.html: Added. 50 * http/tests/websocket/tests/hybi/echo-challenge_wsh.py: Added. 51 * http/tests/websocket/tests/hybi/echo-cookie_wsh.py: Added. 52 * http/tests/websocket/tests/hybi/echo-location_wsh.py: Added. 53 * http/tests/websocket/tests/hybi/echo_wsh.py: Added. 54 * http/tests/websocket/tests/hybi/error-detect-expected.txt: Added. 55 * http/tests/websocket/tests/hybi/error-detect.html: Added. 56 * http/tests/websocket/tests/hybi/fixed-origin_wsh.py: Added. 57 * http/tests/websocket/tests/hybi/frame-length-longer-than-buffer-expected.txt: Added. 58 * http/tests/websocket/tests/hybi/frame-length-longer-than-buffer.html: Added. 59 * http/tests/websocket/tests/hybi/frame-length-longer-than-buffer_wsh.py: Added. 60 * http/tests/websocket/tests/hybi/frame-length-overflow-expected.txt: Added. 61 * http/tests/websocket/tests/hybi/frame-length-overflow.html: Added. 62 * http/tests/websocket/tests/hybi/frame-length-overflow_wsh.py: Added. 63 * http/tests/websocket/tests/hybi/frame-length-skip-expected.txt: Added. 64 * http/tests/websocket/tests/hybi/frame-length-skip.html: Added. 65 * http/tests/websocket/tests/hybi/frame-length-skip_wsh.py: Added. 66 * http/tests/websocket/tests/hybi/frame-lengths-expected.txt: Added. 67 * http/tests/websocket/tests/hybi/frame-lengths.html: Added. 68 * http/tests/websocket/tests/hybi/handshake-challenge-randomness-expected.txt: Added. 69 * http/tests/websocket/tests/hybi/handshake-challenge-randomness.html: Added. 70 * http/tests/websocket/tests/hybi/handshake-error-expected.txt: Added. 71 * http/tests/websocket/tests/hybi/handshake-error.html: Added. 72 * http/tests/websocket/tests/hybi/handshake-error_wsh.py: Added. 73 * http/tests/websocket/tests/hybi/handshake-fail-by-cross-origin-expected.txt: Added. 74 * http/tests/websocket/tests/hybi/handshake-fail-by-cross-origin.html: Added. 75 * http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt: Added. 76 * http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html: Added. 77 * http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py: Added. 78 * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt: Added. 79 * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html: Added. 80 * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py: Added. 81 * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt: Added. 82 * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr.html: Added. 83 * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py: Added. 84 * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt: Added. 85 * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header.html: Added. 86 * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py: Added. 87 * http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt: Added. 88 * http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null.html: Added. 89 * http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null_wsh.py: Added. 90 * http/tests/websocket/tests/hybi/handshake-fail-by-sub-protocol-mismatch-expected.txt: Added. 91 * http/tests/websocket/tests/hybi/handshake-fail-by-sub-protocol-mismatch.html: Added. 92 * http/tests/websocket/tests/hybi/hanging-handshake_wsh.py: Added. 93 * http/tests/websocket/tests/hybi/httponly-cookie-expected.txt: Added. 94 * http/tests/websocket/tests/hybi/httponly-cookie.pl: Added. 95 * http/tests/websocket/tests/hybi/long-invalid-header-expected.txt: Added. 96 * http/tests/websocket/tests/hybi/long-invalid-header.html: Added. 97 * http/tests/websocket/tests/hybi/long-invalid-header_wsh.py: Added. 98 * http/tests/websocket/tests/hybi/multiple-connections-expected.txt: Added. 99 * http/tests/websocket/tests/hybi/multiple-connections.html: Added. 100 * http/tests/websocket/tests/hybi/no-query_wsh.py: Added. 101 * http/tests/websocket/tests/hybi/null-character-expected.txt: Added. 102 * http/tests/websocket/tests/hybi/null-character.html: Added. 103 * http/tests/websocket/tests/hybi/origin-test_wsh.py: Added. 104 * http/tests/websocket/tests/hybi/protocol-test_wsh.py: Added. 105 * http/tests/websocket/tests/hybi/reload-crash-expected.txt: Added. 106 * http/tests/websocket/tests/hybi/reload-crash.html: Added. 107 * http/tests/websocket/tests/hybi/resources/close-on-unload-iframe-reference-in-parent.html: Added. 108 * http/tests/websocket/tests/hybi/resources/close-on-unload-iframe.html: Added. 109 * http/tests/websocket/tests/hybi/resources/reload-crash-iframe.html: Added. 110 * http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt: Added. 111 * http/tests/websocket/tests/hybi/send-after-close-on-unload.html: Added. 112 * http/tests/websocket/tests/hybi/send-expected.txt: Added. 113 * http/tests/websocket/tests/hybi/send-throw-expected.txt: Added. 114 * http/tests/websocket/tests/hybi/send-throw.html: Added. 115 * http/tests/websocket/tests/hybi/send.html: Added. 116 * http/tests/websocket/tests/hybi/send2_wsh.py: Added. 117 * http/tests/websocket/tests/hybi/send_wsh.py: Added. 118 * http/tests/websocket/tests/hybi/server-close-expected.txt: Added. 119 * http/tests/websocket/tests/hybi/server-close.html: Added. 120 * http/tests/websocket/tests/hybi/server-close_wsh.py: Added. 121 * http/tests/websocket/tests/hybi/simple-expected.txt: Added. 122 * http/tests/websocket/tests/hybi/simple-stress-expected.txt: Added. 123 * http/tests/websocket/tests/hybi/simple-stress.html: Added. 124 * http/tests/websocket/tests/hybi/simple.html: Added. 125 * http/tests/websocket/tests/hybi/simple_wsh.py: Added. 126 * http/tests/websocket/tests/hybi/sub-protocol-expected.txt: Added. 127 * http/tests/websocket/tests/hybi/sub-protocol-with-space-expected.txt: Added. 128 * http/tests/websocket/tests/hybi/sub-protocol-with-space.html: Added. 129 * http/tests/websocket/tests/hybi/sub-protocol.html: Added. 130 * http/tests/websocket/tests/hybi/unicode-expected.txt: Added. 131 * http/tests/websocket/tests/hybi/unicode.html: Added. 132 * http/tests/websocket/tests/hybi/unicode_wsh.py: Added. 133 * http/tests/websocket/tests/hybi/unknown-frame-type_wsh.py: Added. 134 * http/tests/websocket/tests/hybi/url-no-trailing-slash-expected.txt: Added. 135 * http/tests/websocket/tests/hybi/url-no-trailing-slash.html: Added. 136 * http/tests/websocket/tests/hybi/url-parsing-expected.txt: Added. 137 * http/tests/websocket/tests/hybi/url-parsing.html: Added. 138 * http/tests/websocket/tests/hybi/url-with-credential-expected.txt: Added. 139 * http/tests/websocket/tests/hybi/url-with-credential.html: Added. 140 * http/tests/websocket/tests/hybi/url-with-empty-query-expected.txt: Added. 141 * http/tests/websocket/tests/hybi/url-with-empty-query.html: Added. 142 * http/tests/websocket/tests/hybi/url-with-query-expected.txt: Added. 143 * http/tests/websocket/tests/hybi/url-with-query-for-no-query-expected.txt: Added. 144 * http/tests/websocket/tests/hybi/url-with-query-for-no-query.html: Added. 145 * http/tests/websocket/tests/hybi/url-with-query.html: Added. 146 * http/tests/websocket/tests/hybi/websocket-event-target-expected.txt: Added. 147 * http/tests/websocket/tests/hybi/websocket-event-target.html: Added. 148 * http/tests/websocket/tests/hybi/websocket-pending-activity-expected.txt: Added. 149 * http/tests/websocket/tests/hybi/websocket-pending-activity.html: Added. 150 * http/tests/websocket/tests/hybi/websocket-protocol-ignored-expected.txt: Added. 151 * http/tests/websocket/tests/hybi/websocket-protocol-ignored.html: Added. 152 * http/tests/websocket/tests/hybi/workers/close-in-onmessage-crash-expected.txt: Added. 153 * http/tests/websocket/tests/hybi/workers/close-in-onmessage-crash.html: Added. 154 * http/tests/websocket/tests/hybi/workers/close-in-shared-worker-expected.txt: Added. 155 * http/tests/websocket/tests/hybi/workers/close-in-shared-worker.html: Added. 156 * http/tests/websocket/tests/hybi/workers/close-in-worker-expected.txt: Added. 157 * http/tests/websocket/tests/hybi/workers/close-in-worker.html: Added. 158 * http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js: Added. 159 (runTests.try.ws.onopen): 160 (runTests.try.ws.onmessage): 161 (runTests.try.ws.onclose): 162 (runTests): 163 * http/tests/websocket/tests/hybi/workers/resources/close-in-worker.js: Added. 164 (handleConnect.self.postMessage): 165 (handleConnect): 166 (runTests.try.ws.onopen): 167 (runTests.try.ws.onclose): 168 (runTests): 169 * http/tests/websocket/tests/hybi/workers/resources/echo-challenge_wsh.py: Added. 170 * http/tests/websocket/tests/hybi/workers/resources/echo_wsh.py: Added. 171 * http/tests/websocket/tests/hybi/workers/resources/simple_wsh.py: Added. 172 * http/tests/websocket/tests/hybi/workers/resources/worker-handshake-challenge-randomness.js: Added. 173 (endTest): 174 (runTests.try.ws1.onmessage): 175 (runTests.try.ws1.onclose.ws2.onmessage): 176 (runTests.try.ws1.onclose.ws2.onclose): 177 (runTests.try.ws1.onclose): 178 (runTests): 179 * http/tests/websocket/tests/hybi/workers/resources/worker-simple.js: Added. 180 (handleConnect.self.postMessage): 181 (handleConnect): 182 (runTests.try.ws.onopen): 183 (runTests.try.ws.onmessage): 184 (runTests.try.ws.onclose): 185 (runTests): 186 * http/tests/websocket/tests/hybi/workers/shared-worker-simple-expected.txt: Added. 187 * http/tests/websocket/tests/hybi/workers/shared-worker-simple.html: Added. 188 * http/tests/websocket/tests/hybi/workers/worker-handshake-challenge-randomness-expected.txt: Added. 189 * http/tests/websocket/tests/hybi/workers/worker-handshake-challenge-randomness.html: Added. 190 * http/tests/websocket/tests/hybi/workers/worker-simple-expected.txt: Added. 191 * http/tests/websocket/tests/hybi/workers/worker-simple.html: Added. 192 * platform/chromium/test_expectations.txt: 193 * platform/gtk/Skipped: 194 * platform/mac/Skipped: 195 * platform/qt/Skipped: 196 A category "failing websocket tests" is listed at the beginning of Skipped file, 197 but there is no such section in the lists. Thus, a new section is inserted. 198 * platform/win/Skipped: 199 * platform/wk2/Skipped: 200 1 201 2011-07-11 James Robinson <jamesr@chromium.org> 2 202 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r90725 r90726 212 212 // Unskip after implementing LayoutTestController::setDefersLoading and ::goBack. 213 213 BUGWK60877 SKIP : loader/navigation-while-deferring-loads.html = FAIL 214 215 // Skipped until new WebSocket protocol is implemented. 216 BUGWK50099 SKIP : http/tests/websocket/tests/hybi/ = PASS FAIL TIMEOUT 214 217 215 218 // ----------------------------------------------------------------- -
trunk/LayoutTests/platform/gtk/Skipped
r90723 r90726 1559 1559 http/tests/inspector-enabled 1560 1560 inspector/ 1561 1562 # Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099 1563 http/tests/websocket/tests/hybi/ -
trunk/LayoutTests/platform/mac/Skipped
r90723 r90726 387 387 compositing/rtl/rtl-iframe-fixed.html 388 388 compositing/rtl/rtl-iframe-relative.html 389 390 # Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099 391 http/tests/websocket/tests/hybi/ -
trunk/LayoutTests/platform/qt/Skipped
r90723 r90726 1941 1941 1942 1942 # ============================================================================= # 1943 # failing websocket tests 1944 # ============================================================================= # 1945 1946 # Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099 1947 http/tests/websocket/tests/hybi/ 1948 1949 # ============================================================================= # 1943 1950 # new tests without expected results 1944 1951 # ============================================================================= # -
trunk/LayoutTests/platform/win/Skipped
r90707 r90726 1347 1347 # Need to implement getFormValue(). 1348 1348 plugins/form-value.html 1349 1350 # Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099 1351 http/tests/websocket/tests/hybi/ -
trunk/LayoutTests/platform/wk2/Skipped
r90707 r90726 1614 1614 editing/undo/undo-iframe-location-change.html 1615 1615 1616 # Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099 1617 http/tests/websocket/tests/hybi/ 1618 1616 1619 ### END OF (1) Classified failures with bug reports 1617 1620 ########################################
Note: See TracChangeset
for help on using the changeset viewer.