Closed Bug 1587971 Opened Last month Closed Last month

Fix test_ext_contentscript_cache.html with Fission

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(Fission Milestone:M4, firefox71 fixed)

RESOLVED FIXED
mozilla71
Fission Milestone M4
Tracking Status
firefox71 --- fixed

People

(Reporter: Tomislav, Assigned: Tomislav)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Plain mochitests run in a content process, so when one does a window.open("http://example.com/"), that ends up in a different content process under fission.

Which means this test needs to inspect internal state of another content process, which is not easy from a plain mochitest. Solutions are changing this to a browser mochitest, an xpcshell test, or just opening the second tab from the same origin (mochi.test) to keep it in the same process.

Alternatives are mostly equivalent, but third is easiest/smallest change.

Crash Signature: Plain mochitests run in a content process, so when one does a `window.open("http://example.com/")`, that ends up in a different content process under fission. Which means this test needs to inspect internal state of another content process, which is no…
Fission Milestone: --- → M4
Pushed by tjovanovic@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7073f1b5be05
Fix test_ext_contentscript_cache.html with Fission r=rpl
Status: NEW → RESOLVED
Closed: Last month
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.