Closed Bug 1580848 Opened 5 years ago Closed 5 years ago

Clean up some things in dom/ipc/tests/browser_crash_oopiframe.js

Categories

(Core :: DOM: Content Processes, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1579716 +++

See kmag's review feedback in https://phabricator.services.mozilla.com/D45594#1379647.

Happy to mentor this if somebody wants to take a crack at it. Otherwise, I'll take care of this sometime next week.

Mentor: mconley
Flags: needinfo?(mconley)
Whiteboard: [lang=js]

Actually, it turns out I was halfway through cleaning this up in bug 1579692, so I can recycle some of it.

Mentor: mconley
Flags: needinfo?(mconley)
Whiteboard: [lang=js]
  • The test first asserts that we can actually load iframes in separate subprocesses
  • The test now loads in a new tab rather than a new window
  • The test no longer uses the "fission" attribute
  • The test avoids the BrowsingContext.get pattern, in favour of just passing the
    BrowsingContext from one actor to the other directly.
Assignee: nobody → mconley
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5387cb607e45
Add ContentTaskUtils to SpecialPowers.spawn execution scope. r=kmag
https://hg.mozilla.org/integration/autoland/rev/f673fd22ace9
Clean up some review feedback on the browser_crash_oopiframe.js test. r=kmag
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: