WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
94065
Simple events should not be cancellable
https://bugs.webkit.org/show_bug.cgi?id=94065
Summary
Simple events should not be cancellable
Matthew Gregan [:kinetik]
Reported
2012-08-14 20:34:37 PDT
Most of the media events are specified as simple events, which are not bubbling and or cancellable. The current implementation creates media events that are cancellable. I suspect this arose because the spec used to define simple events as cancellable but not bubbling, and was changed in April 2009 (see
http://html5.org/tools/web-apps-tracker?from=2991&to=2992
). A quick scan through svn blame reveals the events in HTMLMediaElement.cpp have been created as non-bubbling and cancellable since late 2007. Gecko has the same bug, I'm fixing it in
https://bugzilla.mozilla.org/show_bug.cgi?id=770945
.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-08-15 16:09:38 PDT
Any behavior that has been consistently working in both WebKit and Firefox since 2007 would have outgrown the "bug" status. Is there any downside in the existing behavior? Perhaps the spec should be changed back instead?
Eric Carlson
Comment 2
2012-08-16 09:05:40 PDT
(In reply to
comment #1
)
> Any behavior that has been consistently working in both WebKit and Firefox since 2007 would have outgrown the "bug" status. > > Is there any downside in the existing behavior? Perhaps the spec should be changed back instead?
As noted in the Mozilla bug (
https://bugzilla.mozilla.org/show_bug.cgi?id=770945#c8
), media events aren't cancellable and don't bubble in IE9&10. The spec doesn't define what to do when a media event is "cancelled", and indeed WebKit doesn't do anything, so I agree that we should change our implementation to match the spec.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug