Changeset 90726 in webkit


Ignore:
Timestamp:
Jul 11, 2011 12:51:22 AM (13 years ago)
Author:
yutak@chromium.org
Message:

WebSocket: Copy existing WebSocket tests
https://bugs.webkit.org/show_bug.cgi?id=64242

Reviewed by Kent Tamura.

Copy the existing WebSocket tests under http/tests/websocket/tests/hybi/ and skip them.

These tests will be used to test the latest WebSocket protocol implementation. They are skipped
in all ports for now, and will be unskipped when the new protocol implementation is landed in WebCore.

The following modifications are applied to the new tests:

  • Change paths and URLs appeared in the tests and the test results so they fit for the new location.
  • Call layoutTestController.overridePreferences() to enable the new protocol implementation.
  • http/tests/websocket/tests/hybi/alert-in-event-handler-expected.txt: Added.
  • http/tests/websocket/tests/hybi/alert-in-event-handler.html: Added.
  • http/tests/websocket/tests/hybi/bad-handshake-crash-expected.txt: Added.
  • http/tests/websocket/tests/hybi/bad-handshake-crash.html: Added.
  • http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars.html: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-empty-expected.txt: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-empty.html: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt: Added.
  • http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii.html: Added.
  • http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt: Added.
  • http/tests/websocket/tests/hybi/bufferedAmount-after-close.html: Added.
  • http/tests/websocket/tests/hybi/client-close-expected.txt: Added.
  • http/tests/websocket/tests/hybi/client-close.html: Added.
  • http/tests/websocket/tests/hybi/client-close_wsh.py: Added.
  • http/tests/websocket/tests/hybi/close-before-open-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-before-open.html: Added.
  • http/tests/websocket/tests/hybi/close-event-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-event.html: Added.
  • http/tests/websocket/tests/hybi/close-on-navigate-new-location-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-on-navigate-new-location.html: Added.
  • http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-on-unload-and-force-gc.html: Added.
  • http/tests/websocket/tests/hybi/close-on-unload-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-on-unload-reference-in-parent.html: Added.
  • http/tests/websocket/tests/hybi/close-on-unload.html: Added.
  • http/tests/websocket/tests/hybi/close-on-unload_wsh.py: Added.
  • http/tests/websocket/tests/hybi/close-unref-websocket-expected.txt: Added.
  • http/tests/websocket/tests/hybi/close-unref-websocket.html: Added.
  • http/tests/websocket/tests/hybi/cross-origin-expected.txt: Added.
  • http/tests/websocket/tests/hybi/cross-origin.html: Added.
  • http/tests/websocket/tests/hybi/echo-challenge_wsh.py: Added.
  • http/tests/websocket/tests/hybi/echo-cookie_wsh.py: Added.
  • http/tests/websocket/tests/hybi/echo-location_wsh.py: Added.
  • http/tests/websocket/tests/hybi/echo_wsh.py: Added.
  • http/tests/websocket/tests/hybi/error-detect-expected.txt: Added.
  • http/tests/websocket/tests/hybi/error-detect.html: Added.
  • http/tests/websocket/tests/hybi/fixed-origin_wsh.py: Added.
  • http/tests/websocket/tests/hybi/frame-length-longer-than-buffer-expected.txt: Added.
  • http/tests/websocket/tests/hybi/frame-length-longer-than-buffer.html: Added.
  • http/tests/websocket/tests/hybi/frame-length-longer-than-buffer_wsh.py: Added.
  • http/tests/websocket/tests/hybi/frame-length-overflow-expected.txt: Added.
  • http/tests/websocket/tests/hybi/frame-length-overflow.html: Added.
  • http/tests/websocket/tests/hybi/frame-length-overflow_wsh.py: Added.
  • http/tests/websocket/tests/hybi/frame-length-skip-expected.txt: Added.
  • http/tests/websocket/tests/hybi/frame-length-skip.html: Added.
  • http/tests/websocket/tests/hybi/frame-length-skip_wsh.py: Added.
  • http/tests/websocket/tests/hybi/frame-lengths-expected.txt: Added.
  • http/tests/websocket/tests/hybi/frame-lengths.html: Added.
  • http/tests/websocket/tests/hybi/handshake-challenge-randomness-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-challenge-randomness.html: Added.
  • http/tests/websocket/tests/hybi/handshake-error-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-error.html: Added.
  • http/tests/websocket/tests/hybi/handshake-error_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-cross-origin-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-cross-origin.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-cr.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null.html: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null_wsh.py: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-sub-protocol-mismatch-expected.txt: Added.
  • http/tests/websocket/tests/hybi/handshake-fail-by-sub-protocol-mismatch.html: Added.
  • http/tests/websocket/tests/hybi/hanging-handshake_wsh.py: Added.
  • http/tests/websocket/tests/hybi/httponly-cookie-expected.txt: Added.
  • http/tests/websocket/tests/hybi/httponly-cookie.pl: Added.
  • http/tests/websocket/tests/hybi/long-invalid-header-expected.txt: Added.
  • http/tests/websocket/tests/hybi/long-invalid-header.html: Added.
  • http/tests/websocket/tests/hybi/long-invalid-header_wsh.py: Added.
  • http/tests/websocket/tests/hybi/multiple-connections-expected.txt: Added.
  • http/tests/websocket/tests/hybi/multiple-connections.html: Added.
  • http/tests/websocket/tests/hybi/no-query_wsh.py: Added.
  • http/tests/websocket/tests/hybi/null-character-expected.txt: Added.
  • http/tests/websocket/tests/hybi/null-character.html: Added.
  • http/tests/websocket/tests/hybi/origin-test_wsh.py: Added.
  • http/tests/websocket/tests/hybi/protocol-test_wsh.py: Added.
  • http/tests/websocket/tests/hybi/reload-crash-expected.txt: Added.
  • http/tests/websocket/tests/hybi/reload-crash.html: Added.
  • http/tests/websocket/tests/hybi/resources/close-on-unload-iframe-reference-in-parent.html: Added.
  • http/tests/websocket/tests/hybi/resources/close-on-unload-iframe.html: Added.
  • http/tests/websocket/tests/hybi/resources/reload-crash-iframe.html: Added.
  • http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt: Added.
  • http/tests/websocket/tests/hybi/send-after-close-on-unload.html: Added.
  • http/tests/websocket/tests/hybi/send-expected.txt: Added.
  • http/tests/websocket/tests/hybi/send-throw-expected.txt: Added.
  • http/tests/websocket/tests/hybi/send-throw.html: Added.
  • http/tests/websocket/tests/hybi/send.html: Added.
  • http/tests/websocket/tests/hybi/send2_wsh.py: Added.
  • http/tests/websocket/tests/hybi/send_wsh.py: Added.
  • http/tests/websocket/tests/hybi/server-close-expected.txt: Added.
  • http/tests/websocket/tests/hybi/server-close.html: Added.
  • http/tests/websocket/tests/hybi/server-close_wsh.py: Added.
  • http/tests/websocket/tests/hybi/simple-expected.txt: Added.
  • http/tests/websocket/tests/hybi/simple-stress-expected.txt: Added.
  • http/tests/websocket/tests/hybi/simple-stress.html: Added.
  • http/tests/websocket/tests/hybi/simple.html: Added.
  • http/tests/websocket/tests/hybi/simple_wsh.py: Added.
  • http/tests/websocket/tests/hybi/sub-protocol-expected.txt: Added.
  • http/tests/websocket/tests/hybi/sub-protocol-with-space-expected.txt: Added.
  • http/tests/websocket/tests/hybi/sub-protocol-with-space.html: Added.
  • http/tests/websocket/tests/hybi/sub-protocol.html: Added.
  • http/tests/websocket/tests/hybi/unicode-expected.txt: Added.
  • http/tests/websocket/tests/hybi/unicode.html: Added.
  • http/tests/websocket/tests/hybi/unicode_wsh.py: Added.
  • http/tests/websocket/tests/hybi/unknown-frame-type_wsh.py: Added.
  • http/tests/websocket/tests/hybi/url-no-trailing-slash-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-no-trailing-slash.html: Added.
  • http/tests/websocket/tests/hybi/url-parsing-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-parsing.html: Added.
  • http/tests/websocket/tests/hybi/url-with-credential-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-with-credential.html: Added.
  • http/tests/websocket/tests/hybi/url-with-empty-query-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-with-empty-query.html: Added.
  • http/tests/websocket/tests/hybi/url-with-query-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-with-query-for-no-query-expected.txt: Added.
  • http/tests/websocket/tests/hybi/url-with-query-for-no-query.html: Added.
  • http/tests/websocket/tests/hybi/url-with-query.html: Added.
  • http/tests/websocket/tests/hybi/websocket-event-target-expected.txt: Added.
  • http/tests/websocket/tests/hybi/websocket-event-target.html: Added.
  • http/tests/websocket/tests/hybi/websocket-pending-activity-expected.txt: Added.
  • http/tests/websocket/tests/hybi/websocket-pending-activity.html: Added.
  • http/tests/websocket/tests/hybi/websocket-protocol-ignored-expected.txt: Added.
  • http/tests/websocket/tests/hybi/websocket-protocol-ignored.html: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-onmessage-crash-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-onmessage-crash.html: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-shared-worker-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-shared-worker.html: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-worker-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/close-in-worker.html: Added.
  • http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js: Added.

