Title: [283303] trunk/LayoutTests
Revision
283303
Author
[email protected]
Date
2021-09-29 22:41:18 -0700 (Wed, 29 Sep 2021)

Log Message

Import WPT push api tests
https://bugs.webkit.org/show_bug.cgi?id=230945

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

* resources/import-expectations.json:
* web-platform-tests/push-api/META.yml: Added.
* web-platform-tests/push-api/idlharness.https.any-expected.txt: Added.
* web-platform-tests/push-api/idlharness.https.any.html: Added.
* web-platform-tests/push-api/idlharness.https.any.js: Added.
* web-platform-tests/push-api/idlharness.https.any.serviceworker-expected.txt: Added.
* web-platform-tests/push-api/idlharness.https.any.serviceworker.html: Added.
* web-platform-tests/push-api/idlharness.https.any.worker-expected.txt: Added.
* web-platform-tests/push-api/idlharness.https.any.worker.html: Added.
* web-platform-tests/push-api/w3c-import.log: Added.

LayoutTests:

* platform/mac-wk1/TestExpectations:
Skip tests in WK1

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (283302 => 283303)


--- trunk/LayoutTests/ChangeLog	2021-09-30 05:39:59 UTC (rev 283302)
+++ trunk/LayoutTests/ChangeLog	2021-09-30 05:41:18 UTC (rev 283303)
@@ -1,5 +1,15 @@
 2021-09-29  Youenn Fablet  <[email protected]>
 
+        Import WPT push api tests
+        https://bugs.webkit.org/show_bug.cgi?id=230945
+
+        Reviewed by Alex Christensen.
+
+        * platform/mac-wk1/TestExpectations:
+        Skip tests in WK1
+
+2021-09-29  Youenn Fablet  <[email protected]>
+
         Import WPT notification service worker test
         https://bugs.webkit.org/show_bug.cgi?id=230944
 

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (283302 => 283303)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2021-09-30 05:39:59 UTC (rev 283302)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2021-09-30 05:41:18 UTC (rev 283303)
@@ -1,5 +1,23 @@
 2021-09-29  Youenn Fablet  <[email protected]>
 
+        Import WPT push api tests
+        https://bugs.webkit.org/show_bug.cgi?id=230945
+
+        Reviewed by Alex Christensen.
+
+        * resources/import-expectations.json:
+        * web-platform-tests/push-api/META.yml: Added.
+        * web-platform-tests/push-api/idlharness.https.any-expected.txt: Added.
+        * web-platform-tests/push-api/idlharness.https.any.html: Added.
+        * web-platform-tests/push-api/idlharness.https.any.js: Added.
+        * web-platform-tests/push-api/idlharness.https.any.serviceworker-expected.txt: Added.
+        * web-platform-tests/push-api/idlharness.https.any.serviceworker.html: Added.
+        * web-platform-tests/push-api/idlharness.https.any.worker-expected.txt: Added.
+        * web-platform-tests/push-api/idlharness.https.any.worker.html: Added.
+        * web-platform-tests/push-api/w3c-import.log: Added.
+
+2021-09-29  Youenn Fablet  <[email protected]>
+
         Import WPT notification service worker test
         https://bugs.webkit.org/show_bug.cgi?id=230944
 

Modified: trunk/LayoutTests/imported/w3c/resources/import-expectations.json (283302 => 283303)


--- trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2021-09-30 05:39:59 UTC (rev 283302)
+++ trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2021-09-30 05:41:18 UTC (rev 283303)
@@ -390,6 +390,7 @@
     "web-platform-tests/presentation-api": "skip", 
     "web-platform-tests/progress-events": "skip", 
     "web-platform-tests/proximity": "skip", 
