Bug 36327 - Test that a plug-in can override Node methods of its element
Summary: Test that a plug-in can override Node methods of its element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 15:19 PDT by Alexey Proskuryakov
Modified: 2010-03-18 15:42 PDT (History)
0 users

See Also:


Attachments
proposed fix (4.49 KB, patch)
2010-03-18 15:28 PDT, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2010-03-18 15:19:43 PDT
It's is our current behavior, and this is also what Firefox does.

This is more important than it sounds - it means that a plug-in must be instantiated when JS code accesses properties and methods of its owner element, e.g. with a call like plg.addEventListener(...).
Comment 1 Alexey Proskuryakov 2010-03-18 15:28:06 PDT
Created attachment 51103 [details]
proposed fix
Comment 2 Anders Carlsson 2010-03-18 15:40:37 PDT
Comment on attachment 51103 [details]
proposed fix

r=me
Comment 3 Alexey Proskuryakov 2010-03-18 15:42:28 PDT
Committed revision 56198.