<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>94065</bug_id>
          
          <creation_ts>2012-08-14 20:34:37 -0700</creation_ts>
          <short_desc>Simple events should not be cancellable</short_desc>
          <delta_ts>2012-10-12 08:11:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Matthew Gregan [:kinetik]">kinetik</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jeremy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>695703</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew Gregan [:kinetik]">kinetik</who>
    <bug_when>2012-08-14 20:34:37 -0700</bug_when>
    <thetext>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&amp;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&apos;m fixing it in https://bugzilla.mozilla.org/show_bug.cgi?id=770945.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696464</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-08-15 16:09:38 -0700</bug_when>
    <thetext>Any behavior that has been consistently working in both WebKit and Firefox since 2007 would have outgrown the &quot;bug&quot; status.

Is there any downside in the existing behavior? Perhaps the spec should be changed back instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>697193</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2012-08-16 09:05:40 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Any behavior that has been consistently working in both WebKit and Firefox since 2007 would have outgrown the &quot;bug&quot; status.
&gt; 
&gt; 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&apos;t cancellable and don&apos;t bubble in IE9&amp;10. 

The spec doesn&apos;t define what to do when a media event is &quot;cancelled&quot;, and indeed WebKit doesn&apos;t do anything, so I agree that we should change our implementation to match the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>