Open Bug 304786 Opened 15 years ago Updated 2 years ago
dynamically inserting/adding xul:script via DOM doesn't work
confirm with a 2005-08-15 deerpark build on winxp, over to dom
Assignee: nobody → general
Status: UNCONFIRMED → NEW
Component: General → DOM: Core
Ever confirmed: true
OS: Linux → All
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
The basic problem is that xul:script is not implemented in the content node (because nothing in XUL is!) but in the XUL parser...
A workaround until this is fixed: change document.createElement('script') to document.createElementNS('http://www.w3.org/1999/xhtml', 'script') This should work fine even in XUL documents.
Summary: Adding xul:script dynamically via DOM doesn't work → dynamically inserting/adding xul:script via DOM doesn't work
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.