Closed Bug 2075893 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 62993 - Add frame coverage for javascript: URL navigation

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Shannon Booth <shannon.ml.booth@gmail.com> wrote:

Add frame coverage for javascript: URL navigation

A frame processes its src with initialInsertion set to true, so a javascript: URL that produces no document fires a load event at the frame. Test that, and a javascript: URL set after insertion.

Run navigate-to-javascript-url-009.html for both iframe and frame, and add navigate-to-javascript-url-012.html for both: a javascript: URL src rewritten by the default policy runs the rewritten script and fires a load event.

For: https://github.com/whatwg/html/pull/12981

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

CI Results

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

Total 4 tests and 1 subtests

Status Summary

Firefox

OK : 4
PASS: 6

Chrome

OK : 4
PASS: 6

Safari

OK : 4
PASS: 6

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.