[wpt-sync] Sync PR 32803 - [dPWA] Sub Apps - add code for list() API
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox99 fixed)
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32803 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32803
Details from upstream follow.
Ivan Šandrk <isandrk@chromium.org> wrote:
[dPWA] Sub Apps - add code for list() API
This CL adds the functionality for listing sub-apps that were added by
the parent app that is calling the API.Sub Apps API enables PWAs to create multiple launch icons with distinct
names.Design doc: go/multi-apps (draft)
Bug: 1171317
Change-Id: I9f7ec0721987757397b58c7e43930f0291e7b6c6
Reviewed-on: https://chromium-review.googlesource.com/3307062
WPT-Export-Revision: 21f98880ade7d328a5ccd96d52bd3f4c365af312
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS : 13
FAIL : 19
ERROR: 2
Chrome
OK : 1
PASS : 13
FAIL : 19
ERROR: 2
Safari
OK : 1
PASS : 13
FAIL : 19
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/subapps/idlharness.tentative.https.window.html
SubApps interface: existence and properties of interface object: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface object length: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface object name: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: existence and properties of interface prototype object: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: operation add(DOMString): FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: operation list(): FAIL (Chrome: FAIL, Safari: FAIL)
SubApps must be primary interface of navigator.subApps: FAIL (Chrome: FAIL, Safari: FAIL)
Stringification of navigator.subApps: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: navigator.subApps must inherit property "add(DOMString)" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: calling add(DOMString) on navigator.subApps with too few arguments must throw TypeError: FAIL (Chrome: FAIL, Safari: FAIL)
SubApps interface: navigator.subApps must inherit property "list()" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
Navigator interface: attribute subApps: FAIL (Chrome: FAIL, Safari: FAIL)
Navigator interface: navigator must inherit property "subApps" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
/subapps/list-error.tentative.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
The object is no longer associated to a document.: FAIL (Chrome: FAIL, Safari: FAIL)
API is only supported in top-level browsing contexts.: FAIL (Chrome: FAIL, Safari: FAIL)
List call failed.: FAIL (Chrome: FAIL, Safari: FAIL)
/subapps/list-success.tentative.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
List API call works.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0ef2419ac60c
https://hg.mozilla.org/mozilla-central/rev/50bcb23ef953
Description
•