Changeset 202853 in webkit


Ignore:
Timestamp:
Jul 5, 2016 11:54:52 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

LayoutTests/imported/w3c:
Refresh WPT tests up to 03916af
https://bugs.webkit.org/show_bug.cgi?id=159420

Patch by Youenn Fablet <youenn@apple.com> on 2016-07-05
Reviewed by Alex Christensen.

Rrefreshing tests.
Used clean option to remove obsolete tests.

  • resources/ImportExpectations:
  • resources/TestRepositories:
  • web-platform-tests/XMLHttpRequest/resources/last-modified.py: Added.

(main):

  • web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
  • web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
  • web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm:
  • web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type-expected.txt: Added.
  • web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type.html: Added.
  • web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
  • web-platform-tests/XMLHttpRequest/w3c-import.log:
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-expected.txt: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-subframe.html: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts.html: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-scripts-expected.txt: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-scripts.html: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-expected.txt: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html: Added.
  • web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader.html: Added.
  • web-platform-tests/common/entities.json: Added.
  • web-platform-tests/common/form-submission.py:

(main):

  • web-platform-tests/common/w3c-import.log:
  • web-platform-tests/dom/nodes/Node-contains-xhtml-expected.txt: Removed.
  • web-platform-tests/dom/nodes/Node-contains-xhtml.xhtml: Removed.
  • web-platform-tests/dom/nodes/rootNode-expected.txt: Removed.
  • web-platform-tests/dom/nodes/rootNode.html: Removed.
  • web-platform-tests/fetch/api/basic/integrity.js:
  • web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt:
  • web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt:
  • web-platform-tests/fetch/api/basic/mode-no-cors.js:
  • web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
  • web-platform-tests/fetch/api/cors/cors-basic.js:
  • web-platform-tests/fetch/api/cors/cors-cookies-expected.txt:
  • web-platform-tests/fetch/api/cors/cors-cookies.js:
  • web-platform-tests/fetch/api/cors/cors-filtering.js:
  • web-platform-tests/fetch/api/cors/cors-multiple-origins.js:

(corsMultipleOrigins):

  • web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
  • web-platform-tests/fetch/api/cors/cors-preflight.js:

(corsPreflight):

  • web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt:
  • web-platform-tests/fetch/api/cors/cors-redirect-credentials.js:
  • web-platform-tests/fetch/api/redirect/redirect-schemes-expected.txt: Added.
  • web-platform-tests/fetch/api/redirect/redirect-schemes.html: Added.
  • web-platform-tests/fetch/api/request/request-idl.html:
  • web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-getter-expected.txt: Removed.
  • web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-getter.html: Removed.
  • web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-setter-01-expected.txt: Removed.
  • web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-setter-01.html: Removed.
  • web-platform-tests/html/dom/elements-microdata.js: Removed.
  • web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html:
  • web-platform-tests/html/semantics/embedded-content/media-elements/w3c-import.log:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled-manual.png: Removed.
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log:
  • web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
  • web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log:
  • web-platform-tests/html/semantics/forms/the-input-element/input-textselection-01-expected.txt: Removed.
  • web-platform-tests/html/semantics/forms/the-input-element/input-textselection-01.html: Removed.
  • web-platform-tests/html/syntax/html-element-list.js: Added.
  • web-platform-tests/html/syntax/w3c-import.log: Renamed from LayoutTests/imported/w3c/web-platform-tests/service-workers/service-workers/resources/w3c-import.log.
  • web-platform-tests/service-workers/service-worker/resources/test-helpers.sub.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/service-workers/service-workers/resources/test-helpers.js.

(service_worker_unregister_and_register):
(service_worker_unregister):
(service_worker_unregister_and_done):
(unreached_fulfillment):
(with_iframe.):
(wait_for_update):
(wait_for_state):
(base_path):
(test_login):
(login_https):
(websocket):
(get_websocket_url):

  • web-platform-tests/streams/OWNERS: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.https.html:
  • web-platform-tests/streams/count-queuing-strategy.https.html:
  • web-platform-tests/streams/readable-streams/bad-strategies.https.html:
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html:
  • web-platform-tests/streams/readable-streams/brand-checks.https.html:
  • web-platform-tests/streams/readable-streams/cancel.https.html:
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.https.html:
  • web-platform-tests/streams/readable-streams/garbage-collection-1-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/garbage-collection-1.html: Removed.
  • web-platform-tests/streams/readable-streams/garbage-collection-2-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/garbage-collection-2.html: Removed.
  • web-platform-tests/streams/readable-streams/garbage-collection.https.html:
  • web-platform-tests/streams/readable-streams/general.https.html:
  • web-platform-tests/streams/readable-streams/pipe-through.https.html:
  • web-platform-tests/streams/readable-streams/readable-stream-reader.https.html:
  • web-platform-tests/streams/readable-streams/tee.https.html:
  • web-platform-tests/streams/readable-streams/templated.https.html:
  • web-platform-tests/streams/w3c-import.log:

LayoutTests:
Rebasing tests

Importing tests

Refresh WPT tests up to 03916af
https://bugs.webkit.org/show_bug.cgi?id=159420

Patch by Youenn Fablet <youenn@apple.com> on 2016-07-05
Reviewed by Alex Christensen.

  • TestExpectations:
  • platform/mac/TestExpectations:
  • platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt:
