Summary: | REGRESSION(r92433): media/video-src-change.html fails | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | UI Events | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, eric.carlson, koivisto, pilgrim, sam, simon.fraser | ||||
Priority: | P1 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2011-08-05 09:07:00 PDT
All regressions are P1. Looking at EventTarget code: http://trac.webkit.org/browser/trunk/Source/WebCore/dom/EventTarget.cpp#L246 It seems like the test code is wrong. We should be giving the listener as the second argument: 31 if (++loadedCount >= 2) { 32 mediaElement.removeEventListener('loadedmetadata'); 33 endTest(); 34 return; 35 } Created attachment 103079 [details]
fixes the test
Comment on attachment 103079 [details] fixes the test Clearing flags on attachment: 103079 Committed r92484: <http://trac.webkit.org/changeset/92484> All reviewed patches have been landed. Closing bug. This bug is blowing my mind. I thought removeEventListener was special-cased by the code generator. The IDL files shouldn't affect the generated code. |