Title: [264257] trunk/LayoutTests
Revision
264257
Author
[email protected]
Date
2020-07-10 20:44:03 -0700 (Fri, 10 Jul 2020)

Log Message

Resync web-platform-tests/notifications from upstream
https://bugs.webkit.org/show_bug.cgi?id=214206

Reviewed by Geoff Garen.

Resync web-platform-tests/notifications from upstream 859527a3513029d2.

* web-platform-tests/notifications/META.yml: Added.
* web-platform-tests/notifications/OWNERS: Removed.
* web-platform-tests/notifications/constructor-invalid.html:
* web-platform-tests/notifications/idlharness.https.any-expected.txt: Added.
* web-platform-tests/notifications/idlharness.https.any.html: Added.
* web-platform-tests/notifications/idlharness.https.any.js: Added.
* web-platform-tests/notifications/idlharness.https.any.worker-expected.txt: Added.
* web-platform-tests/notifications/idlharness.https.any.worker.html: Added.
* web-platform-tests/notifications/interfaces-expected.txt: Removed.
* web-platform-tests/notifications/interfaces.html: Removed.
* web-platform-tests/notifications/resources/w3c-import.log:
* web-platform-tests/notifications/w3c-import.log:

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,5 +1,27 @@
 2020-07-10  Chris Dumez  <[email protected]>
 
+        Resync web-platform-tests/notifications from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=214206
+
+        Reviewed by Geoff Garen.
+
+        Resync web-platform-tests/notifications from upstream 859527a3513029d2.
+
+        * web-platform-tests/notifications/META.yml: Added.
+        * web-platform-tests/notifications/OWNERS: Removed.
+        * web-platform-tests/notifications/constructor-invalid.html:
+        * web-platform-tests/notifications/idlharness.https.any-expected.txt: Added.
+        * web-platform-tests/notifications/idlharness.https.any.html: Added.
+        * web-platform-tests/notifications/idlharness.https.any.js: Added.
+        * web-platform-tests/notifications/idlharness.https.any.worker-expected.txt: Added.
+        * web-platform-tests/notifications/idlharness.https.any.worker.html: Added.
+        * web-platform-tests/notifications/interfaces-expected.txt: Removed.
+        * web-platform-tests/notifications/interfaces.html: Removed.
+        * web-platform-tests/notifications/resources/w3c-import.log:
+        * web-platform-tests/notifications/w3c-import.log:
+
+2020-07-10  Chris Dumez  <[email protected]>
+
         Resync web-platform-tests/user-timing from upstream
         https://bugs.webkit.org/show_bug.cgi?id=214208
 

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/META.yml (0 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/META.yml	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/META.yml	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1,3 @@
+spec: https://notifications.spec.whatwg.org/
+suggested_reviewers:
+  - sideshowbarker

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/OWNERS (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/OWNERS	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/OWNERS	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,4 +0,0 @@
-@chunywang
-@sideshowbarker
-@xinliux
-@ibelem

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-invalid.html (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-invalid.html	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-invalid.html	2020-07-11 03:44:03 UTC (rev 264257)
@@ -12,7 +12,7 @@
         this.set_status(this.NOTRUN, "You must allow notifications for this"
             + " origin before running this test.")
     }
-    assert_throws(new TypeError(), function() {
+    assert_throws_js(TypeError, function() {
         new Notification()
     })
 }, "Called the notification constructor with no arguments.")

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


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any-expected.txt	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1,70 @@
+
+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: member names are unique 
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique 
+PASS Notification interface: existence and properties of interface object 
+PASS Notification interface object length 
+PASS Notification interface object name 
+PASS Notification interface: existence and properties of interface prototype object 
+PASS Notification interface: existence and properties of interface prototype object's "constructor" property 
+PASS Notification interface: existence and properties of interface prototype object's @@unscopables property 
+PASS Notification interface: attribute permission 
+PASS Notification interface: operation requestPermission(optional NotificationPermissionCallback) 
+FAIL Notification interface: attribute maxActions assert_own_property: The interface object must have a property "maxActions" expected property "maxActions" missing
+PASS Notification interface: attribute onclick 
+PASS Notification interface: attribute onshow 
+PASS Notification interface: attribute onerror 
+PASS Notification interface: attribute onclose 
+PASS Notification interface: attribute title 
+PASS Notification interface: attribute dir 
+PASS Notification interface: attribute lang 
+PASS Notification interface: attribute body 
+PASS Notification interface: attribute tag 
+FAIL Notification interface: attribute image assert_true: The prototype object must have a property "image" expected true got false
+PASS Notification interface: attribute icon 
+FAIL Notification interface: attribute badge assert_true: The prototype object must have a property "badge" expected true got false
+FAIL Notification interface: attribute vibrate assert_true: The prototype object must have a property "vibrate" expected true got false
+FAIL Notification interface: attribute timestamp assert_true: The prototype object must have a property "timestamp" expected true got false
+FAIL Notification interface: attribute renotify assert_true: The prototype object must have a property "renotify" expected true got false
+FAIL Notification interface: attribute silent assert_true: The prototype object must have a property "silent" expected true got false
+FAIL Notification interface: attribute requireInteraction assert_true: The prototype object must have a property "requireInteraction" expected true got false
+FAIL Notification interface: attribute data assert_true: The prototype object must have a property "data" expected true got false
+FAIL Notification interface: attribute actions assert_true: The prototype object must have a property "actions" expected true got false
+PASS Notification interface: operation close() 
+PASS Notification must be primary interface of notification 
+PASS Stringification of notification 
+PASS Notification interface: notification must inherit property "permission" with the proper type 
+PASS Notification interface: notification must inherit property "requestPermission(optional NotificationPermissionCallback)" with the proper type 
+PASS Notification interface: calling requestPermission(optional NotificationPermissionCallback) on notification with too few arguments must throw TypeError 
+PASS Notification interface: notification must inherit property "maxActions" with the proper type 
+PASS Notification interface: notification must inherit property "onclick" with the proper type 
+PASS Notification interface: notification must inherit property "onshow" with the proper type 
+PASS Notification interface: notification must inherit property "onerror" with the proper type 
+PASS Notification interface: notification must inherit property "onclose" with the proper type 
+PASS Notification interface: notification must inherit property "title" with the proper type 
+PASS Notification interface: notification must inherit property "dir" with the proper type 
+PASS Notification interface: notification must inherit property "lang" with the proper type 
+PASS Notification interface: notification must inherit property "body" with the proper type 
+PASS Notification interface: notification must inherit property "tag" with the proper type 
+FAIL Notification interface: notification must inherit property "image" with the proper type assert_inherits: property "image" not found in prototype chain
+PASS Notification interface: notification must inherit property "icon" with the proper type 
+FAIL Notification interface: notification must inherit property "badge" with the proper type assert_inherits: property "badge" not found in prototype chain
+FAIL Notification interface: notification must inherit property "vibrate" with the proper type assert_inherits: property "vibrate" not found in prototype chain
+FAIL Notification interface: notification must inherit property "timestamp" with the proper type assert_inherits: property "timestamp" not found in prototype chain
+FAIL Notification interface: notification must inherit property "renotify" with the proper type assert_inherits: property "renotify" not found in prototype chain
+FAIL Notification interface: notification must inherit property "silent" with the proper type assert_inherits: property "silent" not found in prototype chain
+FAIL Notification interface: notification must inherit property "requireInteraction" with the proper type assert_inherits: property "requireInteraction" not found in prototype chain
+FAIL Notification interface: notification must inherit property "data" with the proper type assert_inherits: property "data" not found in prototype chain
+FAIL Notification interface: notification must inherit property "actions" with the proper type assert_inherits: property "actions" not found in prototype chain
+PASS Notification interface: notification must inherit property "close()" with the proper type 
+PASS NotificationEvent interface: existence and properties of interface object 
+FAIL ServiceWorkerRegistration interface: operation showNotification(DOMString, optional NotificationOptions) assert_own_property: interface prototype object missing non-static operation expected property "showNotification" missing
+FAIL ServiceWorkerRegistration interface: operation getNotifications(optional GetNotificationOptions) assert_own_property: interface prototype object missing non-static operation expected property "getNotifications" missing
+PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
+PASS ExtendableEvent interface: existence and properties of interface object 
+PASS WorkerGlobalScope interface: existence and properties of interface object 
+

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


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.html	2020-07-11 03:44:03 UTC (rev 264257)
@@ -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/notifications/idlharness.https.any.js (0 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.js	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.js	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1,31 @@
+// META: global=window,worker
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+'use strict';
+
+// https://notifications.spec.whatwg.org/
+
+idl_test(
+  ['notifications'],
+  ['service-workers', 'html', 'dom'],
+  idl_array => {
+    if (self.ServiceWorkerGlobalScope) {
+      idl_array.add_objects({
+        ServiceWorkerGlobalScope: ['self'],
+      });
+      // NotificationEvent could be tested here, but the constructor requires
+      // a Notification instance which cannot be created in a service worker,
+      // see below.
+    } else {
+      // While the Notification interface is exposed in service workers, the
+      // constructor (https://notifications.spec.whatwg.org/#dom-notification-notification)
+      // is defined to throw a TypeError. Therefore, we only add the object in
+      // the other scopes.
+      idl_array.add_objects({
+        Notification: ['notification'],
+      });
+      self.notification = new Notification('title');
+    }
+  }
+);

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


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.worker-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.worker-expected.txt	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1,68 @@
+
+FAIL idl_test setup promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: Notification"
+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: member names are unique 
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique 
+FAIL Notification interface: existence and properties of interface object assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface object length assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface object name assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: existence and properties of interface prototype object assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute permission assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: member requestPermission undefined is not an Object. (evaluating 'member.name in this.get_interface_object()')
+FAIL Notification interface: attribute maxActions assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute onclick assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute onshow assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute onerror assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute onclose assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute title assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute dir assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute lang assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute body assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute tag assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute image assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute icon assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute badge assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute vibrate assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute timestamp assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute renotify assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute silent assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute requireInteraction assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute data assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: attribute actions assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification interface: operation close() assert_own_property: self does not have own property "Notification" expected property "Notification" missing
+FAIL Notification must be primary interface of notification assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Stringification of notification assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "permission" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must not have property "requestPermission" assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "maxActions" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "onclick" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "onshow" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "onerror" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "onclose" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "title" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "dir" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "lang" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "body" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "tag" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "image" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "icon" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "badge" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "vibrate" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "timestamp" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "renotify" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "silent" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "requireInteraction" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification 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: notification"
+FAIL Notification interface: notification must inherit property "actions" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+FAIL Notification interface: notification must inherit property "close()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: notification"
+PASS NotificationEvent interface: existence and properties of interface object 
+FAIL ServiceWorkerRegistration interface: operation showNotification(DOMString, optional NotificationOptions) assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+FAIL ServiceWorkerRegistration interface: operation getNotifications(optional GetNotificationOptions) assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
+PASS ExtendableEvent interface: existence and properties of interface object 
+

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


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.worker.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.worker.html	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces-expected.txt (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces-expected.txt	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces-expected.txt	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,57 +0,0 @@
-
-PASS Notification interface: existence and properties of interface object 
-PASS Notification interface object length 
-PASS Notification interface object name 
-PASS Notification interface: existence and properties of interface prototype object 
-PASS Notification interface: existence and properties of interface prototype object's "constructor" property 
-PASS Notification interface: existence and properties of interface prototype object's @@unscopables property 
-PASS Notification interface: attribute permission 
-PASS Notification interface: operation requestPermission(optional NotificationPermissionCallback) 
-FAIL Notification interface: attribute maxActions assert_own_property: The interface object must have a property "maxActions" expected property "maxActions" missing
-PASS Notification interface: attribute onclick 
-PASS Notification interface: attribute onshow 
-PASS Notification interface: attribute onerror 
-PASS Notification interface: attribute onclose 
-PASS Notification interface: attribute title 
-PASS Notification interface: attribute dir 
-PASS Notification interface: attribute lang 
-PASS Notification interface: attribute body 
-PASS Notification interface: attribute tag 
-FAIL Notification interface: attribute image assert_true: The prototype object must have a property "image" expected true got false
-PASS Notification interface: attribute icon 
-FAIL Notification interface: attribute badge assert_true: The prototype object must have a property "badge" expected true got false
-FAIL Notification interface: attribute vibrate assert_true: The prototype object must have a property "vibrate" expected true got false
-FAIL Notification interface: attribute timestamp assert_true: The prototype object must have a property "timestamp" expected true got false
-FAIL Notification interface: attribute renotify assert_true: The prototype object must have a property "renotify" expected true got false
-FAIL Notification interface: attribute silent assert_true: The prototype object must have a property "silent" expected true got false
-FAIL Notification interface: attribute requireInteraction assert_true: The prototype object must have a property "requireInteraction" expected true got false
-FAIL Notification interface: attribute data assert_true: The prototype object must have a property "data" expected true got false
-FAIL Notification interface: attribute actions assert_true: The prototype object must have a property "actions" expected true got false
-PASS Notification interface: operation close() 
-PASS Notification must be primary interface of new Notification("Running idlharness.") 
-PASS Stringification of new Notification("Running idlharness.") 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "permission" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "requestPermission(optional NotificationPermissionCallback)" with the proper type 
-PASS Notification interface: calling requestPermission(optional NotificationPermissionCallback) on new Notification("Running idlharness.") with too few arguments must throw TypeError 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "maxActions" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "onclick" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "onshow" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "onerror" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "onclose" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "title" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "dir" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "lang" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "body" with the proper type 
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "tag" with the proper type 
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "image" with the proper type assert_inherits: property "image" not found in prototype chain
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "icon" with the proper type 
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "badge" with the proper type assert_inherits: property "badge" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "vibrate" with the proper type assert_inherits: property "vibrate" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "timestamp" with the proper type assert_inherits: property "timestamp" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "renotify" with the proper type assert_inherits: property "renotify" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "silent" with the proper type assert_inherits: property "silent" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "requireInteraction" with the proper type assert_inherits: property "requireInteraction" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "data" with the proper type assert_inherits: property "data" not found in prototype chain
-FAIL Notification interface: new Notification("Running idlharness.") must inherit property "actions" with the proper type assert_inherits: property "actions" not found in prototype chain
-PASS Notification interface: new Notification("Running idlharness.") must inherit property "close()" with the proper type 
-

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces.html (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces.html	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces.html	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,103 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>Notification interface IDL tests</title>
-<div id=log></div>
-<script src=""
-<script src=""
-<script src=""
-<script src=""
-<script type=text/plain class=untested>
-interface EventTarget {
-  void addEventListener(DOMString type, EventListener? callback, optional boolean capture /* = false */);
-  void removeEventListener(DOMString type, EventListener? callback, optional boolean capture /* = false */);
-  boolean dispatchEvent(Event event);
-};
-[TreatNonCallableAsNull]
-callback EventHandlerNonNull = any (Event event);
-typedef EventHandlerNonNull? EventHandler;
-</script>
-<script type=text/plain>
-[Constructor(DOMString title, optional NotificationOptions options),
- Exposed=(Window,Worker)]
-interface Notification : EventTarget {
-  static readonly attribute NotificationPermission permission;
-  [Exposed=Window] static Promise<NotificationPermission> requestPermission(optional NotificationPermissionCallback deprecatedCallback);
-
-  static readonly attribute unsigned long maxActions;
-
-  attribute EventHandler onclick;
-  attribute EventHandler onshow;
-  attribute EventHandler onerror;
-  attribute EventHandler onclose;
-
-  readonly attribute DOMString title;
-  readonly attribute NotificationDirection dir;
-  readonly attribute DOMString lang;
-  readonly attribute DOMString body;
-  readonly attribute DOMString tag;
-  readonly attribute USVString image;
-  readonly attribute USVString icon;
-  readonly attribute USVString badge;
-  [SameObject] readonly attribute FrozenArray<unsigned long> vibrate;
-  readonly attribute DOMTimeStamp timestamp;
-  readonly attribute boolean renotify;
-  readonly attribute boolean silent;
-  readonly attribute boolean requireInteraction;
-  [SameObject] readonly attribute any data;
-  [SameObject] readonly attribute FrozenArray<NotificationAction> actions;
-
-  void close();
-};
-
-dictionary NotificationOptions {
-  NotificationDirection dir = "auto";
-  DOMString lang = "";
-  DOMString body = "";
-  DOMString tag = "";
-  USVString image;
-  USVString icon;
-  USVString badge;
-  VibratePattern vibrate;
-  DOMTimeStamp timestamp;
-  boolean renotify = false;
-  boolean silent = false;
-  boolean requireInteraction = false;
-  any data = ""
-  sequence<NotificationAction> actions = [];
-};
-
-enum NotificationPermission {
-  "default",
-  "denied",
-  "granted"
-};
-
-enum NotificationDirection {
-  "auto",
-  "ltr",
-  "rtl"
-};
-
-dictionary NotificationAction {
-  required DOMString action;
-  required DOMString title;
-  USVString icon;
-};
-
-callback NotificationPermissionCallback = void (NotificationPermission permission);
-</script>
-<script>
-"use strict";
-var idlArray = new IdlArray();
-[].forEach.call(document.querySelectorAll("script[type=text\\/plain]"), function(node) {
-  if (node.className == "untested") {
-    idlArray.add_untested_idls(node.textContent);
-  } else {
-    idlArray.add_idls(node.textContent);
-  }
-});
-idlArray.add_objects({
-  Notification: ['new Notification("Running idlharness.")'],
-});
-idlArray.test();
-</script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/resources/w3c-import.log (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/resources/w3c-import.log	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/resources/w3c-import.log	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,7 +1,7 @@
 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/w3c/web-platform-tests
+	https://github.com/web-platform-tests/wpt
 
 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/w3c-import.log (264256 => 264257)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/w3c-import.log	2020-07-11 03:35:05 UTC (rev 264256)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/notifications/w3c-import.log	2020-07-11 03:44:03 UTC (rev 264257)
@@ -1,7 +1,7 @@
 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/w3c/web-platform-tests
+	https://github.com/web-platform-tests/wpt
 
 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
 
@@ -14,14 +14,14 @@
 None
 ------------------------------------------------------------------------
 List of files:
-/LayoutTests/imported/w3c/web-platform-tests/notifications/OWNERS
+/LayoutTests/imported/w3c/web-platform-tests/notifications/META.yml
 /LayoutTests/imported/w3c/web-platform-tests/notifications/common.js
 /LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-basic.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-invalid.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/event-onclose.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/event-onshow.html
+/LayoutTests/imported/w3c/web-platform-tests/notifications/idlharness.https.any.js
 /LayoutTests/imported/w3c/web-platform-tests/notifications/instance.html
-/LayoutTests/imported/w3c/web-platform-tests/notifications/interfaces.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/lang.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/permission.html
 /LayoutTests/imported/w3c/web-platform-tests/notifications/shownotification-resolve-manual.https.html

Added: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/notifications/idlharness.https.any-expected.txt (0 => 264257)


--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/notifications/idlharness.https.any-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/notifications/idlharness.https.any-expected.txt	2020-07-11 03:44:03 UTC (rev 264257)
@@ -0,0 +1,70 @@
+
+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: member names are unique 
+PASS WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique 
+PASS Notification interface: existence and properties of interface object 
+PASS Notification interface object length 
+PASS Notification interface object name 
+PASS Notification interface: existence and properties of interface prototype object 
+PASS Notification interface: existence and properties of interface prototype object's "constructor" property 
+PASS Notification interface: existence and properties of interface prototype object's @@unscopables property 
+PASS Notification interface: attribute permission 
+PASS Notification interface: operation requestPermission(optional NotificationPermissionCallback) 
+FAIL Notification interface: attribute maxActions assert_own_property: The interface object must have a property "maxActions" expected property "maxActions" missing
+PASS Notification interface: attribute onclick 
+PASS Notification interface: attribute onshow 
+PASS Notification interface: attribute onerror 
+PASS Notification interface: attribute onclose 
+PASS Notification interface: attribute title 
+PASS Notification interface: attribute dir 
+PASS Notification interface: attribute lang 
+PASS Notification interface: attribute body 
+PASS Notification interface: attribute tag 
+FAIL Notification interface: attribute image assert_true: The prototype object must have a property "image" expected true got false
+PASS Notification interface: attribute icon 
+FAIL Notification interface: attribute badge assert_true: The prototype object must have a property "badge" expected true got false
+FAIL Notification interface: attribute vibrate assert_true: The prototype object must have a property "vibrate" expected true got false
+FAIL Notification interface: attribute timestamp assert_true: The prototype object must have a property "timestamp" expected true got false
+FAIL Notification interface: attribute renotify assert_true: The prototype object must have a property "renotify" expected true got false
+FAIL Notification interface: attribute silent assert_true: The prototype object must have a property "silent" expected true got false
+FAIL Notification interface: attribute requireInteraction assert_true: The prototype object must have a property "requireInteraction" expected true got false
+FAIL Notification interface: attribute data assert_true: The prototype object must have a property "data" expected true got false
+FAIL Notification interface: attribute actions assert_true: The prototype object must have a property "actions" expected true got false
+PASS Notification interface: operation close() 
+PASS Notification must be primary interface of notification 
+PASS Stringification of notification 
+PASS Notification interface: notification must inherit property "permission" with the proper type 
+PASS Notification interface: notification must inherit property "requestPermission(optional NotificationPermissionCallback)" with the proper type 
+PASS Notification interface: calling requestPermission(optional NotificationPermissionCallback) on notification with too few arguments must throw TypeError 
+PASS Notification interface: notification must inherit property "maxActions" with the proper type 
+PASS Notification interface: notification must inherit property "onclick" with the proper type 
+PASS Notification interface: notification must inherit property "onshow" with the proper type 
+PASS Notification interface: notification must inherit property "onerror" with the proper type 
+PASS Notification interface: notification must inherit property "onclose" with the proper type 
+PASS Notification interface: notification must inherit property "title" with the proper type 
+PASS Notification interface: notification must inherit property "dir" with the proper type 
+PASS Notification interface: notification must inherit property "lang" with the proper type 
+PASS Notification interface: notification must inherit property "body" with the proper type 
+PASS Notification interface: notification must inherit property "tag" with the proper type 
+FAIL Notification interface: notification must inherit property "image" with the proper type assert_inherits: property "image" not found in prototype chain
+PASS Notification interface: notification must inherit property "icon" with the proper type 
+FAIL Notification interface: notification must inherit property "badge" with the proper type assert_inherits: property "badge" not found in prototype chain
+FAIL Notification interface: notification must inherit property "vibrate" with the proper type assert_inherits: property "vibrate" not found in prototype chain
+FAIL Notification interface: notification must inherit property "timestamp" with the proper type assert_inherits: property "timestamp" not found in prototype chain
+FAIL Notification interface: notification must inherit property "renotify" with the proper type assert_inherits: property "renotify" not found in prototype chain
+FAIL Notification interface: notification must inherit property "silent" with the proper type assert_inherits: property "silent" not found in prototype chain
+FAIL Notification interface: notification must inherit property "requireInteraction" with the proper type assert_inherits: property "requireInteraction" not found in prototype chain
+FAIL Notification interface: notification must inherit property "data" with the proper type assert_inherits: property "data" not found in prototype chain
+FAIL Notification interface: notification must inherit property "actions" with the proper type assert_inherits: property "actions" not found in prototype chain
+PASS Notification interface: notification must inherit property "close()" with the proper type 
+PASS NotificationEvent interface: existence and properties of interface object 
+FAIL ServiceWorkerRegistration interface: operation showNotification(DOMString, optional NotificationOptions) assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+FAIL ServiceWorkerRegistration interface: operation getNotifications(optional GetNotificationOptions) assert_own_property: self does not have own property "ServiceWorkerRegistration" expected property "ServiceWorkerRegistration" missing
+PASS ServiceWorkerGlobalScope interface: existence and properties of interface object 
+PASS ExtendableEvent interface: existence and properties of interface object 
+PASS WorkerGlobalScope interface: existence and properties of interface object 
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to