Commit 12a9d98a authored by Daniel Clark's avatar Daniel Clark Committed by Commit Bot

Re-enable the non-virtual version of json-module-service-worker-test

The non-virtual version of
external/wpt/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.tentative
fails by-design without --enable-features=JSONModules, but it's missing
the expectations file for this failure and is instead disabled in
TestExpectations.

This CR adds the expectations file so that the disable in
VirtualTestSuites can be removed, and crbug.com/967018, which is
actually the implementation bug for Synthetic Modules, can be resolved
(which should have happened a while back when we finished that feature).


Bug: 967018
Change-Id: I8046fc66861e077f5d5d9515118f19ac768aec0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466204Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#816610}
parent ec9bd043
...@@ -5725,9 +5725,6 @@ crbug.com/907125 external/wpt/lifecycle/child-out-of-viewport.tentative.html [ T ...@@ -5725,9 +5725,6 @@ crbug.com/907125 external/wpt/lifecycle/child-out-of-viewport.tentative.html [ T
crbug.com/907125 external/wpt/lifecycle/child-display-none.tentative.html [ Timeout Failure ] crbug.com/907125 external/wpt/lifecycle/child-display-none.tentative.html [ Timeout Failure ]
crbug.com/907125 external/wpt/lifecycle/worker-dispay-none.tentative.html [ Timeout Failure ] crbug.com/907125 external/wpt/lifecycle/worker-dispay-none.tentative.html [ Timeout Failure ]
# Tests that json modules load correctly within the context of service workers
crbug.com/967018 external/wpt/html/semantics/scripting-1/the-script-element/json-module/json-module-service-worker-test.https.tentative.html [ Failure ]
# Sheriff 2019-11-04 # Sheriff 2019-11-04
# Updated by Sheriff on 2020-05-29: flaky on all platforms. # Updated by Sheriff on 2020-05-29: flaky on all platforms.
crbug.com/1084441 media/controls/video-overlay-cast-dark-rendering.html [ Pass Failure ] crbug.com/1084441 media/controls/video-overlay-cast-dark-rendering.html [ Pass Failure ]
......
This is a testharness.js-based test.
FAIL Javascript importing JSON Module should load within the context of a service worker promise_test: Unhandled rejection with value: object "AbortError: Failed to register a ServiceWorker for scope ('https://web-platform.test:8444/html/semantics/scripting-1/the-script-element/json-module/') with script ('https://web-platform.test:8444/html/semantics/scripting-1/the-script-element/json-module/serviceworker.js'): ServiceWorker cannot be started"
FAIL JSON Modules should load within the context of a service worker promise_test: Unhandled rejection with value: object "SecurityError: Failed to register a ServiceWorker for scope ('https://web-platform.test:8444/html/semantics/scripting-1/the-script-element/json-module/') with script ('https://web-platform.test:8444/html/semantics/scripting-1/the-script-element/json-module/module.json'): The script has an unsupported MIME type ('application/json')."
PASS JSON Module dynamic import should not load within the context of a service worker
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Javascript importing JSON Module should load within the context of a service worker
PASS JSON Modules should load within the context of a service worker
PASS JSON Module dynamic import should not load within the context of a service worker
Harness: the test ran to completion.
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