Enable ServiceWorkers at runtime for WebKitTestRunner.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2017 15:16:34 +0000 (15:16 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2017 15:16:34 +0000 (15:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=175174

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

* web-platform-tests/background-fetch/interfaces-expected.txt:
* web-platform-tests/background-fetch/interfaces-worker.https-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt:
* web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt:
* web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt:
* web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt:
* web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt:
* web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/general.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt:
* web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt:
* web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt:

Source/WebKit:

* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::enableAllExperimentalFeatures):

LayoutTests:

* fast/dom/navigator-detached-no-crash-expected.txt:
* platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt.
* platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt.
* platform/mac/js/dom/global-constructors-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220270 268f45cc-cd09-0410-ab3c-d52691b4dbfc

73 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt
LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt
LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebPreferences.cpp

index 8c7834d24c0054a8d2378101998668f7aa29d8fd..60205f056e3b91d87c25c3b92eab27edfa54c976 100644 (file)
@@ -1,3 +1,47 @@
+2017-08-04  Brady Eidson  <beidson@apple.com>
+
+        Enable ServiceWorkers at runtime for WebKitTestRunner.
+        https://bugs.webkit.org/show_bug.cgi?id=175174
+
+        Reviewed by Youenn Fablet.
+
+        * fast/dom/navigator-detached-no-crash-expected.txt:
+        * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt.
+        * platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt.
+        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+
 2017-08-04  Zan Dobersek  <zdobersek@igalia.com>
 
         [EME][GStreamer] Register ClearKey CDMFactory
index 811bbf73c6682cf35ee2c6e9263a1af47a64f87d..b07428d0724be768889202da0eec87efb0cc5de2 100644 (file)
@@ -15,6 +15,7 @@ navigator.plugins is OK
 navigator.product is OK
 navigator.productSub is OK
 navigator.sendBeacon() threw err TypeError: Not enough arguments
+navigator.serviceWorker is OK
 navigator.userAgent is OK
 navigator.vendor is OK
 navigator.vendorSub is OK
@@ -34,6 +35,7 @@ navigator.plugins is OK
 navigator.product is OK
 navigator.productSub is OK
 navigator.sendBeacon() threw err TypeError: Not enough arguments
+navigator.serviceWorker is OK
 navigator.userAgent is OK
 navigator.vendor is OK
 navigator.vendorSub is OK
index 41bec5d08d946af5dbef3a62dce1654dd683aaaf..34e091951e406a80a41b5fd726cb4dc62d87d493 100644 (file)
@@ -1,3 +1,44 @@
+2017-08-04  Brady Eidson  <beidson@apple.com>
+
+        Enable ServiceWorkers at runtime for WebKitTestRunner.
+        https://bugs.webkit.org/show_bug.cgi?id=175174
+
+        Reviewed by Youenn Fablet.
+
+        * web-platform-tests/background-fetch/interfaces-expected.txt:
+        * web-platform-tests/background-fetch/interfaces-worker.https-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt:
+        * web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt:
+        * web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt:
+        * web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt:
+        * web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/general.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt:
+        * web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt:
+
 2017-08-03  Chris Dumez  <cdumez@apple.com>
 
         Fix parsing of <meta http-equiv=refresh> to allow time starting with a '.' without a leading 0
index 8ed567c578a163d6d3c041a94e9b723f6f823dde..2804395932eec894942f8c234a1b7d7aa9e9c0b8 100644 (file)
@@ -4,7 +4,7 @@ This test validates the WebIDL included in the Background Fetch API (Documents).
 
 
 PASS Exposed interfaces in a Document. 
-FAIL ServiceWorkerRegistration interface: attribute backgroundFetch assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+FAIL ServiceWorkerRegistration interface: attribute backgroundFetch assert_true: The prototype object must have a property "backgroundFetch" expected true got false
 PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
 FAIL BackgroundFetchManager interface: existence and properties of interface object assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
 FAIL BackgroundFetchManager interface object length assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
index 7dbe88ec77f01b127740dc817884a786a8393f8e..04e4e5e4a2a116c271750141b8d17101a05bc622 100644 (file)
@@ -3,5 +3,5 @@ idlharness test
 This test validates the WebIDL included in the Background Fetch API (Service Workers).
 
 
-FAIL Service Worker-scoped tests. undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service Worker-scoped tests. null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 719fb5cded809bd0ec7d1551fe965f47bac9e7c3..ccffec0f17231ecb634d3198012a7e1b0f9469a3 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Fetch in service worker: referrer with no-referrer policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Fetch in service worker: referrer with no-referrer policy null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 719fb5cded809bd0ec7d1551fe965f47bac9e7c3..ccffec0f17231ecb634d3198012a7e1b0f9469a3 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Fetch in service worker: referrer with no-referrer policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Fetch in service worker: referrer with no-referrer policy null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 996305eb37907a0780aac2c4796a022bfc954446..f567354feda00379c5832ac4a40670d4942e1121 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Fetch in service worker: referrer with origin-when-cross-origin policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Fetch in service worker: referrer with origin-when-cross-origin policy null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 04e53ca8b95cf8c5dfdca447e5023434e20916b1..69e4b76e31e299524c5e55e18f6bf6ebd5fc8928 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Fetch in worker: referrer with unsafe-url policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Fetch in worker: referrer with unsafe-url policy null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index f3b8f82b690e0be8b42ee4a0bff406ed02adb22f..1436d442f0f31d5d7b55765779f6b5381d4ac780 100644 (file)
@@ -6,5 +6,5 @@ FAIL ports attribute should be a FrozenArray assert_true: ev.ports should return
 PASS initMessageEvent operation 
 PASS Passing null for ports parameter to initMessageEvent 
 PASS initMessageEvent operation default parameter values 
-FAIL Passing ServiceWorker for source member undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Passing ServiceWorker for source member null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
index 687c3139d6c6c44a01e8c90ea594161fd9b0c788..4869834be3034cb36909d3c4fd31a7764228f3e7 100644 (file)
@@ -1,3 +1,3 @@
 
-FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+FAIL Service worker test setup null is not an object (evaluating 'navigator.serviceWorker.getRegistration')
 
diff --git a/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt b/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt
new file mode 100644 (file)
index 0000000..811bbf7
--- /dev/null
@@ -0,0 +1,41 @@
+This tests that the navigator object of a deleted frame is disconnected properly. Accessing fields or methods shouldn't crash the browser. 
+ Check Navigator
+navigator.appCodeName is OK
+navigator.appName is OK
+navigator.appVersion is OK
+navigator.cookieEnabled is OK
+navigator.getStorageUpdates() is OK
+navigator.javaEnabled() is OK
+navigator.language is OK
+navigator.languages is OK
+navigator.mimeTypes is OK
+navigator.onLine is OK
+navigator.platform is OK
+navigator.plugins is OK
+navigator.product is OK
+navigator.productSub is OK
+navigator.sendBeacon() threw err TypeError: Not enough arguments
+navigator.userAgent is OK
+navigator.vendor is OK
+navigator.vendorSub is OK
+navigator.webdriver is OK
+navigator.appCodeName is OK
+navigator.appName is OK
+navigator.appVersion is OK
+navigator.cookieEnabled is OK
+navigator.getStorageUpdates() is OK
+navigator.javaEnabled() is OK
+navigator.language is OK
+navigator.languages is OK
+navigator.mimeTypes is OK
+navigator.onLine is OK
+navigator.platform is OK
+navigator.plugins is OK
+navigator.product is OK
+navigator.productSub is OK
+navigator.sendBeacon() threw err TypeError: Not enough arguments
+navigator.userAgent is OK
+navigator.vendor is OK
+navigator.vendorSub is OK
+navigator.webdriver is OK
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-expected.txt
new file mode 100644 (file)
index 0000000..8ed567c
--- /dev/null
@@ -0,0 +1,45 @@
+idlharness test
+
+This test validates the WebIDL included in the Background Fetch API (Documents).
+
+
+PASS Exposed interfaces in a Document. 
+FAIL ServiceWorkerRegistration interface: attribute backgroundFetch assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
+FAIL BackgroundFetchManager interface: existence and properties of interface object assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface object length assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface object name assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface: existence and properties of interface prototype object assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface: operation fetch(DOMString,[object Object],[object Object],BackgroundFetchOptions) assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface: operation get(DOMString) assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchManager interface: operation getTags() assert_own_property: self does not have own property "BackgroundFetchManager" expected property "BackgroundFetchManager" missing
+FAIL BackgroundFetchRegistration interface: existence and properties of interface object assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface object length assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface object name assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: existence and properties of interface prototype object assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: attribute tag assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: attribute icons assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: attribute totalDownloadSize assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: attribute title assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: attribute fetches assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchRegistration interface: operation abort() assert_own_property: self does not have own property "BackgroundFetchRegistration" expected property "BackgroundFetchRegistration" missing
+FAIL BackgroundFetchFetches interface: existence and properties of interface object assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchFetches interface object length assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchFetches interface object name assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchFetches interface: existence and properties of interface prototype object assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchFetches interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchFetches interface: attribute request assert_own_property: self does not have own property "BackgroundFetchFetches" expected property "BackgroundFetchFetches" missing
+FAIL BackgroundFetchActiveFetches interface: existence and properties of interface object assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+FAIL BackgroundFetchActiveFetches interface object length assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+FAIL BackgroundFetchActiveFetches interface object name assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+FAIL BackgroundFetchActiveFetches interface: existence and properties of interface prototype object assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+FAIL BackgroundFetchActiveFetches interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+FAIL BackgroundFetchActiveFetches interface: attribute responseReady assert_own_property: self does not have own property "BackgroundFetchActiveFetches" expected property "BackgroundFetchActiveFetches" missing
+PASS BackgroundFetchEvent interface: existence and properties of interface object 
+PASS BackgroundFetchEndEvent interface: existence and properties of interface object 
+PASS BackgroundFetchSettledFetches interface: existence and properties of interface object 
+PASS BackgroundFetchFailEvent interface: existence and properties of interface object 
+PASS BackgroundFetchClickEvent interface: existence and properties of interface object 
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/background-fetch/interfaces-worker.https-expected.txt
new file mode 100644 (file)
index 0000000..7dbe88e
--- /dev/null
@@ -0,0 +1,7 @@
+idlharness test
+
+This test validates the WebIDL included in the Background Fetch API (Service Workers).
+
+
+FAIL Service Worker-scoped tests. undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https-expected.txt
new file mode 100644 (file)
index 0000000..719fb5c
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Fetch in service worker: referrer with no-referrer policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https-expected.txt
new file mode 100644 (file)
index 0000000..719fb5c
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Fetch in service worker: referrer with no-referrer policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https-expected.txt
new file mode 100644 (file)
index 0000000..996305e
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Fetch in service worker: referrer with origin-when-cross-origin policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https-expected.txt
new file mode 100644 (file)
index 0000000..04e53ca
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Fetch in worker: referrer with unsafe-url policy undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/events/messageevent-constructor.https-expected.txt
new file mode 100644 (file)
index 0000000..f3b8f82
--- /dev/null
@@ -0,0 +1,10 @@
+
+PASS Default event values 
+PASS MessageEventInit dictionary 
+PASS Passing null for ports member 
+FAIL ports attribute should be a FrozenArray assert_true: ev.ports should return the same object expected true got false
+PASS initMessageEvent operation 
+PASS Passing null for ports parameter to initMessageEvent 
+PASS initMessageEvent operation default parameter values 
+FAIL Passing ServiceWorker for source member undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/canblock-serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/general.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/default-reader.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/floating-point-total-queue-size.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
diff --git a/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt b/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt
new file mode 100644 (file)
index 0000000..687c313
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL Service worker test setup undefined is not an object (evaluating 'navigator.serviceWorker.getRegistration')
+
index 154772730c7a886c486ace5524f28bcd7720c308..675f316eef5e2f6554167ec8a7f1e0ef04ea1496 100644 (file)
@@ -2108,6 +2108,21 @@ PASS Object.getOwnPropertyDescriptor(global, 'Selection').hasOwnProperty('get')
 PASS Object.getOwnPropertyDescriptor(global, 'Selection').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Selection').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'Selection').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorker').value is ServiceWorker
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorker').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorker').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorker').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorker').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerContainer').value is ServiceWorkerContainer
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerContainer').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerContainer').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerContainer').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerContainer').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerRegistration').value is ServiceWorkerRegistration
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerRegistration').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerRegistration').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerRegistration').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'ServiceWorkerRegistration').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Set').value is Set
 PASS Object.getOwnPropertyDescriptor(global, 'Set').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Set').hasOwnProperty('set') is false
