Closed
Bug 823499
Opened 13 years ago
Closed 13 years ago
JavaScript error: this.editor is null when opening a popup window
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.17
People
(Reporter: mcsmurf, Assigned: mz+bugzilla)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1006 bytes,
patch
|
mz+bugzilla
:
review+
|
Details | Diff | Splinter Review |
To reproduce:
1. Open Attachment 632505 [details]
2. Click on "Open an empty window"
Results:
This error appears in the Error Console:
Timestamp: 20.12.2012 15:04:00
Error: TypeError: this.editor is null
Source File: chrome://navigator/content/urlbarBindings.xml
Line: 104
| Reporter | ||
Comment 1•13 years ago
|
||
This checkin added the code that throws the error: http://hg.mozilla.org/comm-central/rev/5cb1917f9106 => Bug 689139
Blocks: 689139
Adding
if (!this.editor)
return;
before that should be enough?
As nobody objected...
Attachment #696077 -
Flags: review?(neil)
Comment 4•13 years ago
|
||
Comment on attachment 696077 [details] [diff] [review]
Just check if this.editor is not set
[I wonder whether it's moving the test to the callers that care about it (focus definitely doesn't for instance).]
>+ if (!this.editor)
>+ return;
Nit: needs a blank line after here.
Attachment #696077 -
Flags: review?(neil) → review+
Added newline, carrying r+
Attachment #696077 -
Attachment is obsolete: true
Attachment #696258 -
Flags: review+
Keywords: checkin-needed
| Reporter | ||
Comment 6•13 years ago
|
||
Patch does not apply, I'll fix manually:
$ hg qpush -v
applying bug-823499-v2.patch
patching file suite/browser/urlbarBindings.xml
bad hunk #1 @@ -96,16 +96,18 @@
(16 16 19 18)
patch failed, rejects left in working dir
errors during apply, please fix and refresh bug-823499-v2.patch
| Reporter | ||
Comment 7•13 years ago
|
||
Assignee: nobody → pppx
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.17
| Reporter | ||
Updated•13 years ago
|
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•