RESOLVED FIXED 151790
Uncaught Exception in Web Inspector: TypeError: null is not an object (evaluating 'dataGridNode.element.classList')
https://bugs.webkit.org/show_bug.cgi?id=151790
Summary Uncaught Exception in Web Inspector: TypeError: null is not an object (evalua...
Joseph Pecoraro
Reported 2015-12-02 20:41:48 PST
* SUMMARY Uncaught Exception in Web Inspector TypeError: null is not an object (evaluating 'dataGridNode.element.classList') (at file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Views/TreeOutlineDataGridSynchronizer.js:282:29) * STEPS TO REPRODUCE 1. Inspect about:blank 2. js> var i = 0; setInterval(function() { console.log("log", ++i); }, 1000) 3. Start a timeline 4. Select the JavaScript & Events timeline 5. Wait about 20 seconds (for the timeline to start scrolling and stuff) => Exception
Attachments
[Patch] Proposed Fix (3.76 KB, patch)
2015-12-03 13:07 PST, Matt Baker
no flags
[Patch] Proposed Fix (3.79 KB, patch)
2015-12-03 13:17 PST, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-12-02 20:42:13 PST
Matt Baker
Comment 2 2015-12-03 13:07:48 PST
Created attachment 266550 [details] [Patch] Proposed Fix
Timothy Hatcher
Comment 3 2015-12-03 13:13:35 PST
Comment on attachment 266550 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=266550&action=review > Source/WebInspectorUI/UserInterface/Views/DataGrid.js:1331 > + this._hidden = x; x || false; > Source/WebInspectorUI/UserInterface/Views/DataGrid.js:1333 > + this._element.classList.toggle("hidden"); Should pass this._hidden as the second arg.
Matt Baker
Comment 4 2015-12-03 13:17:22 PST
Created attachment 266551 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 5 2015-12-03 14:06:32 PST
Comment on attachment 266551 [details] [Patch] Proposed Fix Clearing flags on attachment: 266551 Committed r193375: <http://trac.webkit.org/changeset/193375>
WebKit Commit Bot
Comment 6 2015-12-03 14:06:34 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.