RESOLVED FIXED 100021
Web Inspector: show internal properties in inspector frontend
https://bugs.webkit.org/show_bug.cgi?id=100021
Summary Web Inspector: show internal properties in inspector frontend
Peter Rybin
Reported 2012-10-22 13:35:53 PDT
Internal properties (such as [[PrimitiveValue]] or [[BoundFunction]]) are supported in protocol and backend. Now they should become visible in frontend UI.
Attachments
Patch (5.48 KB, patch)
2012-10-22 13:55 PDT, Peter Rybin
no flags
UI preview (24.29 KB, image/png)
2012-10-23 05:46 PDT, Peter Rybin
no flags
Patch (6.38 KB, patch)
2012-10-23 06:36 PDT, Peter Rybin
no flags
Patch (7.29 KB, patch)
2012-10-23 07:08 PDT, Peter Rybin
no flags
Patch (7.36 KB, patch)
2012-10-23 07:11 PDT, Peter Rybin
no flags
Patch (16.21 KB, patch)
2012-11-13 09:10 PST, Peter Rybin
no flags
Patch (16.23 KB, patch)
2012-11-13 10:09 PST, Peter Rybin
no flags
Patch (15.92 KB, patch)
2012-11-15 08:52 PST, Peter Rybin
no flags
Peter Rybin
Comment 1 2012-10-22 13:55:58 PDT
Vsevolod Vlasov
Comment 2 2012-10-23 02:20:09 PDT
Screenshot?
Peter Rybin
Comment 3 2012-10-23 05:46:47 PDT
Created attachment 170135 [details] UI preview
Peter Rybin
Comment 4 2012-10-23 06:36:21 PDT
Peter Rybin
Comment 5 2012-10-23 07:08:04 PDT
Peter Rybin
Comment 6 2012-10-23 07:11:41 PDT
Yury Semikhatsky
Comment 7 2012-10-24 01:33:02 PDT
(In reply to comment #3) > Created an attachment (id=170135) [details] > UI preview We show uncaught exception object as a variable with name <exception>. Could you adhere to the same style for the internal properties you are adding?
Yury Semikhatsky
Comment 8 2012-10-24 01:37:14 PDT
Comment on attachment 170154 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=170154&action=review > Source/WebCore/inspector/front-end/ObjectPropertiesSection.js:455 > + treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElement(value)); Please add a test for this.
Peter Rybin
Comment 9 2012-10-24 07:26:00 PDT
(In reply to comment #7) > (In reply to comment #3) > > Created an attachment (id=170135) [details] [details] > > UI preview > > We show uncaught exception object as a variable with name <exception>. Could you adhere to the same style for the internal properties you are adding?
Peter Rybin
Comment 10 2012-10-24 07:28:51 PDT
[I'm sorry for the empty comment above]. > > > UI preview > > We show uncaught exception object as a variable with name <exception>. Could you adhere to the same style for the internal properties you are adding? This patch doesn't make property names. They are defined in V8 according to their names in specification. However we could manually restyle them in front-end using RegExp technique, but I'm not sure it's what you'd like to do.
Peter Rybin
Comment 11 2012-11-13 09:10:08 PST
Vsevolod Vlasov
Comment 12 2012-11-13 09:27:10 PST
Comment on attachment 173908 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173908&action=review > LayoutTests/http/tests/inspector/elements-test.js:268 > + return "'" + node.innerHTML + "'"; textContent > LayoutTests/http/tests/inspector/elements-test.js:278 > + dumpTreeElement(treeElement.children[i], prefix + " "); remove brackets for one line for block
Peter Rybin
Comment 13 2012-11-13 10:09:47 PST
Peter Rybin
Comment 14 2012-11-13 10:10:30 PST
(In reply to comment #8) > (From update of attachment 170154 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=170154&action=review > > > Source/WebCore/inspector/front-end/ObjectPropertiesSection.js:455 > > + treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElement(value)); > > Please add a test for this. Done
Peter Rybin
Comment 15 2012-11-13 10:10:56 PST
> > LayoutTests/http/tests/inspector/elements-test.js:268 > > + return "'" + node.innerHTML + "'"; > textContent Done > > LayoutTests/http/tests/inspector/elements-test.js:278 > > + dumpTreeElement(treeElement.children[i], prefix + " "); > remove brackets for one line for block Done
Build Bot
Comment 16 2012-11-13 18:02:56 PST
Comment on attachment 173918 [details] Patch Attachment 173918 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14832130 New failing tests: inspector/debugger/properties-special.html
Yury Semikhatsky
Comment 17 2012-11-14 00:09:52 PST
Comment on attachment 173918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173918&action=review > LayoutTests/inspector/debugger/properties-special.html:61 > + function nodesExpanded() { style nit: { should go on the next line.
Peter Rybin
Comment 18 2012-11-15 08:52:50 PST
Peter Rybin
Comment 19 2012-11-15 08:53:26 PST
> > LayoutTests/inspector/debugger/properties-special.html:61 > > + function nodesExpanded() { > style nit: { should go on the next line. Done
WebKit Review Bot
Comment 20 2012-11-16 01:07:06 PST
Comment on attachment 174458 [details] Patch Clearing flags on attachment: 174458 Committed r134914: <http://trac.webkit.org/changeset/134914>
WebKit Review Bot
Comment 21 2012-11-16 01:07:11 PST
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.