Closed Bug 536899 Opened 16 years ago Closed 15 years ago

document.getElementsByTagName('script') doesn't return scripts in the original HTML

Categories

(Core :: DOM: Core & HTML, defect)

1.9.1 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: leos, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) This problem appears when using the Django Admin (but may affect other webpages as well) with TinyMCE in FF3.5. The basic issue is that after TinyMCE is loaded, the call: document.getElementsByTagName('script') returns only TinyMCE scripts and doesn't return any of the scripts that were originally in the HTML. The Django ticket is here and explains the details: http://code.djangoproject.com/ticket/11967 I can probably come up with a simpler test case if that ticket isn't sufficient, just let me know. Did something change in Firefox 3.5 in the way that it handles the list of scripts that are loaded? or is this likely to be a TinyMCE bug? Reproducible: Always
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.9.1 Branch
A test case would be useful.
Keywords: testcase-wanted
Sorry, Django has gone with a workaround so I don't have much else to add on the ticket. You should feel free to close as invalid.
Okay. If it pops up again, feel free to reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.