Location:
trunk/LayoutTests
Files:
16 added
17 deleted
48 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202849 r202853  
     12016-07-05  Youenn Fablet  <youenn@apple.com>
     2
     3        Rebasing tests
     4
     5        Importing tests
     6
     7        Refresh WPT tests up to 03916af
     8        https://bugs.webkit.org/show_bug.cgi?id=159420
     9
     10        Reviewed by Alex Christensen.
     11
     12        * TestExpectations:
     13        * platform/mac/TestExpectations:
     14        * platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt:
     15
    1162016-07-05  Per Arne Vollan  <pvollan@apple.com>
    217
  • trunk/LayoutTests/TestExpectations

    r202825 r202853  
    269269imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/reversed-1c.html [ Skip ]
    270270imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-iframe.html [ Skip ]
     271imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-subframe.html [ Skip ]
     272imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html [ Skip ]
    271273imported/w3c/web-platform-tests/service-workers [ Skip ]
    272274
     
    314316imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-to-cors.htm [ Skip ]
    315317imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-to-non-cors.htm [ Skip ]
    316 
     318# Failing assertion with dynamic message
     319imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm [ Failure ]
    317320# Fetch Worker tests skipped until bug 156737 is resolved
    318321imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker.html [ Skip ]
     
    342345webkit.org/b/157068 imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html [ Skip ]
    343346webkit.org/b/157145 imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html [ Failure Pass ]
     347webkit.org/b/159413 imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.html [ Failure ]
    344348
    345349# New W3C ref tests that are failing.
     
    399403imported/w3c/web-platform-tests/images [ Skip ]
    400404imported/w3c/web-platform-tests/tools [ Skip ]
    401 
    402 # W3C domparsing test suite
    403 # Tests marked as pass or fail until wpt server proves to be stable enough
    404 imported/w3c/web-platform-tests/domparsing/DOMParser-parseFromString-html.html [ Pass Failure ]
    405 imported/w3c/web-platform-tests/domparsing/insert-adjacent.html [ Pass Failure ]
    406405
    407406# Imported W3C canvas failed tests
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r202681 r202853  
     12016-07-05  Youenn Fablet  <youenn@apple.com>
     2
     3        Refresh WPT tests up to 03916af
     4        https://bugs.webkit.org/show_bug.cgi?id=159420
     5
     6        Reviewed by Alex Christensen.
     7
     8        Rrefreshing tests.
     9        Used clean option to remove obsolete tests.
     10
     11        * resources/ImportExpectations:
     12        * resources/TestRepositories:
     13        * web-platform-tests/XMLHttpRequest/resources/last-modified.py: Added.
     14        (main):
     15        * web-platform-tests/XMLHttpRequest/resources/w3c-import.log:
     16        * web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
     17        * web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm:
     18        * web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type-expected.txt: Added.
     19        * web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type.html: Added.
     20        * web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
     21        * web-platform-tests/XMLHttpRequest/w3c-import.log:
     22        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-expected.txt: Added.
     23        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts-subframe.html: Added.
     24        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts.html: Added.
     25        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-scripts-expected.txt: Added.
     26        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-scripts.html: Added.
     27        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-expected.txt: Added.
     28        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html: Added.
     29        * web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader.html: Added.
     30        * web-platform-tests/common/entities.json: Added.
     31        * web-platform-tests/common/form-submission.py:
     32        (main):
     33        * web-platform-tests/common/w3c-import.log:
     34        * web-platform-tests/dom/nodes/Node-contains-xhtml-expected.txt: Removed.
     35        * web-platform-tests/dom/nodes/Node-contains-xhtml.xhtml: Removed.
     36        * web-platform-tests/dom/nodes/rootNode-expected.txt: Removed.
     37        * web-platform-tests/dom/nodes/rootNode.html: Removed.
     38        * web-platform-tests/fetch/api/basic/integrity.js:
     39        * web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt:
     40        * web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt:
     41        * web-platform-tests/fetch/api/basic/mode-no-cors.js:
     42        * web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
     43        * web-platform-tests/fetch/api/cors/cors-basic.js:
     44        * web-platform-tests/fetch/api/cors/cors-cookies-expected.txt:
     45        * web-platform-tests/fetch/api/cors/cors-cookies.js:
     46        * web-platform-tests/fetch/api/cors/cors-filtering.js:
     47        * web-platform-tests/fetch/api/cors/cors-multiple-origins.js:
     48        (corsMultipleOrigins):
     49        * web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
     50        * web-platform-tests/fetch/api/cors/cors-preflight.js:
     51        (corsPreflight):
     52        * web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt:
     53        * web-platform-tests/fetch/api/cors/cors-redirect-credentials.js:
     54        * web-platform-tests/fetch/api/redirect/redirect-schemes-expected.txt: Added.
     55        * web-platform-tests/fetch/api/redirect/redirect-schemes.html: Added.
     56        * web-platform-tests/fetch/api/request/request-idl.html:
     57        * web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-getter-expected.txt: Removed.
     58        * web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-getter.html: Removed.
     59        * web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-setter-01-expected.txt: Removed.
     60        * web-platform-tests/html/dom/documents/dom-tree-accessors/document.body-setter-01.html: Removed.
     61        * web-platform-tests/html/dom/elements-microdata.js: Removed.
     62        * web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html:
     63        * web-platform-tests/html/semantics/embedded-content/media-elements/w3c-import.log:
     64        * web-platform-tests/html/semantics/embedded-content/the-canvas-element/2d.scaled-manual.png: Removed.
     65        * web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log:
     66        * web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
     67        * web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log:
     68        * web-platform-tests/html/semantics/forms/the-input-element/input-textselection-01-expected.txt: Removed.
     69        * web-platform-tests/html/semantics/forms/the-input-element/input-textselection-01.html: Removed.
     70        * web-platform-tests/html/syntax/html-element-list.js: Added.
     71        * web-platform-tests/html/syntax/w3c-import.log: Renamed from LayoutTests/imported/w3c/web-platform-tests/service-workers/service-workers/resources/w3c-import.log.
     72        * web-platform-tests/service-workers/service-worker/resources/test-helpers.sub.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/service-workers/service-workers/resources/test-helpers.js.
     73        (service_worker_unregister_and_register):
     74        (service_worker_unregister):
     75        (service_worker_unregister_and_done):
     76        (unreached_fulfillment):
     77        (with_iframe.):
     78        (wait_for_update):
     79        (wait_for_state):
     80        (base_path):
     81        (test_login):
     82        (login_https):
     83        (websocket):
     84        (get_websocket_url):
     85        * web-platform-tests/streams/OWNERS: Added.
     86        * web-platform-tests/streams/byte-length-queuing-strategy.https.html:
     87        * web-platform-tests/streams/count-queuing-strategy.https.html:
     88        * web-platform-tests/streams/readable-streams/bad-strategies.https.html:
     89        * web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html:
     90        * web-platform-tests/streams/readable-streams/brand-checks.https.html:
     91        * web-platform-tests/streams/readable-streams/cancel.https.html:
     92        * web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.https.html:
     93        * web-platform-tests/streams/readable-streams/garbage-collection-1-expected.txt: Removed.
     94        * web-platform-tests/streams/readable-streams/garbage-collection-1.html: Removed.
     95        * web-platform-tests/streams/readable-streams/garbage-collection-2-expected.txt: Removed.
     96        * web-platform-tests/streams/readable-streams/garbage-collection-2.html: Removed.
     97        * web-platform-tests/streams/readable-streams/garbage-collection.https.html:
     98        * web-platform-tests/streams/readable-streams/general.https.html:
     99        * web-platform-tests/streams/readable-streams/pipe-through.https.html:
     100        * web-platform-tests/streams/readable-streams/readable-stream-reader.https.html:
     101        * web-platform-tests/streams/readable-streams/tee.https.html:
     102        * web-platform-tests/streams/readable-streams/templated.https.html:
     103        * web-platform-tests/streams/w3c-import.log:
     104
    11052016-06-30  Youenn Fablet  <youennf@gmail.com>
    2106
  • trunk/LayoutTests/imported/w3c/resources/ImportExpectations

    r202471 r202853  
    182182#web-platform-tests/html/syntax [ Import ]
    183183web-platform-tests/html/syntax/parsing [ Import ]
     184web-platform-tests/html/syntax/parsing/template [ Import ]
    184185web-platform-tests/html/syntax/parsing-html-fragments [ Skip ]
    185186web-platform-tests/html/syntax/serializing-html-fragments [ Skip ]
  • trunk/LayoutTests/imported/w3c/resources/TestRepositories

    r202471 r202853  
    1616        "name": "web-platform-tests",
    1717        "url": "https://github.com/w3c/web-platform-tests.git",
    18         "revision": "12b7800",
     18        "revision": "03916af",
    1919        "paths_to_skip": [
    2020            "conformance-checkers",
     
    3131            "serve.py"
    3232        ],
    33         "import_options": ["generate_git_submodules_description", "generate_gitignore"]
     33        "import_options": ["generate_git_submodules_description", "generate_gitignore", "generate_init_py"]
    3434    }
    3535]
  • trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/w3c-import.log

    r200238 r202853  
    3737/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/inspect-headers.py
    3838/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/invalid-utf8-html.py
     39/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/last-modified.py
    3940/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/redirect.py
    4041/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/resources/requri.py
  • trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt

    r197162 r202853  
    1616FAIL links assert_equals: expected (undefined) undefined but got (object) object "[object HTMLCollection]"
    1717PASS cookie
    18 FAIL lastModified set according to HTTP header assert_true: responseXML.lastModified time should be equal to time in response Last-Modified header expected true got false
     18PASS lastModified set to time of response if no HTTP header provided
     19FAIL lastModified set to related HTTP header if provided assert_equals: expected 1467730108000 but got 1467737203000
    1920PASS cookie (after setting it)
    2021PASS styleSheets
  • trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm

    r197162 r202853  
    1111    <div id="log"></div>
    1212    <script>
     13      var timePreXHR = Math.floor(new Date().getTime() / 1000);
    1314      var client = new XMLHttpRequest()
    1415      client.open("GET", "resources/well-formed.xml", false)
     
    4445
    4546      test(function() {
    46         assert_true((new Date(client.getResponseHeader('Last-Modified'))).getTime() == (new Date(client.responseXML.lastModified)).getTime(), 'responseXML.lastModified time should be equal to time in response Last-Modified header')
    47       }, 'lastModified set according to HTTP header')
     47        var lastModified = Math.floor(new Date(client.responseXML.lastModified).getTime() / 1000);
     48        var now = Math.floor(new Date().getTime() / 1000);
     49        assert_greater_than_equal(lastModified, timePreXHR);
     50        assert_less_than_equal(lastModified, now);
     51      }, 'lastModified set to time of response if no HTTP header provided')
     52
     53      test(function() {
     54        var client2 = new XMLHttpRequest()
     55        client2.open("GET", "resources/last-modified.py", false)
     56        client2.send(null)
     57        assert_equals((new Date(client2.getResponseHeader('Last-Modified'))).getTime(), (new Date(client2.responseXML.lastModified)).getTime())
     58      }, 'lastModified set to related HTTP header if provided')
    4859
    4960      test(function() {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt

    r202471 r202853  
    22
    33PASS XML document, windows-1252
     4PASS HTML document, invalid UTF-8
    45PASS HTML document, shift-jis
    5 PASS HTML document, invalid UTF-8
    66PASS plain text file
    77PASS img tag
  • trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/w3c-import.log

    r202471 r202853  
    128128/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm
    129129/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-authentication-cors-setrequestheader-no-cred.htm
     130/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-blob-with-no-mime-type.html
    130131/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-conditional.htm
    131132/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-content-type-charset.htm
     
    153154/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-infinite.htm
    154155/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-no-location.htm
     156/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm
    155157/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-to-cors.htm
    156158/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-to-non-cors.htm
     
    196198/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-defer-scripts.html
    197199/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-block-scripts.html
     200/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader-subframe.html
     201/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-sync-not-hang-scriptloader.html
    198202/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html
    199203/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/common/form-submission.py

    r202471 r202853  
    11def main(request, response):
    22    if request.headers.get('Content-Type') == 'application/x-www-form-urlencoded':
    3         if request.body == 'foo=bara':
    4             return 'OK'
    5         else:
    6             return 'FAIL'
     3        result = request.body == 'foo=bara'
    74    elif request.headers.get('Content-Type') == 'text/plain':
    8         if request.body == 'qux=baz\r\n':
    9             return 'OK'
    10         else:
    11             return 'FAIL'
     5        result = request.body == 'qux=baz\r\n'
    126    else:
    13         if request.POST.first('foo') == 'bar':
    14             return 'OK'
    15         else:
    16             return 'FAIL'
     7        result = request.POST.first('foo') == 'bar'
    178
     9    return ([("Content-Type", "text/plain")],
     10            "OK" if result else "FAIL")
  • trunk/LayoutTests/imported/w3c/web-platform-tests/common/w3c-import.log

    r202471 r202853  
    2424/LayoutTests/imported/w3c/web-platform-tests/common/canvas-tests.js
    2525/LayoutTests/imported/w3c/web-platform-tests/common/css-red.txt
     26/LayoutTests/imported/w3c/web-platform-tests/common/entities.json
    2627/LayoutTests/imported/w3c/web-platform-tests/common/form-submission.py
    2728/LayoutTests/imported/w3c/web-platform-tests/common/large.py
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/integrity.js

    r197748 r202853  
    2525
    2626var url = "../resources/top.txt";
    27 var corsUrl = "http://www1.{{host}}:{{ports[http][0]}}" + dirname(location.pathname) + RESOURCES_DIR + "top.txt";
     27var corsUrl = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "top.txt";
    2828/* Enable CORS*/
    2929corsUrl += "?pipe=header(Access-Control-Allow-Origin,*)";
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt

    r198665 r202853  
    33PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode
    44FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
    5 FAIL Fetch http://www.localhost:8800/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
     5FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
    66
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt

    r198891 r202853  
    33PASS Fetch http://localhost:8800/fetch/api/resources/top.txt with no-cors mode
    44FAIL Fetch https://localhost:9443/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
    5 FAIL Fetch http://www.localhost:8800/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
     5FAIL Fetch http://localhost:8801/fetch/api/resources/top.txt with no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Type error"
    66
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors.js

    r197748 r202853  
    2626fetchNoCors("http://{{host}}:{{ports[http][0]}}/fetch/api/resources/top.txt", false);
    2727fetchNoCors("https://{{host}}:{{ports[https][0]}}/fetch/api/resources/top.txt", true);
    28 fetchNoCors("http://{{domains[www]}}:{{ports[http][0]}}/fetch/api/resources/top.txt", true);
     28fetchNoCors("http://{{host}}:{{ports[http][1]}}/fetch/api/resources/top.txt", true);
    2929
    3030done();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt

    r200195 r202853  
    11
     2FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
     3PASS Same domain different port [server forbid CORS]
     4FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
     5FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
     6PASS Same domain different protocol different port [server forbid CORS]
     7FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    28FAIL Cross domain basic usage [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    39PASS Cross domain basic usage [server forbid CORS]
    410FAIL Cross domain basic usage [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    5 FAIL Same domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    6 PASS Same domain different port [server forbid CORS]
    7 FAIL Same domain different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    811FAIL Cross domain different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    912PASS Cross domain different port [server forbid CORS]
     
    1215PASS Cross domain different protocol [server forbid CORS]
    1316FAIL Cross domain different protocol [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    14 FAIL Same domain different protocol different port [no-cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    15 PASS Same domain different protocol different port [server forbid CORS]
    16 FAIL Same domain different protocol different port [cors mode] promise_test: Unhandled rejection with value: object "TypeError: Type error"
    1717
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.js

    r200195 r202853  
    3737}
    3838
     39cors("Same domain different port", "http", undefined, "{{ports[http][1]}}");
     40cors("Same domain different protocol different port", "https", undefined, "{{ports[https][0]}}");
    3941cors("Cross domain basic usage", "http", "www1");
    40 cors("Same domain different port", "http", undefined, "{{ports[http][1]}}");
    4142cors("Cross domain different port", "http", "www1", "{{ports[http][1]}}");
    4243cors("Cross domain different protocol", "https", "www1", "{{ports[https][0]}}");
    43 cors("Same domain different protocol different port", "https", undefined, "{{ports[https][0]}}");
    4444
    4545done();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-expected.txt

    r200195 r202853  
    11
     2FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
    23FAIL Include mode: 1 cookie promise_test: Unhandled rejection with value: object "TypeError: Type error"
    34FAIL Include mode: local cookies are not sent with remote request promise_test: Unhandled rejection with value: object "TypeError: Type error"
     
    56FAIL Include mode: remote cookies are not sent with other remote request promise_test: Unhandled rejection with value: object "TypeError: Type error"
    67FAIL Same-origin mode: cookies are discarded in cors request promise_test: Unhandled rejection with value: object "TypeError: Type error"
    7 FAIL Omit mode: no cookie sent assert_false: Request should have no cookie expected false got true
    88
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.js

    r200195 r202853  
    4949var remote1 = "www1.{{host}}";
    5050
     51corsCookies("Omit mode: no cookie sent", local, local, "omit", ["g=7"]);
    5152corsCookies("Include mode: 1 cookie", remote, remote, "include", ["a=1"]);
    5253corsCookies("Include mode: local cookies are not sent with remote request", local, remote, "include", ["c=3"]);
     
    5455corsCookies("Include mode: remote cookies are not sent with other remote request", remote, remote1, "include", ["e=5"]);
    5556corsCookies("Same-origin mode: cookies are discarded in cors request", remote, remote, "same-origin", ["f=6"]);
    56 corsCookies("Omit mode: no cookie sent", local, local, "omit", ["g=7"]);
    5757
    5858done();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering.js

    r200195 r202853  
    4141}
    4242
    43 var url = "http://www1.{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "top.txt";
     43var url = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "top.txt";
    4444
    4545corsFilter(url, "Cache-Control", "no-cache", false);
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-multiple-origins.js

    r200195 r202853  
    66function corsMultipleOrigins(desc, originList, shouldPass) {
    77  var urlParameters = "?origin=" + encodeURIComponent(originList.join(", "));
    8   var url = "http://www1.{{host}}:{{ports[http][0]}}" + dirname(location.pathname) + RESOURCES_DIR + "preflight.py";
     8  var url = "http://{{host}}:{{ports[http][1]}}" + dirname(location.pathname) + RESOURCES_DIR + "preflight.py";
    99
    1010  if (shouldPass) {
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-expected.txt

    r200195 r202853  
    11
    2 PASS Fetch: Check cors fetches requiring preflight
     2PASS CORS [DELETE], server refuses
     3PASS CORS [PUT], server refuses
     4FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
     5PASS CORS [PATCH], server refuses
     6FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
     7FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
    38
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.js

    r200309 r202853  
    2828        //Make the server allow the headers
    2929        urlParameters += "&allow_headers="
    30         urlParameters += headers.join("%2C%20");
     30        urlParameters += headers.map(function (x) { return x[0]; }).join("%2C%20");
    3131      }
    3232      promise_test(function(test) {
     
    4141            for (var i in actualHeaders)
    4242              actualHeaders[i] = actualHeaders[i].trim();
    43             for (var header in headers)
    44               assert_in_array(header, actualHeaders, "Preflight asked permission for header: " + header);
     43            for (var header of headers)
     44              assert_in_array(header[0], actualHeaders, "Preflight asked permission for header: " + header);
    4545          }
    4646        });
     
    6868corsPreflight("CORS [NEW], server refuses", corsUrl, "NEW", false);
    6969
    70 corsPreflight("CORS [GET] [x-test-header: allowed], server allows", corsUrl, "GET", true, {"x-test-header1": "allowed"});
    71 corsPreflight("CORS [GET] [x-test-header: refused], server refuses", corsUrl, "GET", false, {"x-test-header1": "refused"});
     70corsPreflight("CORS [GET] [x-test-header: allowed], server allows", corsUrl, "GET", true, [["x-test-header1", "allowed"]]);
     71corsPreflight("CORS [GET] [x-test-header: refused], server refuses", corsUrl, "GET", false, [["x-test-header1", "refused"]]);
    7272
    73 var headers = {"x-test-header1": "allowedOrRefused",
    74                "x-test-header2": "allowedOrRefused",
    75                "x-test-header3": "allowedOrRefused",
    76 };
     73var headers = [["x-test-header1", "allowedOrRefused"],
     74               ["x-test-header2", "allowedOrRefused"],
     75               ["x-test-header3", "allowedOrRefused"]];
    7776corsPreflight("CORS [GET] [several headers], server allows", corsUrl, "GET", true, headers);
    7877corsPreflight("CORS [GET] [several headers], server refuses", corsUrl, "GET", false, headers);
    7978corsPreflight("CORS [PUT] [several headers], server allows", corsUrl, "PUT", true, headers);
    8079corsPreflight("CORS [PUT] [several headers], server refuses", corsUrl, "PUT", false, headers);
    81 
    82 done();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials-expected.txt

    r200195 r202853  
    66PASS Redirect 301 from remote to same origin with user
    77PASS Redirect 301 from remote to same origin with password
     8PASS Redirect 301 from remote to same remote with user and password
     9PASS Redirect 301 from remote to same remote with user
     10PASS Redirect 301 from remote to same remote with password
    811PASS Redirect 301 from remote to another remote with user and password
    912PASS Redirect 301 from remote to another remote with user
    1013PASS Redirect 301 from remote to another remote with password
    11 PASS Redirect 301 from remote to same remote with user and password
    12 PASS Redirect 301 from remote to same remote with user
    13 PASS Redirect 301 from remote to same remote with password
    1414PASS Redirect 302 from same origin to remote with user and password
    1515PASS Redirect 302 from same origin to remote with user
     
    1818PASS Redirect 302 from remote to same origin with user
    1919PASS Redirect 302 from remote to same origin with password
     20PASS Redirect 302 from remote to same remote with user and password
     21PASS Redirect 302 from remote to same remote with user
     22PASS Redirect 302 from remote to same remote with password
    2023PASS Redirect 302 from remote to another remote with user and password
    2124PASS Redirect 302 from remote to another remote with user
    2225PASS Redirect 302 from remote to another remote with password
    23 PASS Redirect 302 from remote to same remote with user and password
    24 PASS Redirect 302 from remote to same remote with user
    25 PASS Redirect 302 from remote to same remote with password
    2626PASS Redirect 303 from same origin to remote with user and password
    2727PASS Redirect 303 from same origin to remote with user
     
    3030PASS Redirect 303 from remote to same origin with user
    3131PASS Redirect 303 from remote to same origin with password
     32PASS Redirect 303 from remote to same remote with user and password
     33PASS Redirect 303 from remote to same remote with user
     34PASS Redirect 303 from remote to same remote with password
    3235PASS Redirect 303 from remote to another remote with user and password
    3336PASS Redirect 303 from remote to another remote with user
    3437PASS Redirect 303 from remote to another remote with password
    35 PASS Redirect 303 from remote to same remote with user and password
    36 PASS Redirect 303 from remote to same remote with user
    37 PASS Redirect 303 from remote to same remote with password
    3838PASS Redirect 307 from same origin to remote with user and password
    3939PASS Redirect 307 from same origin to remote with user
     
    4242PASS Redirect 307 from remote to same origin with user
    4343PASS Redirect 307 from remote to same origin with password
     44PASS Redirect 307 from remote to same remote with user and password
     45PASS Redirect 307 from remote to same remote with user
     46PASS Redirect 307 from remote to same remote with password
    4447PASS Redirect 307 from remote to another remote with user and password
    4548PASS Redirect 307 from remote to another remote with user
    4649PASS Redirect 307 from remote to another remote with password
    47 PASS Redirect 307 from remote to same remote with user and password
    48 PASS Redirect 307 from remote to same remote with user
    49 PASS Redirect 307 from remote to same remote with password
    5050PASS Redirect 308 from same origin to remote with user and password
    5151PASS Redirect 308 from same origin to remote with user
     
    5454PASS Redirect 308 from remote to same origin with user
    5555PASS Redirect 308 from remote to same origin with password
     56PASS Redirect 308 from remote to same remote with user and password
     57PASS Redirect 308 from remote to same remote with user
     58PASS Redirect 308 from remote to same remote with password
    5659PASS Redirect 308 from remote to another remote with user and password
    5760PASS Redirect 308 from remote to another remote with user
    5861PASS Redirect 308 from remote to another remote with password
    59 PASS Redirect 308 from remote to same remote with user and password
    60 PASS Redirect 308 from remote to same remote with user
    61 PASS Redirect 308 from remote to same remote with password
    6262
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-credentials.js

    r200195 r202853  
    2121
    2222var localRedirect = "http://{{host}}:{{ports[http][0]}}" + redirPath;
    23 var remoteRedirect = "http://www1.{{host}}:{{ports[http][0]}}" + redirPath;
     23var remoteRedirect = "http://{{host}}:{{ports[http][1]}}" + redirPath;
    2424
    2525var localLocation = "http://{{host}}:{{ports[http][0]}}" + preflightPath;
    26 var remoteLocation = "http://www1.{{host}}:{{ports[http][0]}}" + preflightPath;
     26var remoteLocation = "http://{{host}}:{{ports[http][1]}}" + preflightPath;
    2727var remoteLocation2 = "http://www.{{host}}:{{ports[http][0]}}" + preflightPath;
    2828
     
    3636  corsRedirectCredentials("Redirect " + code + " from remote to same origin with password", remoteRedirect, localLocation, code, ":password");
    3737
     38  corsRedirectCredentials("Redirect " + code + " from remote to same remote with user and password", remoteRedirect, remoteLocation, code, "user:password");
     39  corsRedirectCredentials("Redirect " + code + " from remote to same remote with user", remoteRedirect, remoteLocation, code, "user:");
     40  corsRedirectCredentials("Redirect " + code + " from remote to same remote with password", remoteRedirect, remoteLocation, code, ":password");
     41
    3842  corsRedirectCredentials("Redirect " + code + " from remote to another remote with user and password", remoteRedirect, remoteLocation2, code, "user:password");
    3943  corsRedirectCredentials("Redirect " + code + " from remote to another remote with user", remoteRedirect, remoteLocation2, code, "user:");
    4044  corsRedirectCredentials("Redirect " + code + " from remote to another remote with password", remoteRedirect, remoteLocation2, code, ":password");
    41 
    42   corsRedirectCredentials("Redirect " + code + " from remote to same remote with user and password", remoteRedirect, remoteLocation, code, "user:password");
    43   corsRedirectCredentials("Redirect " + code + " from remote to same remote with user", remoteRedirect, remoteLocation, code, "user:");
    44   corsRedirectCredentials("Redirect " + code + " from remote to same remote with password", remoteRedirect, remoteLocation, code, ":password");
    4545}
    4646
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-idl.html

    r202323 r202853  
    7171      enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
    7272      enum RequestRedirect { "follow", "error", "manual" };
    73       enum ReferrerPolicy { "", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "unsafe-url" };
     73      enum ReferrerPolicy { "", "no-referrer", "no-referrer-when-downgrade", "origin-only", "origin-when-cross-origin", "unsafe-url" };
    7474    </script>
    7575    <script>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html

    r189476 r202853  
    8080    var t1 = video.addTextTrack('subtitles');
    8181    var t1_cues = t1.cues;
    82     t1.mode = 'showing';
     82    t1.mode = 'hidden';
    8383    var track = document.createElement('track');
    8484    track['default'] = true;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/w3c-import.log

    r200238 r202853  
    5656/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_initial.html
    5757/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/src_reflects_attribute_not_source_elements.html
     58/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_008.htm
    5859/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/video_volume_check.html
    5960/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/volume_nonfinite.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/w3c-import.log

    r200309 r202853  
    3838/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/fallback.multiple.html
    3939/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/fallback.nested.html
     40/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/historical.html
    4041/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/initial.colour.html
    4142/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/initial.colour.png
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt

    r202471 r202853  
    55PASS img (no src), onload, narrow
    66PASS img (no src), resize to wide
    7 FAIL img (empty src), onload, narrow assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=f63c9e60-f659-45c6-89d6-9c7fa1a0919f"
     7FAIL img (empty src), onload, narrow assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=e9f61391-d442-4103-aea8-4444a42342e7"
    88PASS img (empty src), resize to wide
    99PASS img (src only) broken image, onload, narrow
     
    2727PASS img (no src), onload, wide
    2828PASS img (no src), resize to narrow
    29 FAIL img (empty src), onload, wide assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=17214ac6-60b2-4180-9ae5-f9bbf247534c"
     29FAIL img (empty src), onload, wide assert_equals: expected "" but got "http://localhost:8800/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html?id=c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e"
    3030PASS img (empty src), resize to narrow
    3131PASS img (src only) broken image, onload, wide
     
    3737PASS img (srcset 1 cand) valid image, onload, wide
    3838PASS img (srcset 1 cand) valid image, resize to narrow
    39 FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?71-17214ac6-60b2-4180-9ae5-f9bbf247534c" but got "http://localhost:8800/images/broken.png?70-17214ac6-60b2-4180-9ae5-f9bbf247534c"
     39FAIL picture: source (max-width:500px) broken image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?71-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e" but got "http://localhost:8800/images/broken.png?70-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e"
    4040TIMEOUT picture: source (max-width:500px) broken image, img broken image, resize to narrow Test timed out
    41 FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?81-17214ac6-60b2-4180-9ae5-f9bbf247534c" but got "http://localhost:8800/images/broken.png?80-17214ac6-60b2-4180-9ae5-f9bbf247534c"
     41FAIL picture: source (max-width:500px) broken image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?81-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e" but got "http://localhost:8800/images/broken.png?80-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e"
    4242TIMEOUT picture: source (max-width:500px) broken image, img valid image, resize to narrow Test timed out
    43 FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?91-17214ac6-60b2-4180-9ae5-f9bbf247534c" but got "http://localhost:8800/images/green-1x1.png?90-17214ac6-60b2-4180-9ae5-f9bbf247534c"
     43FAIL picture: source (max-width:500px) valid image, img broken image, onload, wide assert_equals: expected "http://localhost:8800/images/broken.png?91-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e" but got "http://localhost:8800/images/green-1x1.png?90-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e"
    4444TIMEOUT picture: source (max-width:500px) valid image, img broken image, resize to narrow Test timed out
    45 FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?101-17214ac6-60b2-4180-9ae5-f9bbf247534c" but got "http://localhost:8800/images/green-1x1.png?100-17214ac6-60b2-4180-9ae5-f9bbf247534c"
     45FAIL picture: source (max-width:500px) valid image, img valid image, onload, wide assert_equals: expected "http://localhost:8800/images/green-2x2.png?101-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e" but got "http://localhost:8800/images/green-1x1.png?100-c9ab9dc7-6bed-4687-8ff7-ef8d18c8fc1e"
    4646TIMEOUT picture: source (max-width:500px) valid image, img valid image, resize to narrow Test timed out
    4747PASS picture: same URL in source (max-width:500px) and img, onload, wide
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/w3c-import.log

    r200238 r202853  
    2222/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-nameditem-02.html
    2323/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-sameobject.html
     24/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-indexed-element.html
    2425/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-nameditem.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/syntax/w3c-import.log

    r202852 r202853  
    1616------------------------------------------------------------------------
    1717List of files:
    18 /LayoutTests/imported/w3c/web-platform-tests/service-workers/service-workers/resources/test-helpers.js
     18/LayoutTests/imported/w3c/web-platform-tests/html/syntax/html-element-list.js
  • trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/resources/test-helpers.sub.js

    r202852 r202853  
    1414}
    1515
    16 function service_worker_unregister(test, documentUrl) {
    17   return navigator.serviceWorker.getRegistration(documentUrl)
     16// This unregisters the registration that precisely matches scope. Use this
     17// when unregistering by scope. If no registration is found, it just resolves.
     18function service_worker_unregister(test, scope) {
     19  var absoluteScope = (new URL(scope, window.location).href);
     20  return navigator.serviceWorker.getRegistration(scope)
    1821    .then(function(registration) {
    19         if (registration)
     22        if (registration && registration.scope === absoluteScope)
    2023          return registration.unregister();
    2124      })
     
    157160}
    158161
    159 function get_host_info() {
    160   var ORIGINAL_HOST = '127.0.0.1';
    161   var REMOTE_HOST = 'localhost';
    162   var UNAUTHENTICATED_HOST = 'example.test';
    163   var HTTP_PORT = 8000;
    164   var HTTPS_PORT = 8443;
    165   try {
    166     // In W3C test, we can get the hostname and port number in config.json
    167     // using wptserve's built-in pipe.
    168     // http://wptserve.readthedocs.org/en/latest/pipes.html#built-in-pipes
    169     HTTP_PORT = eval('{{ports[http][0]}}');
    170     HTTPS_PORT = eval('{{ports[https][0]}}');
    171     ORIGINAL_HOST = eval('\'{{host}}\'');
    172     REMOTE_HOST = 'www1.' + ORIGINAL_HOST;
    173   } catch (e) {
    174   }
    175   return {
    176     HTTP_ORIGIN: 'http://' + ORIGINAL_HOST + ':' + HTTP_PORT,
    177     HTTPS_ORIGIN: 'https://' + ORIGINAL_HOST + ':' + HTTPS_PORT,
    178     HTTP_REMOTE_ORIGIN: 'http://' + REMOTE_HOST + ':' + HTTP_PORT,
    179     HTTPS_REMOTE_ORIGIN: 'https://' + REMOTE_HOST + ':' + HTTPS_PORT,
    180     UNAUTHENTICATED_ORIGIN: 'http://' + UNAUTHENTICATED_HOST + ':' + HTTP_PORT
    181   };
    182 }
    183 
    184162function base_path() {
    185163  return location.pathname.replace(/\/[^\/]*$/, '/');
     
    189167  return new Promise(function(resolve, reject) {
    190168      with_iframe(
    191         origin +
    192         '/serviceworker/resources/fetch-access-control-login.html')
     169        origin + base_path() +
     170        'resources/fetch-access-control-login.html')
    193171        .then(test.step_func(function(frame) {
    194172            var channel = new MessageChannel();
     
    204182}
    205183
     184function test_websocket(test, frame, url) {
     185  return new Promise(function(resolve, reject) {
     186      var ws = new frame.contentWindow.WebSocket(url, ['echo', 'chat']);
     187      var openCalled = false;
     188      ws.addEventListener('open', test.step_func(function(e) {
     189          assert_equals(ws.readyState, 1, "The WebSocket should be open");
     190          openCalled = true;
     191          ws.close();
     192        }), true);
     193
     194      ws.addEventListener('close', test.step_func(function(e) {
     195          assert_true(openCalled, "The WebSocket should be closed after being opened");
     196          resolve();
     197        }), true);
     198
     199      ws.addEventListener('error', reject);
     200    });
     201}
     202
    206203function login(test) {
    207   return test_login(test, 'http://127.0.0.1:8000',
     204  return test_login(test, 'http://{{domains[www1]}}:{{ports[http][0]}}',
    208205                    'username1', 'password1', 'cookie1')
    209206    .then(function() {
    210         return test_login(test, 'http://localhost:8000',
     207        return test_login(test, 'http://{{host}}:{{ports[http][0]}}',
    211208                          'username2', 'password2', 'cookie2');
    212209      });
     
    214211
    215212function login_https(test) {
    216   return test_login(test, 'https://127.0.0.1:8443',
     213  return test_login(test, 'https://{{domains[www1]}}:{{ports[https][0]}}',
    217214                    'username1s', 'password1s', 'cookie1')
    218215    .then(function() {
    219         return test_login(test, 'https://localhost:8443',
     216        return test_login(test, 'https://{{host}}:{{ports[https][0]}}',
    220217                          'username2s', 'password2s', 'cookie2');
    221218      });
    222219}
     220
     221function websocket(test, frame) {
     222  return test_websocket(test, frame, get_websocket_url());
     223}
     224
     225function get_websocket_url() {
     226  return 'wss://{{host}}:{{ports[wss][0]}}/echo';
     227}
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https.html

    r197162 r202853  
    33<script src="/resources/testharness.js"></script>
    44<script src="/resources/testharnessreport.js"></script>
    5 <script src="/service-workers/service-workers/resources/test-helpers.js"></script>
     5<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
    66<script src="../resources/test-initializer.js"></script>
    77
  • trunk/LayoutTests/imported/w3c/web-platform-tests/streams/w3c-import.log

    r200238 r202853  
    1616------------------------------------------------------------------------
    1717List of files:
     18/LayoutTests/imported/w3c/web-platform-tests/streams/OWNERS
    1819/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.https.html
    1920/LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.js
  • trunk/LayoutTests/platform/mac/TestExpectations

    r202837 r202853  
    12661266webkit.org/b/150823 imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-chunked-trailer.htm [ Pass Failure ]
    12671267
    1268 webkit.org/b/152436 [ Debug ] imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.https.html [ Pass Crash ]
    1269 webkit.org/b/153781 [ Debug ] imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection-1.html [ Pass Crash ]
    1270 webkit.org/b/153781 [ Debug ] imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection-2.html [ Pass Crash ]
    1271 
    12721268# WOFF2 is only supported on certain Operating Systems.
    12731269webkit.org/b/150830 [ Yosemite ElCapitan ] fast/text/woff2.html [ ImageOnlyFailure ]
  • trunk/LayoutTests/platform/wk2/imported/w3c/web-platform-tests/html/semantics/document-metadata/styling/LinkStyle-expected.txt

    r200309 r202853  
    22FAIL The LinkStyle interface's sheet attribute must return null; the disabled attribute must be false assert_equals: The sheet attribute of style2 should be null. expected null but got object "[object CSSStyleSheet]"
    33PASS The LinkStyle interface's sheet attribute must return null if the corresponding element is not in a Document
    4 FAIL The LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute assert_true: The sheet attribute of style6 should be a StyleSheet object. expected true got false
     4PASS The LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute
    55PASS The title must be the same as the value of the element's title content attribute
    66PASS The media must be the same as the value of the element's media content attribute, or the empty string if it is omitted
Note: See TracChangeset for help on using the changeset viewer.