nsIContentViewer::PermitUnload now takes 2 parameters: a PR_Bool that "indicates that the current caller will close the window", plus the out parameter.
Created attachment 432375 [details] [diff] [review] Fix Update code to use new function signature.
Assignee: nobody → trendyhendy2000
Status: NEW → ASSIGNED
Attachment #432375 - Flags: superreview?(stuart.morgan+bugzilla)
Why PR_FALSE then? The only case we call PermitUnload ourselves is when closing a window/tab, which sounds like what this boolean is for.
Created attachment 432457 [details] [diff] [review] Fix v.1.1 Yeah, looking at it again, that makes sense.
Comment on attachment 432457 [details] [diff] [review] Fix v.1.1 sr=smorgan
Attachment #432457 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.