Open Bug 890854 Opened 11 years ago Updated 2 years ago

Some on* attributes have been lost in WebIDL-conversions

Categories

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

defect

Tracking

()

People

(Reporter: Ms2ger, Unassigned, NeedInfo)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: regression)

onbeforescriptexecute/onafterscriptexecute seem to only be on Document now. oncopy, oncut, onpaste ended up on Document/HTMLElement/SVGElement.
> onbeforescriptexecute/onafterscriptexecute seem to only be on Document now. I vaguely recall this being purposeful... Jonas?
Flags: needinfo?(jonas)
Back when I added those events they weren't standardized, so possibly we added the on* properties conservatively. But now they are standard so I don't see a reason not to put them on Element.
Flags: needinfo?(jonas)
A simple search for "onbeforescriptexecute" in Hixies HTML5 drafts doesn't turn up hits though. Not sure why.
Sounds like we need a spec issue here, and then a fix on our end?
Flags: needinfo?(Ms2ger)
Depends on: 1286822
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.