Some on* attributes have been lost in WebIDL-conversions

NEW
Unassigned

Status

()

5 years ago
2 years ago

People

(Reporter: Ms2ger, Unassigned, NeedInfo)

Tracking

(Depends on: 1 bug, Blocks: 1 bug, {regression})

Trunk
regression
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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)
You need to log in before you can comment on or make changes to this bug.