WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159320
Web Inspector: Uncaught Exception reporter should include the currently dispatching protocol event or request/response if applicable
https://bugs.webkit.org/show_bug.cgi?id=159320
Summary
Web Inspector: Uncaught Exception reporter should include the currently dispa...
Blaze Burg
Reported
2016-06-30 15:48:55 PDT
Sometimes this extra info enough to narrow down the problem a lot, and doesn't require all callers of WebInspector.reportInternalError to figure out the current event/response.
Attachments
Pre-filled bug report with request/response dump
(1.66 KB, text/plain)
2016-06-30 15:51 PDT
,
Blaze Burg
no flags
Details
Proposed Fix
(10.71 KB, patch)
2016-06-30 16:01 PDT
,
Blaze Burg
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-06-30 15:49:20 PDT
<
rdar://problem/27117754
>
Blaze Burg
Comment 2
2016-06-30 15:51:37 PDT
Created
attachment 282483
[details]
Pre-filled bug report with request/response dump
Blaze Burg
Comment 3
2016-06-30 16:01:44 PDT
Created
attachment 282486
[details]
Proposed Fix
Timothy Hatcher
Comment 4
2016-06-30 16:06:10 PDT
Comment on
attachment 282486
[details]
Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=282486&action=review
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:216 > + let responseData = {command, request:messageObject, callback};
Missing space after colon.
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:237 > + let responseData = {command, request:messageObject};
Missing space after colon.
Joseph Pecoraro
Comment 5
2016-06-30 16:44:44 PDT
Comment on
attachment 282486
[details]
Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=282486&action=review
> Source/WebInspectorUI/UserInterface/Debug/UncaughtExceptionReporter.js:192 > + return string.length > 500 ? string.substr(0, 500) + "..." : string;
Actual ellipsis? =)
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:50 > + }
Style: semicolon.
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:184 > + get currentDispatchState() { return this._currentDispatchState; }
Style: Move this up with the other accessors.
Blaze Burg
Comment 6
2016-07-06 13:23:23 PDT
Committed
r202875
: <
http://trac.webkit.org/changeset/202875
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug