Closed
Bug 304684
Opened 19 years ago
Closed 17 years ago
Inline XBL bindings fail if there is a script tag with an external reference
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 371743
People
(Reporter: allan, Unassigned)
Details
Attachments
(1 file)
817 bytes,
application/xhtml+xml
|
Details |
Inline XBL bindings in a HTML document fail if there is a script tag with a src attribute too. It does not matter if the referenced script actually exist You'll get a warning: WARNING: NS_ENSURE_TRUE(globalObject) failed, file nsDocument.cpp, line 4462 which is nsDocument::IsScriptEnabled(): nsIScriptGlobalObject* globalObject = GetScriptGlobalObject(); NS_ENSURE_TRUE(globalObject, PR_TRUE);
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Updated•19 years ago
|
Attachment #192722 -
Attachment is patch: false
Attachment #192722 -
Attachment mime type: text/plain → application/xhtml+xml
Reporter | ||
Comment 2•19 years ago
|
||
(I've filed it under trunk, but it's the same for 1.7)
Reporter | ||
Comment 3•19 years ago
|
||
Hmmm, this also means that it's not possible to use <script/> tags with an external source in the content of XBL.
Comment 4•19 years ago
|
||
The problem is probably that the script load blocks the parser and that XBL doesn't deal well with that because of the silly sync/async mess it has.
Updated•19 years ago
|
Flags: blocking1.9a1?
Flags: blocking1.9a1? → blocking1.9-
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•17 years ago
|
||
This looks a lot like bug 371743 to me, which is a fixed bug. So this bug is worksforme on trunk (and also with a 2007-01-11 branch build).
Comment 6•17 years ago
|
||
Indeed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•