WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143428
Web Inspector: Regression: Map instances don't expand
https://bugs.webkit.org/show_bug.cgi?id=143428
Summary
Web Inspector: Regression: Map instances don't expand
Nikita Vasilyev
Reported
2015-04-05 16:55:30 PDT
Created
attachment 250175
[details]
Empty map To reproduce: var m = new Map; for (var i = 0; i < 10; i++) m.set(i, "Zoidberg") console.dir(m); Map doesn't expand, the following error is thrown: [Error] Uncaught exception in inspector page while dispatching callback for command Runtime.getCollectionEntries: ReferenceError: Cannot access uninitialized variable. ReferenceError: Cannot access uninitialized variable.ObjectTreeMapEntryTreeElement@.../Views/ObjectTreeMapEntryTreeElement.js:33:9 ObjectTreeMapKeyTreeElement@.../Views/ObjectTreeMapEntryTreeElement.js:88:14 _updateEntries@.../Views/ObjectTreeView.js:255:87 _updateChildren@.../Views/ObjectTreeView.js:248:21 _updateChildren@[native code] .../Resources/Protocol/RemoteObject.js:369:21 _dispatchCallback@.../Protocol/InspectorBackend.js:181:31 dispatch@.../Protocol/InspectorBackend.js:86:35 dispatchNextQueuedMessageFromBackend@.../Resources/Protocol/MessageDispatcher.js:42:34 _dispatchCallback (InspectorBackend.js, line 183) dispatch (InspectorBackend.js, line 86) dispatchNextQueuedMessageFromBackend (MessageDispatcher.js, line 42)
Attachments
Empty map
(12.67 KB, image/png)
2015-04-05 16:55 PDT
,
Nikita Vasilyev
no flags
Details
[PATCH] Proposed Fix
(3.51 KB, patch)
2015-04-05 17:22 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-04-05 16:55:55 PDT
<
rdar://problem/20429794
>
Joseph Pecoraro
Comment 2
2015-04-05 17:11:54 PDT
I thought I had caught this in review. super(this._object, propertyPath); Cannot use "this" before the super call. Easy fix.
Joseph Pecoraro
Comment 3
2015-04-05 17:22:22 PDT
Created
attachment 250179
[details]
[PATCH] Proposed Fix
Brian Burg
Comment 4
2015-04-05 18:07:48 PDT
Comment on
attachment 250179
[details]
[PATCH] Proposed Fix r=me Is this caught by an ESLint rule?
WebKit Commit Bot
Comment 5
2015-04-05 18:57:21 PDT
Comment on
attachment 250179
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 250179 Committed
r182372
: <
http://trac.webkit.org/changeset/182372
>
WebKit Commit Bot
Comment 6
2015-04-05 18:57:25 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.
Top of Page
Format For Printing
XML
Clone This Bug