Closed Bug 1628915 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22832 - Add interfaces/page-lifecycle.idl and test

Categories

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

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22832 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22832
Details from upstream follow.

Stephen McGruer <smcgruer@chromium.org> wrote:

Add interfaces/page-lifecycle.idl and test

A test for Client is not added as even
service-workers/service-worker/resources/interfaces-worker.sub.js does
not test this interface yet.

Closes https://github.com/web-platform-tests/wpt/pull/21313

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 49 tests

Status Summary

Firefox

OK : 1
PASS: 14[GitHub] 62[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 6

Chrome

OK : 1
PASS: 20

Safari

OK : 1
PASS: 14
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/page-lifecycle/idlharness.html
Document interface: document must inherit property "wasDiscarded" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: document must inherit property "onresume" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: document must inherit property "onfreeze" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: attribute onfreeze: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: attribute onresume: FAIL (Chrome: PASS, Safari: FAIL)
Document interface: attribute wasDiscarded: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/50d5b346dad1
[wpt PR 22832] - Add interfaces/page-lifecycle.idl and test, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0ac3b51de8df
[wpt PR 22832] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/cb5bf0fc8ada
[wpt PR 22832] - Add interfaces/page-lifecycle.idl and test, a=testonly
https://hg.mozilla.org/integration/autoland/rev/500c5f58b8c1
[wpt PR 22832] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.