WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
28280
WebInspector: Evaluating objects while on a breakpoint dumps string representation instead of live object.
https://bugs.webkit.org/show_bug.cgi?id=28280
Summary
WebInspector: Evaluating objects while on a breakpoint dumps string represent...
Pavel Feldman
Reported
2009-08-13 14:26:10 PDT
1. Open Web Inspector 2. Hit Pause on Scripts Panel 3. Do something on page to execute some JS 4. In console type "window" Expected: live expandable DOMWindow object appears in console Actual: [object DOMWindow] appears in the console.
Attachments
patch
(4.90 KB, patch)
2009-08-14 08:19 PDT
,
Pavel Feldman
timothy
: review-
Details
Formatted Diff
Diff
patch
(4.93 KB, patch)
2009-08-14 13:39 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2009-08-14 08:19:17 PDT
Created
attachment 34841
[details]
patch
Timothy Hatcher
Comment 2
2009-08-14 08:46:29 PDT
Comment on
attachment 34841
[details]
patch
> + function(result, isException) { > + if (!isException) > + result = JSON.parse(result); > + reportCompletions(result, isException); > + });
Can you break this out into a named function so it is easier to read? It took me a second to realize this was being passed as an argument.
Pavel Feldman
Comment 3
2009-08-14 13:39:36 PDT
Created
attachment 34870
[details]
patch
>> Can you break this out into a named function so it is easier to read? It took >> me a second to realize this was being passed as an argument.
Done. Thanks for review!
Pavel Feldman
Comment 4
2009-08-15 01:59:36 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/front-end/ConsoleView.js M WebCore/inspector/front-end/ScriptsPanel.js Committed
r47318
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