Write test to verify only non linkable about: pages can load local module scripts

RESOLVED FIXED in Firefox 69

Status

()

task
P2
normal
RESOLVED FIXED
Last month
3 days ago

People

(Reporter: ckerschb, Assigned: jaws)

Tracking

unspecified
mozilla69
Points:
---
Dependency tree / graph
Bug Flags:
qe-verify -

Firefox Tracking Flags

(firefox69 fixed)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 attachment)

No description provided.

Jared, I am OOO all of next week. Any chance you could provide the test here? :smaug requested one and to be fair, I think it really makes sense to have one. We could then land this bug together with the actual fix within Bug 1551379.

Any chance you could provide that test?

Type: defect → task
Flags: needinfo?(jaws)
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)

Note, this test does not pass currently with the patch from bug 1551379. Both the unlinkable and linkable pages load the script and the page's content gets overwritten.

Priority: -- → P2
Whiteboard: [domsecurity-active]

Comment 3

26 days ago
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/158eb97dfd5e
Test to verify that only unlinkable about pages can load script[type=module]. r=smaug,ckerschb

Backed out changeset 158eb97dfd5e (bug 1552441) for browser-chrome failures in dom/tests/browser/browser_unlinkable_about_page_can_load_module_scripts.js. CLOSED TREE

Log:
https://treeherder.mozilla.org/logviewer.html#?job_id=247405406&repo=autoland

Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=158eb97dfd5e6b18f6a13cbf4e648b361deb1a41

Backout:
https://hg.mozilla.org/integration/autoland/rev/eb1763edca85fb806e76a65a7a7a9ea80bf19a65

Flags: needinfo?(jaws)
Flags: needinfo?(jaws)

Comment 5

25 days ago
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/60bf0ae446ce
Test to verify that only unlinkable about pages can load script[type=module]. r=smaug,ckerschb

Comment 6

25 days ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Flags: qe-verify-
Regressions: 1559087
You need to log in before you can comment on or make changes to this bug.