Closed Bug 1722365 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29787 - AppHistory: canGoBack returns false if not fully active

Categories

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

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Jinho Bang <zino@chromium.org>' wrote:

AppHistory: canGoBack returns false if not fully active

According to the spec[1], the document is not fully active, canGoBack
attribute should return false.

[1] https://wicg.github.io/app-history/#dom-apphistory-cangoback

Bug: 1183545
Change-Id: I38faffdc6742e955fe810a3b304c77aa73afe915
Reviewed-on: https://chromium-review.googlesource.com/3054671
WPT-Export-Revision: dcf2a8e85e85df11d87159ab8ec25380e7da1eb7

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL: 2

Chrome

OK : 2
FAIL: 2

Safari

OK : 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/app-history/navigate/canGoBack-if-not-fully-active.html
canGoBack should return false if the document is not fully active: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/canGoForward-if-not-fully-active.html
canGoForward should return false if the document is not fully active: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9e13d00e12e6
[wpt PR 29787] - AppHistory: |canGo*| attributes should returns false if not fully active, a=testonly
https://hg.mozilla.org/integration/autoland/rev/6a579f201170
[wpt PR 29787] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.