Bug 112669

Summary: Web Inspector: Add Inspector.targetCrashed event to Inspector protocol
Product: WebKit Reporter: Vladislav Kaznacheev <kaznacheev>
Component: Web Inspector (Deprecated)Assignee: Vladislav Kaznacheev <kaznacheev>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, apavlov, dglazkov, fishd, graouts, jamesr, joepeck, keishi, loislo, pfeldman, pmuellr, timothy, tkent+wkapi, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Vladislav Kaznacheev
Reported 2013-03-19 01:19:09 PDT
Currently there is no way for a client to know if the target has crashed.
Attachments
Patch (6.20 KB, patch)
2013-03-19 01:24 PDT, Vladislav Kaznacheev
no flags
Patch (6.44 KB, patch)
2013-03-19 02:14 PDT, Vladislav Kaznacheev
no flags
Patch (3.86 KB, patch)
2013-03-19 03:46 PDT, Vladislav Kaznacheev
no flags
Patch (5.00 KB, patch)
2013-03-19 03:58 PDT, Vladislav Kaznacheev
no flags
Vladislav Kaznacheev
Comment 1 2013-03-19 01:24:13 PDT
Vladislav Kaznacheev
Comment 2 2013-03-19 01:33:48 PDT
WebKit Review Bot
Comment 3 2013-03-19 01:36:07 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Yury Semikhatsky
Comment 4 2013-03-19 02:05:46 PDT
Comment on attachment 193752 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193752&action=review > Source/WebCore/ChangeLog:7 > + Please provide a description. > Source/WebCore/inspector/front-end/HelpScreen.js:134 > + WebInspector.HelpScreen.call(this, title); I think it's time to rename HelpScreen into OverlayScreen or something as it is not actually a help screen anymore.
Vladislav Kaznacheev
Comment 5 2013-03-19 02:14:47 PDT
Pavel Feldman
Comment 6 2013-03-19 02:45:01 PDT
Comment on attachment 193766 [details] Patch We now have a dowstream handler for that.
Vladislav Kaznacheev
Comment 7 2013-03-19 03:46:37 PDT
Pavel Feldman
Comment 8 2013-03-19 03:49:01 PDT
Comment on attachment 193776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193776&action=review > Source/WebCore/inspector/Inspector.json:42 > + "parameters": [] This is optional. > Source/WebCore/inspector/front-end/HelpScreen.js:147 > + WebInspector.debuggerModel.removeEventListener(WebInspector.DebuggerModel.Events.GlobalObjectCleared, this.hide, this); I would not override this. Just call the bound function that closes and removes the listener. > Source/WebCore/inspector/front-end/inspector.js:985 > +WebInspector.targetCrashed = function() { { on the next line. > Source/WebCore/inspector/front-end/inspector.js:987 > + WebInspector.UIString("Target has crashed"), Please add these strings into localizedStrings.
Vladislav Kaznacheev
Comment 9 2013-03-19 03:58:29 PDT
Vladislav Kaznacheev
Comment 10 2013-03-19 04:00:37 PDT
Comment on attachment 193776 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193776&action=review >> Source/WebCore/inspector/Inspector.json:42 >> + "parameters": [] > > This is optional. Removed >> Source/WebCore/inspector/front-end/HelpScreen.js:147 >> + WebInspector.debuggerModel.removeEventListener(WebInspector.DebuggerModel.Events.GlobalObjectCleared, this.hide, this); > > I would not override this. Just call the bound function that closes and removes the listener. Discussed, agreed to do this in a separate refactoring patch (possibly disallowing manual closing of this dialog) >> Source/WebCore/inspector/front-end/inspector.js:985 >> +WebInspector.targetCrashed = function() { > > { on the next line. Done >> Source/WebCore/inspector/front-end/inspector.js:987 >> + WebInspector.UIString("Target has crashed"), > > Please add these strings into localizedStrings. Done
Pavel Feldman
Comment 11 2013-03-19 04:18:35 PDT
Comment on attachment 193783 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193783&action=review > Source/WebCore/inspector/front-end/HelpScreen.js:135 > + var p = this.contentElement.createChild("p"); "p help-section"
WebKit Review Bot
Comment 12 2013-03-19 04:45:45 PDT
Comment on attachment 193783 [details] Patch Clearing flags on attachment: 193783 Committed r146198: <http://trac.webkit.org/changeset/146198>
WebKit Review Bot
Comment 13 2013-03-19 04:45:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.