Closed Bug 1754817 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32803 - [dPWA] Sub Apps - add code for list() API

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
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

PR 32803 applied with additional changes from upstream: 548084cb97df8f2389726faa859ea785d0e76daa

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ef2419ac60c [wpt PR 32803] - [dPWA] Sub Apps - add code for list() API, a=testonly https://hg.mozilla.org/integration/autoland/rev/50bcb23ef953 [wpt PR 32803] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.