Closed Bug 1559234 Opened 10 months ago Closed 9 months ago

Add a way to get the process ID of an OOP-iframe

Categories

(Core :: DOM: Content Processes, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla69
Fission Milestone M4
Tracking Status
firefox69 --- fixed

People

(Reporter: rhunt, Assigned: ablayelyfondou)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In nightly, you can get the PID of a tab by hovering over the title. It would be useful to have something equivalent for OOP-iframes. This really helps for connecting a debugger or forcing a process crash.

One option could be to add an entry or something to the 'This Frame" menu in the context menu from right-clicking within an <iframe>.

I think the This Frame menu is a perfect place for this kind of thing.

Feel like taking this on Abdoulaye? I think it'd be a matter of passing Services.appinfo.processID through the ContextMenuChild to the ContextMenuParent, and adding an entry to the "This Frame" submenu.

Flags: needinfo?(ablayelyfondou)
Assignee: nobody → ablayelyfondou
Flags: needinfo?(ablayelyfondou)

Yes, I will look into this. Thank you!

Depends on: 1559409
Fission Milestone: --- → M4
Priority: -- → P2
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ed1d4aef3c7
Add frame process ID to 'This Frame' submenu in context-menu. r=mconley
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.