Closed Bug 1573169 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 18388 - Use get-host-info.sub.js in no-cross-origin-autofocus.sub.html

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ali Juma <ajuma@chromium.org> wrote:

Use get-host-info.sub.js in no-cross-origin-autofocus.sub.html

WebKit's test infrastructure doesn't support domains like www1.localhost.
This change uses get_host_info().HTTP_REMOTE_ORIGIN to choose an
appropriate cross-origin domain that works with both WPT infrastructure
as well as with WebKit's test infrastructure.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Ran 1 tests and 1 subtests
OK     : 1
FAIL   : 1

New tests that have failures or other problems:
/html/semantics/forms/autofocus/no-cross-origin-autofocus.html
    Autofocus shouldn't work in cross-origin iframe: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8e4bb300a095
[wpt PR 18388] - Use get-host-info.sub.js in no-cross-origin-autofocus.sub.html, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/097e8b94b844
[wpt PR 18388] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.