Closed
Bug 450192
Opened 18 years ago
Closed 14 years ago
Error: this.editor is null in chrome://global/content/bindings/textbox.xml when opening popup
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 592528
People
(Reporter: martijn.martijn, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
|
376 bytes,
text/html
|
Details |
I'm seeing this error in one of my profiles, when opening the popup with the testcase:
Error: this.editor is null
Source File: chrome://global/content/bindings/textbox.xml
Line: 154
I don't see this error with a different profile.
Apparently, the _setNewlineHandling method if firing in this case before the editor is already setup.
Useagent:Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
I always got the error when opening the popup-window.
Exactly, I also meet this problem always. But, if you open a popup-window with tab(s) and probably with toolbar there, then, this error will not be presented.
This means we cannot not just open a clean&simple popup-window without any tab(s) and toolbars, otherwise, you will get the error.
take a look at following sample code:
window.open("about:blank","1112","width=555,height=555,left=0,top=0,scrollbars=yes,status=yes,resizable=yes,toolbar=yes,menubar=no");
this is working fine without any errors
but if change to:
window.open("about:blank","1112","width=555,height=555,left=0,top=0,scrollbars=yes,status=yes,resizable=yes,toolbar=no,menubar=no");
you will get this error "this.editor is null"
Hope mozilla group would be going to look into this.
Indeed! With the toolbar set to "yes" the error doesn't show up, but when using window.showModalDialog to open a popup it does.
I get exactly the same error in my experimental extension. I copy a clone of urlbar into a menupoup, and the clone doesn't have the editor (through I made an exact clone copy, so logically the editor should have been copied, too). Thus, the clone urlbar cannot have any text typed inside it, though the drop-down list works just fine.
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Comment 6•8 years ago
|
||
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in
before you can comment on or make changes to this bug.
Description
•