Closed Bug 1613738 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21639 - Perform cross-origin navigation for scroll to text security WPTs

Categories

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

task

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Nick Burris <nburris@chromium.org> wrote:

Perform cross-origin navigation for scroll to text security WPTs

These tests need to perform cross-origin navigations as they test
security restrictions that only apply to cross-origin.

Bug: 1049624
Change-Id: I241962c44eaa1e4862e3df38be4b614491818b64
Reviewed-on: https://chromium-review.googlesource.com/2042402
WPT-Export-Revision: d7044a174cbb2f484be27c6a0a738432e5186973

CI Results

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

Total 44 tests

Status Summary

Firefox

OK : 1
PASS: 43
FAIL: 5

Chrome

OK : 1
PASS: 5

Safari

OK : 1
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/scroll-to-text-fragment/scroll-to-text-fragment-security.sub.html
Test that a text fragment directive requires a user activation (user_activation=false).: FAIL (Chrome: PASS, Safari: FAIL)
Test that a text fragment directive is not activated within an iframe.: FAIL (Chrome: PASS, Safari: FAIL)
Test that a text fragment directive requires a user activation (user_activation=true).: FAIL (Chrome: PASS, Safari: FAIL)
Test that a text fragment directive is not activated when there is a window opener (noopener=true).: FAIL (Chrome: PASS, Safari: FAIL)
Test that a text fragment directive is not activated when there is a window opener (noopener=false).: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d8f3258e5be
[wpt PR 21639] - Perform cross-origin navigation for scroll to text security WPTs, a=testonly
https://hg.mozilla.org/integration/autoland/rev/ec7e6b8ec5d7
[wpt PR 21639] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.