Closed Bug 1971038 Opened 8 months ago Closed 6 months ago

Null check this.browser in context menu

Categories

(SeaMonkey :: General, defect)

defect

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Future
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.22)

Attachments

(1 file)

Potentially this.browser could be null in a context menu, so we should check it before trying to look at properties / attributes.

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: context menu is not properly initialised
Testing completed (on m-c, etc.): 2.53.22pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9493475 - Flags: review?(frgrahl)
Attachment #9493475 - Flags: approval-comm-release?
Whiteboard: SM2.53.22

Comment on attachment 9493475 [details] [diff] [review]
1971038-context-browser-null-25322.patch

LGTM r/a+

Attachment #9493475 - Flags: review?(frgrahl)
Attachment #9493475 - Flags: review+
Attachment #9493475 - Flags: approval-comm-release?
Attachment #9493475 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/1c858aa5f95e
Null check this.browser in context menu. r=frg DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: