Closed Bug 1463757 Opened 6 years ago Closed 5 years ago

We shouldn't attach resize and keypress listeners for imagedocument when document.open happens

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

Right now ImageDocument::SetScriptGlobalObject does this unconditionally.  It should probably only do it for the "initial setup" and "coming out of bfcache" bits.  The question is how best to detect those....
Priority: -- → P3
Component: DOM → DOM: Core & HTML

document.open() no longer calls SetScriptGlobalObject after bug 1489308.

Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1489308
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.