+    "web-platform-tests/push-api": "import", 
     "web-platform-tests/quirks-mode": "skip", 
     "web-platform-tests/quirks/unitless-length": "import", 
     "web-platform-tests/referrer-policy": "import", 

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/META.yml (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/META.yml	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/META.yml	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,3 @@
+spec: https://w3c.github.io/push-api/
+suggested_reviewers:
+  - beverloo

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any-expected.txt (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any-expected.txt	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,53 @@
+
+PASS idl_test setup
+PASS idl_test validation
+PASS Partial interface ServiceWorkerRegistration: original interface defined
+PASS Partial interface ServiceWorkerRegistration: member names are unique
+PASS Partial interface ServiceWorkerGlobalScope: original interface defined
+PASS Partial interface ServiceWorkerGlobalScope: valid exposure set
+PASS Partial interface ServiceWorkerGlobalScope: member names are unique
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
+FAIL PushManager interface: existence and properties of interface object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object length assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object name assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: attribute supportedContentEncodings assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation subscribe(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation getSubscription() assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation permissionState(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager must be primary interface of registration.pushManager assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL Stringification of registration.pushManager assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "supportedContentEncodings" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "subscribe(optional PushSubscriptionOptionsInit)" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: calling subscribe(optional PushSubscriptionOptionsInit) on registration.pushManager with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "getSubscription()" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "permissionState(optional PushSubscriptionOptionsInit)" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: calling permissionState(optional PushSubscriptionOptionsInit) on registration.pushManager with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushSubscriptionOptions interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object length assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object name assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute userVisibleOnly assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute applicationServerKey assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscription interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object length assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object name assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute endpoint assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute expirationTime assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute options assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation getKey(PushEncryptionKeyName) assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation unsubscribe() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation toJSON() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+PASS PushMessageData interface: existence and properties of interface object
+PASS PushEvent interface: existence and properties of interface object
+PASS PushSubscriptionChangeEvent interface: existence and properties of interface object
+FAIL ServiceWorkerRegistration interface: attribute pushManager assert_true: The prototype object must have a property "pushManager" expected true got false
+FAIL ServiceWorkerRegistration interface: registration must inherit property "pushManager" with the proper type assert_inherits: property "pushManager" not found in prototype chain
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.html (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.html	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.js (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.js	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.js	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,43 @@
+// META: global=window,worker
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+// META: script=/service-workers/service-worker/resources/test-helpers.sub.js
+// META: timeout=long
+
+// https://w3c.github.io/push-api/
+
+idl_test(
+  ['push-api'],
+  ['service-workers', 'html', 'dom'],
+  async (idl_array, t) => {
+    const isServiceWorker = 'ServiceWorkerGlobalScope' in self
+      && self instanceof ServiceWorkerGlobalScope;
+    if (isServiceWorker) {
+      idl_array.add_objects({
+        ServiceWorkerGlobalScope: ['self'],
+        PushEvent: ['new PushEvent("type")'],
+        PushSubscriptionChangeEvent: [
+          'new PushSubscriptionChangeEvent("pushsubscriptionchange")'
+        ],
+      })
+    }
+    if (GLOBAL.isWindow() || isServiceWorker) {
+      idl_array.add_objects({
+        // self.registration set for window below, and registration is already
+        // part of ServiceWorkerGlobalScope.
+        ServiceWorkerRegistration: ['registration'],
+        PushManager: ['registration.pushManager'],
+      });
+    }
+
+    if (GLOBAL.isWindow()) {
+      const scope = '/service-workers/service-worker/resources/';
+      const worker = `${scope}empty-worker.js`;
+      return service_worker_unregister_and_register(t, worker, scope)
+        .then(registration => {
+          self.registration = registration;
+          t.add_cleanup(function () { registration.unregister(); });
+        });
+    }
+  }
+);

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker-expected.txt (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker-expected.txt	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,86 @@
+
+PASS idl_test setup
+PASS idl_test validation
+PASS Partial interface ServiceWorkerRegistration: original interface defined
+PASS Partial interface ServiceWorkerRegistration: member names are unique
+PASS Partial interface ServiceWorkerGlobalScope: original interface defined
+PASS Partial interface ServiceWorkerGlobalScope: valid exposure set
+PASS Partial interface ServiceWorkerGlobalScope: member names are unique
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
+FAIL PushManager interface: existence and properties of interface object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object length assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object name assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: attribute supportedContentEncodings assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation subscribe(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation getSubscription() assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation permissionState(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager must be primary interface of registration.pushManager assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL Stringification of registration.pushManager assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "supportedContentEncodings" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "subscribe(optional PushSubscriptionOptionsInit)" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: calling subscribe(optional PushSubscriptionOptionsInit) on registration.pushManager with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "getSubscription()" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: registration.pushManager must inherit property "permissionState(optional PushSubscriptionOptionsInit)" with the proper type assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushManager interface: calling permissionState(optional PushSubscriptionOptionsInit) on registration.pushManager with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL PushSubscriptionOptions interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object length assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object name assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute userVisibleOnly assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute applicationServerKey assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscription interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object length assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object name assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute endpoint assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute expirationTime assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute options assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation getKey(PushEncryptionKeyName) assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation unsubscribe() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation toJSON() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushMessageData interface: existence and properties of interface object assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface object length assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface object name assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: operation arrayBuffer() assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: operation blob() assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: operation json() assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushMessageData interface: operation text() assert_own_property: self does not have own property "PushMessageData" expected property "PushMessageData" missing
+FAIL PushEvent interface: existence and properties of interface object assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface object length assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface object name assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent interface: attribute data assert_own_property: self does not have own property "PushEvent" expected property "PushEvent" missing
+FAIL PushEvent must be primary interface of new PushEvent("type") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushEvent"
+FAIL Stringification of new PushEvent("type") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushEvent"
+FAIL PushEvent interface: new PushEvent("type") must inherit property "data" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushEvent"
+FAIL PushSubscriptionChangeEvent interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface object length assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface object name assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface: attribute newSubscription assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent interface: attribute oldSubscription assert_own_property: self does not have own property "PushSubscriptionChangeEvent" expected property "PushSubscriptionChangeEvent" missing
+FAIL PushSubscriptionChangeEvent must be primary interface of new PushSubscriptionChangeEvent("pushsubscriptionchange") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushSubscriptionChangeEvent"
+FAIL Stringification of new PushSubscriptionChangeEvent("pushsubscriptionchange") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushSubscriptionChangeEvent"
+FAIL PushSubscriptionChangeEvent interface: new PushSubscriptionChangeEvent("pushsubscriptionchange") must inherit property "newSubscription" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushSubscriptionChangeEvent"
+FAIL PushSubscriptionChangeEvent interface: new PushSubscriptionChangeEvent("pushsubscriptionchange") must inherit property "oldSubscription" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: PushSubscriptionChangeEvent"
+FAIL ServiceWorkerRegistration interface: attribute pushManager assert_true: The prototype object must have a property "pushManager" expected true got false
+FAIL ServiceWorkerRegistration interface: registration must inherit property "pushManager" with the proper type assert_inherits: property "pushManager" not found in prototype chain
+FAIL ServiceWorkerGlobalScope interface: attribute onpush assert_own_property: The global object must have a property "onpush" expected property "onpush" missing
+FAIL ServiceWorkerGlobalScope interface: attribute onpushsubscriptionchange assert_own_property: The global object must have a property "onpushsubscriptionchange" expected property "onpushsubscriptionchange" missing
+FAIL ServiceWorkerGlobalScope interface: self must inherit property "onpush" with the proper type assert_own_property: expected property "onpush" missing
+FAIL ServiceWorkerGlobalScope interface: self must inherit property "onpushsubscriptionchange" with the proper type assert_own_property: expected property "onpushsubscriptionchange" missing
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker.html (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.serviceworker.html	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker-expected.txt (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker-expected.txt	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,44 @@
+
+PASS idl_test setup
+PASS idl_test validation
+PASS Partial interface ServiceWorkerRegistration: original interface defined
+PASS Partial interface ServiceWorkerRegistration: member names are unique
+PASS Partial interface ServiceWorkerGlobalScope: original interface defined
+PASS Partial interface ServiceWorkerGlobalScope: valid exposure set
+PASS Partial interface ServiceWorkerGlobalScope: member names are unique
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
+FAIL PushManager interface: existence and properties of interface object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object length assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface object name assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: attribute supportedContentEncodings assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation subscribe(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation getSubscription() assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushManager interface: operation permissionState(optional PushSubscriptionOptionsInit) assert_own_property: self does not have own property "PushManager" expected property "PushManager" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object length assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface object name assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute userVisibleOnly assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscriptionOptions interface: attribute applicationServerKey assert_own_property: self does not have own property "PushSubscriptionOptions" expected property "PushSubscriptionOptions" missing
+FAIL PushSubscription interface: existence and properties of interface object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object length assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface object name assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute endpoint assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute expirationTime assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: attribute options assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation getKey(PushEncryptionKeyName) assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation unsubscribe() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+FAIL PushSubscription interface: operation toJSON() assert_own_property: self does not have own property "PushSubscription" expected property "PushSubscription" missing
+PASS PushMessageData interface: existence and properties of interface object
+PASS PushEvent interface: existence and properties of interface object
+PASS PushSubscriptionChangeEvent interface: existence and properties of interface object
+FAIL ServiceWorkerRegistration interface: attribute pushManager assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker.html (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.worker.html	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/w3c-import.log (0 => 283303)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/w3c-import.log	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/push-api/w3c-import.log	2021-09-30 05:41:18 UTC (rev 283303)
@@ -0,0 +1,18 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+	https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/push-api/META.yml
+/LayoutTests/imported/w3c/web-platform-tests/push-api/idlharness.https.any.js

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (283302 => 283303)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-09-30 05:39:59 UTC (rev 283302)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-09-30 05:41:18 UTC (rev 283303)
@@ -357,6 +357,7 @@
 imported/w3c/web-platform-tests/fetch/cross-origin-resource-policy [ Skip ]
 imported/w3c/web-platform-tests/fetch/range/sw.https.window.html [ Skip ]
 imported/w3c/web-platform-tests/server-timing/service_worker_idl.html [ Skip ]
+imported/w3c/web-platform-tests/push-api [ Skip ]
 imported/w3c/web-platform-tests/service-workers [ Skip ]
 imported/w3c/web-platform-tests/infrastructure/server/context.any.serviceworker.html [ Skip ]
 imported/w3c/web-platform-tests/infrastructure/server/secure-context.https.any.serviceworker.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to