Open Bug 339078 Opened 19 years ago Updated 5 years ago

iframe "onload" does not work (firefox 1.5)

Categories

(Core :: DOM: Editor, defect, P5)

x86
Windows Server 2003
defect

Tracking

()

UNCONFIRMED

People

(Reporter: olegluck, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Repro steps 1. Enter <iframe onload="alert(1);"></iframe> to editor when checkbox "view html source" is checked 2. Uncheck checkbox, editor shows iframe but iframe "onload" isn`t called Under Mozilla 1.7 and FireFox 1.0.6 work fine Is it Firefox's Rich Text Editing engine bug? Reproducible: Always
It seems to me this was more like a bug in Mozilla1.7. When designMode is on, no javascript should get executed.
<iframe onmouseover="alert(1);"></iframe> This doesn't make it do anything either. For that matter I cannot seem to get any javascript to run if I type it into that box. It almost seems as if it was turned off within the RTE boxes. Suggest changing summary to "javascript does not work in Rich Text Edit boxes" and maybe marking it wontfix (preferably with some link to the design decision to not allow javascript in RTE) if that is what the design was (IMO the right decision).
QA Contact: editor
Assignee: mozeditor → nobody

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: major → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.