(runTests.try.ws.onopen):
(runTests.try.ws.onmessage):
(runTests.try.ws.onclose):
(runTests):

  • http/tests/websocket/tests/hybi/workers/resources/close-in-worker.js: Added.

(handleConnect.self.postMessage):
(handleConnect):
(runTests.try.ws.onopen):
(runTests.try.ws.onclose):
(runTests):

  • http/tests/websocket/tests/hybi/workers/resources/echo-challenge_wsh.py: Added.
  • http/tests/websocket/tests/hybi/workers/resources/echo_wsh.py: Added.
  • http/tests/websocket/tests/hybi/workers/resources/simple_wsh.py: Added.
  • http/tests/websocket/tests/hybi/workers/resources/worker-handshake-challenge-randomness.js: Added.

(endTest):
(runTests.try.ws1.onmessage):
(runTests.try.ws1.onclose.ws2.onmessage):
(runTests.try.ws1.onclose.ws2.onclose):
(runTests.try.ws1.onclose):
(runTests):

  • http/tests/websocket/tests/hybi/workers/resources/worker-simple.js: Added.

(handleConnect.self.postMessage):
(handleConnect):
(runTests.try.ws.onopen):
(runTests.try.ws.onmessage):
(runTests.try.ws.onclose):
(runTests):

  • http/tests/websocket/tests/hybi/workers/shared-worker-simple-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/shared-worker-simple.html: Added.
  • http/tests/websocket/tests/hybi/workers/worker-handshake-challenge-randomness-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/worker-handshake-challenge-randomness.html: Added.
  • http/tests/websocket/tests/hybi/workers/worker-simple-expected.txt: Added.
  • http/tests/websocket/tests/hybi/workers/worker-simple.html: Added.
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:

