Commit cf5cf9f5 authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

Worker: Rebaseline web_tests for workers

Bug: 835717
Change-Id: I8b2d7808b8e5cd2c4353735f5a14958e0e263d92
Tbr: nhiroki@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/1442041Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626922}
parent 0122258c
......@@ -4129,20 +4129,10 @@ crbug.com/626703 external/wpt/css/css-ui/text-overflow-011.html [ Failure Crash
crbug.com/626703 external/wpt/html/rendering/non-replaced-elements/margin-collapsing-quirks/multicol-quirks-mode.html [ Pass Crash ]
crbug.com/626703 external/wpt/html/rendering/non-replaced-elements/margin-collapsing-quirks/multicol-standards-mode.html [ Pass Crash Failure ]
# SharedWorker are not exposed in WorkerGlobalScope.
crbug.com/850662 external/wpt/workers/baseurl/alpha/sharedworker-in-worker.html [ Failure ]
crbug.com/850662 virtual/omt-worker-fetch/external/wpt/workers/baseurl/alpha/sharedworker-in-worker.html [ Failure ]
# Android doesn't support SharedWorker.
crbug.com/154571 [ Android ] external/wpt/workers/semantics/reporting-errors/002.html [ Skip ]
crbug.com/154571 [ Android ] virtual/omt-worker-fetch/external/wpt/workers/semantics/reporting-errors/002.html [ Skip ]
# crbug.com/861564 is ongoing for module dedicated workers.
crbug.com/861564 external/wpt/workers/baseurl/alpha/xhr-in-moduleworker.html [ Failure ]
crbug.com/861564 external/wpt/workers/interfaces/WorkerGlobalScope/location/redirect-module.html [ Failure ]
crbug.com/861564 virtual/omt-worker-fetch/external/wpt/workers/baseurl/alpha/xhr-in-moduleworker.html [ Failure ]
crbug.com/861564 virtual/omt-worker-fetch/external/wpt/workers/interfaces/WorkerGlobalScope/location/redirect-module.html [ Failure ]
# Other untriaged test failures, timeouts and crashes from newly-imported WPT tests.
crbug.com/626703 external/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html [ Failure Pass ]
......@@ -4168,11 +4158,6 @@ crbug.com/910709 navigator_language/worker_navigator_language.html [ Timeout ]
# Off-the-main-thread classic worker script fetch.
# This fails because running a worker on an opaque origin is blocked.
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/opaque-origin.html [ Timeout ]
# These fail because of wrong base url.
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/baseurl/alpha/importScripts-in-worker.html [ Failure ]
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/baseurl/alpha/worker-in-worker.html [ Failure ]
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/baseurl/alpha/xhr-in-worker.html [ Failure ]
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/interfaces/WorkerGlobalScope/location/redirect.html [ Failure ]
# This fails because off-the-main-thread script loading goes through different
# loading path. Although we could remove this test. disable it for now.
crbug.com/835717 virtual/omt-worker-fetch/fast/workers/chromium/worker-crash-with-invalid-location.html [ Skip ]
......@@ -4181,9 +4166,6 @@ crbug.com/835717 virtual/omt-worker-fetch/fast/workers/chromium/worker-crash-wit
# script loading changes the order of url revocation and script fetch.
# See also crbug.com/800898.
crbug.com/835717 virtual/omt-worker-fetch/external/wpt/workers/dedicated-worker-from-blob-url.window.html [ Timeout ]
# These fail because of various reasons.
crbug.com/835717 virtual/omt-worker-fetch/http/tests/workers/worker-performance-timeline.html [ Failure ]
crbug.com/835717 virtual/omt-worker-fetch/http/tests/workers/worker-redirect.html [ Failure ]
# This fails because AllowedByNoSniff::MimeTypeAsScript() blocks the nested worker's
# worker script, because the script url has a .html file extension.
......
This is a testharness.js-based test.
FAIL Base URL in workers: new SharedWorker() assert_unreached: Got error event Reached unreachable code
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Base URL in module dedicated workers: XHR assert_equals: expected "gamma\n" but got "beta\n"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL WorkerLocation with redirects: module dedicated workers assert_equals: expected "http://web-platform.test:8001/workers/interfaces/WorkerGlobalScope/location/post-location-members.js?a" but got "http://web-platform.test:8001/workers/interfaces/WorkerGlobalScope/location/helper-redirect.py?fail"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL importScripts assert_equals: expected "gamma/script.js" but got "beta/script.js"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Base URL in workers: new Worker() assert_equals: expected "gamma" but got "beta"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL xhr-worker assert_equals: expected "gamma\n" but got "beta\n"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL WorkerLocation with redirects: classic dedicated workers assert_equals: expected "http://web-platform.test:8001/workers/interfaces/WorkerGlobalScope/location/post-location-members.js?a" but got "http://web-platform.test:8001/workers/interfaces/WorkerGlobalScope/location/helper-redirect.py?fail"
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS User Timing
FAIL Resource Timing assert_equals: expected 2 but got 3
Harness: the test ran to completion.
CONSOLE ERROR: Unsafe attempt to load URL http://localhost:8000/workers/resources/worker-redirect-target.js from frame with URL http://127.0.0.1:8000/resources/redirect.php?url=http://localhost:8000/workers/resources/worker-redirect-target.js. Domains, protocols and ports must match.
Test that loading the worker's script does not allow a cross origin redirect (bug 26146)
SUCCESS: threw exception (SecurityError: Failed to construct 'Worker': Script at 'http://localhost:8000/workers/resources/worker-target.js' cannot be accessed from origin 'http://127.0.0.1:8000'.) when attempting to cross origin while loading the worker script.
SUCCESS: threw error when attempting to redirected cross origin while loading the worker script.
DONE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment