Changeset 216979 in webkit


Ignore:
Timestamp:
May 17, 2017 10:23:20 AM (7 years ago)
Author:
Chris Dumez
Message:

Import Notification tests from web-platform-tests
https://bugs.webkit.org/show_bug.cgi?id=172196

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

  • resources/import-expectations.json:
  • web-platform-tests/notifications/OWNERS: Added.
  • web-platform-tests/notifications/common.js: Added.

(createPassFail):
(clearPassFail):
(closeNotifications):
(hasNotificationPermission):

  • web-platform-tests/notifications/constructor-basic-expected.txt: Added.
  • web-platform-tests/notifications/constructor-basic.html: Added.
  • web-platform-tests/notifications/constructor-invalid-expected.txt: Added.
  • web-platform-tests/notifications/constructor-invalid.html: Added.
  • web-platform-tests/notifications/event-onclose-expected.txt: Added.
  • web-platform-tests/notifications/event-onclose.html: Added.
  • web-platform-tests/notifications/event-onshow-expected.txt: Added.
  • web-platform-tests/notifications/event-onshow.html: Added.
  • web-platform-tests/notifications/instance-expected.txt: Added.
  • web-platform-tests/notifications/instance.html: Added.
  • web-platform-tests/notifications/interfaces-expected.txt: Added.
  • web-platform-tests/notifications/interfaces.html: Added.
  • web-platform-tests/notifications/lang-expected.txt: Added.
  • web-platform-tests/notifications/lang.html: Added.
  • web-platform-tests/notifications/permission-expected.txt: Added.
  • web-platform-tests/notifications/permission.html: Added.
  • web-platform-tests/notifications/resources/icon.png: Added.
  • web-platform-tests/notifications/resources/shownotification-sw.js: Added.

(self.onmessage.event.then):

  • web-platform-tests/notifications/resources/w3c-import.log: Added.
  • web-platform-tests/notifications/shownotification-resolve-manual.https-expected.txt: Added.
  • web-platform-tests/notifications/shownotification-resolve-manual.https.html: Added.
  • web-platform-tests/notifications/w3c-import.log: Added.

LayoutTests:

  • resources/testharnessreport.js:

Allow notifications as this is a pre-requirement for web-platform-tests.

Location:
trunk/LayoutTests
Files:
24 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r216978 r216979  
     12017-05-17  Chris Dumez  <cdumez@apple.com>
     2
     3        Import Notification tests from web-platform-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=172196
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * resources/testharnessreport.js:
     9        Allow notifications as this is a pre-requirement for web-platform-tests.
     10
    1112017-05-17  Ryosuke Niwa  <rniwa@webkit.org>
    212
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r216975 r216979  
     12017-05-17  Chris Dumez  <cdumez@apple.com>
     2
     3        Import Notification tests from web-platform-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=172196
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * resources/import-expectations.json:
     9        * web-platform-tests/notifications/OWNERS: Added.
     10        * web-platform-tests/notifications/common.js: Added.
     11        (createPassFail):
     12        (clearPassFail):
     13        (closeNotifications):
     14        (hasNotificationPermission):
     15        * web-platform-tests/notifications/constructor-basic-expected.txt: Added.
     16        * web-platform-tests/notifications/constructor-basic.html: Added.
     17        * web-platform-tests/notifications/constructor-invalid-expected.txt: Added.
     18        * web-platform-tests/notifications/constructor-invalid.html: Added.
     19        * web-platform-tests/notifications/event-onclose-expected.txt: Added.
     20        * web-platform-tests/notifications/event-onclose.html: Added.
     21        * web-platform-tests/notifications/event-onshow-expected.txt: Added.
     22        * web-platform-tests/notifications/event-onshow.html: Added.
     23        * web-platform-tests/notifications/instance-expected.txt: Added.
     24        * web-platform-tests/notifications/instance.html: Added.
     25        * web-platform-tests/notifications/interfaces-expected.txt: Added.
     26        * web-platform-tests/notifications/interfaces.html: Added.
     27        * web-platform-tests/notifications/lang-expected.txt: Added.
     28        * web-platform-tests/notifications/lang.html: Added.
     29        * web-platform-tests/notifications/permission-expected.txt: Added.
     30        * web-platform-tests/notifications/permission.html: Added.
     31        * web-platform-tests/notifications/resources/icon.png: Added.
     32        * web-platform-tests/notifications/resources/shownotification-sw.js: Added.
     33        (self.onmessage.event.then):
     34        * web-platform-tests/notifications/resources/w3c-import.log: Added.
     35        * web-platform-tests/notifications/shownotification-resolve-manual.https-expected.txt: Added.
     36        * web-platform-tests/notifications/shownotification-resolve-manual.https.html: Added.
     37        * web-platform-tests/notifications/w3c-import.log: Added.
     38
    1392017-05-17  Ben Kelly  <ben@wanderview.com>
    240
  • trunk/LayoutTests/imported/w3c/resources/import-expectations.json

    r216975 r216979  
    224224    "web-platform-tests/mixed-content": "skip",
    225225    "web-platform-tests/navigation-timing": "skip",
    226     "web-platform-tests/notifications": "skip",
     226    "web-platform-tests/notifications": "import",
    227227    "web-platform-tests/offscreen-canvas": "skip",
    228228    "web-platform-tests/old-tests": "skip",
  • trunk/LayoutTests/platform/mac-wk1/TestExpectations

    r216842 r216979  
    217217# This hit-test test doesn't work on DRT
    218218webkit.org/b/156084 accessibility/mac/video-tag-hit-test.html [ Skip ]
     219
     220# This newly imported test times out on WK1 but passes on WK2.
     221webkit.org/b/172222 imported/w3c/web-platform-tests/notifications/event-onclose.html [ Skip ]
    219222
    220223# <a download> is not supported in WK1 yet.
  • trunk/LayoutTests/resources/testharnessreport.js

    r215916 r216979  
    1616    testRunner.waitUntilDone();
    1717    testRunner.setCanOpenWindows();
     18    testRunner.grantWebNotificationPermission("http://localhost:8800");
    1819    // Let's restrict calling testharness timeout() to wptserve tests for the moment.
    1920    // That will limit the impact to a small number of tests.
Note: See TracChangeset for help on using the changeset viewer.