[Webkit-unassigned] [Bug 83688] File API does not support DOM events (like addEventListener)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 11 15:06:08 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83688


Erik Arvidsson <arv at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #6 from Erik Arvidsson <arv at chromium.org>  2012-04-11 15:06:07 PST ---
It is not enough to include EventTarget as an extended attribute in the interface section. We also have to include the methods from the EventTarget interface.

For example, look at Node.idl and XMLHttpRequest.idl. They both include addEventListener, removeEventListener and dispatchEvent.

Here are the IDL files that are missing the implementation.

http://code.google.com/p/chromium/source/search?q=file%3A%5C.idl+%5CbEventTarget%28%2C%7C%5Cn%29+-addEventListener&origq=file%3A%5C.idl+%5CbEventTarget%28%2C%7C%5Cn%29+-addEventListener&btnG=Search+Trunk

The short fix is to add these 3 methods to the 3 incomplete idl files above. The long term, better solution is to implicitly add these method when we have an EventTarget.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list