index ab2f7857f8e8f14b4423db53843da964a481ee27..3c8126a5e96d3e454a3072921b470e3dd586b14f 100644 (file)
@@ -1,3 +1,13 @@
+2017-08-04  Brady Eidson  <beidson@apple.com>
+
+        Enable ServiceWorkers at runtime for WebKitTestRunner.
+        https://bugs.webkit.org/show_bug.cgi?id=175174
+
+        Reviewed by Youenn Fablet.
+
+        * UIProcess/WebPreferences.cpp:
+        (WebKit::WebPreferences::enableAllExperimentalFeatures):
+
 2017-08-04  John Wilander  <wilander@apple.com>
 
         Resource Load Statistics: Report user interaction immediately, but only when needed
index 6fa243695148fcc74dd4144aed28d7c91bf86594..c8232ef73b9cb940b0e5d626c2f1c0df86b07791 100644 (file)
@@ -294,14 +294,6 @@ void WebPreferences::enableAllExperimentalFeatures()
     FOR_EACH_WEBKIT_EXPERIMENTAL_FEATURE_PREFERENCE(SET_FEATURE_ENABLED)
 
 #undef SET_FEATURE_ENABLED
-
-#if ENABLE(SERVICE_WORKER)
-    // FIXME: The ServiceWorker interfaces are only stubbed out and entirely inert.
-    // Enabling the feature would cause significant, unecessary churn in layout test results.
-    // That'd be especially wasteful since we're going to reimport the SW tests imminently (https://bugs.webkit.org/show_bug.cgi?id=175053)
-    // Revisit this soon in a separate patch.
-    setServiceWorkersEnabled(false);
-#endif
 }
 
 bool WebPreferences::anyPagesAreUsingPrivateBrowsing()