A category "failing websocket tests" is listed at the beginning of Skipped file,
but there is no such section in the lists. Thus, a new section is inserted.

  • platform/win/Skipped:
  • platform/wk2/Skipped:
Location:
trunk/LayoutTests
Files:
158 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r90725 r90726  
     12011-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
    12012011-07-11  James Robinson  <jamesr@chromium.org>
    2202
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r90725 r90726  
    212212// Unskip after implementing LayoutTestController::setDefersLoading and ::goBack.
    213213BUGWK60877 SKIP : loader/navigation-while-deferring-loads.html = FAIL
     214
     215// Skipped until new WebSocket protocol is implemented.
     216BUGWK50099 SKIP : http/tests/websocket/tests/hybi/ = PASS FAIL TIMEOUT
    214217
    215218// -----------------------------------------------------------------
  • trunk/LayoutTests/platform/gtk/Skipped

    r90723 r90726  
    15591559http/tests/inspector-enabled
    15601560inspector/
     1561
     1562# Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099
     1563http/tests/websocket/tests/hybi/
  • trunk/LayoutTests/platform/mac/Skipped

    r90723 r90726  
    387387compositing/rtl/rtl-iframe-fixed.html
    388388compositing/rtl/rtl-iframe-relative.html
     389
     390# Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099
     391http/tests/websocket/tests/hybi/
  • trunk/LayoutTests/platform/qt/Skipped

    r90723 r90726  
    19411941
    19421942# ============================================================================= #
     1943# failing websocket tests
     1944# ============================================================================= #
     1945
     1946# Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099
     1947http/tests/websocket/tests/hybi/
     1948
     1949# ============================================================================= #
    19431950# new tests without expected results
    19441951# ============================================================================= #
  • trunk/LayoutTests/platform/win/Skipped

    r90707 r90726  
    13471347# Need to implement getFormValue().
    13481348plugins/form-value.html
     1349
     1350# Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099
     1351http/tests/websocket/tests/hybi/
  • trunk/LayoutTests/platform/wk2/Skipped

    r90707 r90726  
    16141614editing/undo/undo-iframe-location-change.html
    16151615
     1616# Skipped until new WebSocket protocol is implemented. http://webkit.org/b/50099
     1617http/tests/websocket/tests/hybi/
     1618
    16161619### END OF (1) Classified failures with bug reports
    16171620########################################
Note: See TracChangeset for help on using the changeset viewer.