WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 174663
Web Inspector: add stack trace information for each RecordingAction
https://bugs.webkit.org/show_bug.cgi?id=174663
Summary
Web Inspector: add stack trace information for each RecordingAction
Devin Rousso
Reported
2017-07-19 20:32:36 PDT
This would allow users to quickly jump to the line of code responsible for the selected action.
Attachments
Patch
(86.40 KB, patch)
2017-08-02 00:13 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-elcapitan
(1.08 MB, application/zip)
2017-08-02 01:27 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews107 for mac-elcapitan-wk2
(1.39 MB, application/zip)
2017-08-02 01:46 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews114 for mac-elcapitan
(2.05 MB, application/zip)
2017-08-02 03:40 PDT
,
Build Bot
no flags
Details
Patch
(86.60 KB, patch)
2017-08-02 15:32 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] After Patch is applied
(469.36 KB, image/png)
2017-08-02 15:34 PDT
,
Devin Rousso
no flags
Details
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
(1.18 MB, application/zip)
2017-08-02 18:06 PDT
,
Build Bot
no flags
Details
Patch
(86.52 KB, patch)
2017-08-02 20:15 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(86.56 KB, patch)
2017-08-02 20:37 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(7)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2017-08-02 00:13:19 PDT
Created
attachment 316941
[details]
Patch
Build Bot
Comment 2
2017-08-02 01:27:07 PDT
Comment on
attachment 316941
[details]
Patch
Attachment 316941
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/4238619
New failing tests: inspector/canvas/recording-2d.html inspector/model/recording.html
Build Bot
Comment 3
2017-08-02 01:27:08 PDT
Created
attachment 316947
[details]
Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 4
2017-08-02 01:46:07 PDT
Comment on
attachment 316941
[details]
Patch
Attachment 316941
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/4238662
New failing tests: inspector/canvas/recording-2d.html inspector/model/recording.html
Build Bot
Comment 5
2017-08-02 01:46:09 PDT
Created
attachment 316949
[details]
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 6
2017-08-02 03:40:49 PDT
Comment on
attachment 316941
[details]
Patch
Attachment 316941
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/4239021
New failing tests: inspector/canvas/recording-2d.html inspector/model/recording.html
Build Bot
Comment 7
2017-08-02 03:40:51 PDT
Created
attachment 316951
[details]
Archive of layout-test-results from ews114 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Devin Rousso
Comment 8
2017-08-02 15:32:18 PDT
Created
attachment 317015
[details]
Patch
Devin Rousso
Comment 9
2017-08-02 15:34:06 PDT
Created
attachment 317016
[details]
[Image] After Patch is applied
Build Bot
Comment 10
2017-08-02 18:06:41 PDT
Comment on
attachment 317015
[details]
Patch
Attachment 317015
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/4242892
New failing tests: imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker.html imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.html imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker.html imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors.html imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker.html imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker.html imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.html imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.html
Build Bot
Comment 11
2017-08-02 18:06:43 PDT
Created
attachment 317050
[details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Joseph Pecoraro
Comment 12
2017-08-02 19:49:04 PDT
Comment on
attachment 317015
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317015&action=review
r=me
> Source/JavaScriptCore/inspector/ScriptCallFrame.h:55 > + bool operator==(const ScriptCallFrame& o) const { return isEqual(o); }
Style: Do not abbreviate names. Use `other`.
> Source/WebCore/inspector/InspectorCanvas.cpp:283 > + auto array = Inspector::Protocol::Array<double>::create();
Style: Just put `item =` here instead of the temp?
> Source/WebCore/inspector/InspectorCanvas.cpp:461 > + if (visitor->isNativeFrame() && !trace->length())
Style: Lets swap these for readability. Also a length check is probably simpler.
> Source/WebInspectorUI/UserInterface/Models/RecordingAction.js:117 > + } catch (e) { > + // Ignored. > + }
You could be the first adopter of the parameterless catch!! try { ... } catch { }
Devin Rousso
Comment 13
2017-08-02 20:15:12 PDT
Created
attachment 317076
[details]
Patch
Devin Rousso
Comment 14
2017-08-02 20:37:25 PDT
Created
attachment 317080
[details]
Patch
Devin Rousso
Comment 15
2017-08-02 20:38:20 PDT
Comment on
attachment 317015
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317015&action=review
>> Source/WebCore/inspector/InspectorCanvas.cpp:283 >> + auto array = Inspector::Protocol::Array<double>::create(); > > Style: Just put `item =` here instead of the temp?
I can't do this because item is an InspectorValue and will not have the addItem function.
>> Source/WebInspectorUI/UserInterface/Models/RecordingAction.js:117 >> + } > > You could be the first adopter of the parameterless catch!! > > try { > ... > } catch { }
One reason I added the "// Ignored." is for ESLint, but that's ignorable :P
WebKit Commit Bot
Comment 16
2017-08-02 23:18:12 PDT
Comment on
attachment 317080
[details]
Patch Clearing flags on attachment: 317080 Committed
r220188
: <
http://trac.webkit.org/changeset/220188
>
WebKit Commit Bot
Comment 17
2017-08-02 23:18:14 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 18
2017-08-02 23:18:48 PDT
<
rdar://problem/33694023
>
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