Open Bug 974548 Opened 10 years ago Updated 2 years ago

Script error events should not bubble per spec

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

Right now they do, and the browser-chrome test harness depends on it: it sets window.onerror on the browser window and expects to see script errors from tabs and the like.

We could try to use a capturing listener here in the harness, but would need to watch out for error events from images and whatnot...
Error events from images didn't bubble.
Yes, which is why the chrome event handler isn't fired for them right now.  But if it were changed to a _capturing_ handler it would suddenly see those error events from images.
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.