Summary: | Web Inspector: [Extensions API] allow resources to hook on click on resource links | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andrey Kosyakov <caseq> | ||||||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Andrey Kosyakov <caseq> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
Attachments: |
|
Description
Andrey Kosyakov
2011-09-21 06:41:40 PDT
Created attachment 108146 [details]
patch
Comment on attachment 108146 [details]
patch
As discussed offline, there should be one handler for the event and there should be a way to explicitly specify which extension handles the event(in case there are many): either a setting or a popup dialog with a list of potential handlers.
Created attachment 108638 [details]
patch
- only allow one handler to receive an event;
- added handler selection to the Settings screen;
- changed API interface from Event to a method that sets handler
Comment on attachment 108638 [details]
patch
HandlerRegistry.js is missing
Created attachment 108643 [details]
patch
- added missing file
Comment on attachment 108643 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=108643&action=review > Source/WebCore/inspector/front-end/ExtensionAPI.js:247 > + // Only send command if we either removed and existing handler or added handler and had none before. typo: removed and existing Created attachment 108646 [details]
screenshot (enabled)
Created attachment 108647 [details]
screenshot (disabled)
Manually committed r95942: http://trac.webkit.org/changeset/95942 |