Closed Bug 1141732 Opened 11 years ago Closed 11 years ago

[e10s] "This Frame" > "Print Frame…" in remote browser causes unsafe CPOW usage warning

Categories

(Firefox :: Menus, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s m8+ ---

People

(Reporter: Kwan, Assigned: mconley)

References

Details

+++ This bug was initially created as a clone of Bug #1133577 +++ STR: 1) Visit a site with a frame in it in an e10s window 2) Right-click in the frame, and choose "This Frame" > "Print Frame…" This causes an "unsafe CPOW usage" warning in the Browser Console. In browser/base/content/nsContextMenu.js: printFrame: function CM_printFrame() { PrintUtils.print(this.target.ownerDocument.defaultView); <- Causes CPOW warning }, It also fails with "Error: PrintUtils.print expects a remote browser passed as an argument if the content window is a CPOW." but mconley asked for a separate bug for that.
See Also: → 1141734
tracking-e10s: m8+ → ---
Whiteboard: [unsafe-cpow-usage]
Still an issue - would probably be fixed if we started passing around outerWindowIDs instead, a la bug 1146454.
tracking-e10s: --- → ?
Depends on: 1146454
Whiteboard: [unsafe-cpow-usage]
Assignee: nobody → mconley
This should be fixed now that bug 1146454 has landed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.