[Webkit-unassigned] [Bug 40425] Web Inspector: provide API for content scripts to interact with the inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 12:56:58 PDT 2010


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





--- Comment #20 from Andrey Kosyakov <caseq at chromium.org>  2010-07-28 12:56:58 PST ---
(In reply to comment #19)

> For LayoutTests/inspector/extensions-expected.txt:30
>  +          onLoaded : {
> Lets mimic these with reflective addEventListener("load") as Timothy suggested. r- for this.

This is possible, but comes at a cost: presently, "chrome-style" event handles have arbitrary signatures -- i.e. they may have a number of parameters. With DOM-style handlers, these parameters would have to be converted to named properties of a DOM event. So for every event type we'd have to maintain a wrapper that converts the arguments from array to object with named property (or vice-versa, depending on how we send them). This will lead to some code bloat, obviously.

-- 
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