Closed Bug 1624692 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 22423 - Isolate activation-gated APIs from user-activation WPTs.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mustaq Ahmed <mustaq@google.com> wrote:

Isolate activation-gated APIs from user-activation WPTs.

This CL isolates activation-gated APIs from the tests because those API
behavior may depend on other browser-defined things.

Four specific changes done here are:

  • Isolate a basic activation test as non-tentative.
  • Replace an existing wpt with a chained setTimeout test.
  • Isolate tests for same/cross-origin consumption behavior.
  • Clarify tests for same/cross-origin navigation behavior.

Change-Id: I0a7e6d87fc8ed088cd162bbaa8584e8ea7710239
Reviewed-on: https://chromium-review.googlesource.com/2110685
WPT-Export-Revision: 933f2b7a9d8c3f8ef2ba69712faaee8abf8435f1

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 53 tests

Status Summary

Firefox

OK : 1
PASS : 1[GitHub] 48[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 : 2
TIMEOUT: 7
NOTRUN : 20

Chrome

OK : 4
PASS : 23
FAIL : 2
ERROR : 2

Safari

OK : 1
PASS : 1
FAIL : 2
TIMEOUT: 7
NOTRUN : 20

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/user-activation/consumption-crossorigin.sub.tentative.html: TIMEOUT (Chrome: ERROR, Safari: TIMEOUT)
Child1 frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Grand child frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Parent frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Grandchild frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child2 frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Parent frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child2 frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child1 frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/user-activation/navigation-state-reset-crossorigin.sub.tentative.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Post-navigation state reset.: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/html/user-activation/chained-setTimeout.tentative.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Call-depth=2 final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Call-depth=3 initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Call-depth=3 final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Call-depth=1 final state: FAIL (Chrome: PASS, Safari: FAIL)
Call-depth=1 initial state: FAIL (Chrome: PASS, Safari: FAIL)
Call-depth=2 initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/user-activation/consumption-sameorigin.tentative.html: TIMEOUT (Chrome: ERROR, Safari: TIMEOUT)
Child1 frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Grand child frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Parent frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Grandchild frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child2 frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Parent frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child2 frame final state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Child1 frame initial state: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/user-activation/navigation-state-reset-sameorigin.tentative.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
Post-navigation state reset.: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6168e77478ee
[wpt PR 22423] - Isolate activation-gated APIs from user-activation WPTs., a=testonly
https://hg.mozilla.org/integration/autoland/rev/915022991c63
[wpt PR 22423] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.