Closed Bug 1744493 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 31908 - Use IsSameOriginWith for showPicker cross-origin iframe check

Categories

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

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

François Beaufort <beaufort.francois@gmail.com> wrote:

Use IsSameOriginWith for showPicker cross-origin iframe check

This CL changes from IsSameOriginDomainWith to IsSameOriginWith the
check for cross-origin iframes when showPicker() is called following
spec change[1].

[1] https://github.com/whatwg/html/pull/7319#discussion_r759633854

Change-Id: Ic21ec96e241cad730d6e93a7b635cf9107f48023
Bug: 939561
Reviewed-on: https://chromium-review.googlesource.com/3310677
WPT-Export-Revision: ace6a949dcbebbc231c85076dd67b54200c920df

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

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 2

Chrome

OK : 1
PASS: 2
FAIL: 2

Safari

OK : 1
PASS: 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/forms/the-input-element/show-picker-cross-origin-iframe.tentative.html
Test showPicker() called from cross-origin iframe 1: FAIL (Chrome: PASS, Safari: FAIL)
Test showPicker() called from cross-origin iframe 3: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/944e7766c9fc
[wpt PR 31908] - Use IsSameOriginWith for showPicker cross-origin iframe check, a=testonly
https://hg.mozilla.org/integration/autoland/rev/646bda176598
[wpt PR 31908] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.