Bug 57763

Summary: Web Inspector: [Extensions API] remove inspectedPage.* events
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 Flags
patch
none
patch
yurys: review-
patch yurys: review+

Description Andrey Kosyakov 2011-04-04 10:23:45 PDT
- remove onDOMContentLoaded & onLoaded events (native browser extensions should be used instead)
- moved onNavigated to webInspecor.resources
Comment 1 Andrey Kosyakov 2011-04-04 10:31:21 PDT
Created attachment 88077 [details]
patch
Comment 2 Yury Semikhatsky 2011-04-05 01:35:36 PDT
Comment on attachment 88077 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=88077&action=review

> Source/WebCore/inspector/front-end/ExtensionAPI.js:114
> +    this.onNavigated = new EventSink("inspectedURLChanged");

Is there a test for this event?

> Source/WebCore/inspector/front-end/ExtensionAPISchema.json:170
> +            "name": "callback",

Looks unrelated to this change.
Comment 3 Andrey Kosyakov 2011-04-05 09:29:27 PDT
Created attachment 88253 [details]
patch

- the schema change is intended (just a drive-by fix to bring it in-sync with the code)
- added test
Comment 4 Yury Semikhatsky 2011-04-05 09:59:59 PDT
Comment on attachment 88253 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=88253&action=review

> LayoutTests/inspector/extensions/extensions-events-expected.txt:8
> +Navigated to: file:///E:/src/gchromium/src/third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html?navigated

Test result is source-path dependent, r- for this.
Comment 5 Andrey Kosyakov 2011-04-05 10:08:00 PDT
Created attachment 88266 [details]
patch

oops, thanks for spotting this!
Comment 6 Andrey Kosyakov 2011-04-06 01:27:28 PDT
Manually committed r83033: http://trac.webkit.org/changeset/83033