Closed Bug 1156156 Opened 9 years ago Closed 9 years ago

Fix HandlePossibleViewportChange crash when a window is closed

Categories

(Core :: Panning and Zooming, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

Details

Attachments

(1 file)

It looks like the parent process can send an UpdateDimensions message after a window.close event fires in the content process. HandlePossibleViewportChange doesn't check whether GetDocument() returns null, like its other callers do.
Attached patch fixSplinter Review
Attachment #8594594 - Flags: review?(bugmail.mozilla)
Attachment #8594594 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/9d35ca76cc4f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: