RESOLVED FIXED158808
Uncaught Exception: TypeError: undefined is not an object (evaluating 'imageElement.classList')
https://bugs.webkit.org/show_bug.cgi?id=158808
Summary Uncaught Exception: TypeError: undefined is not an object (evaluating 'imageE...
Joseph Pecoraro
Reported 2016-06-15 13:36:52 PDT
I see this occasionally. ------- Auto-generated details: Inspected URL: http://www.apple.com/watch/ Uncaught exceptions: - TypeError: undefined is not an object (evaluating 'imageElement.classList') (at HeapAllocationsTimelineOverviewGraph.js:112:21) _updateSnapshotMarkers @ HeapAllocationsTimelineOverviewGraph.js:112:21 updateSelectedRecord @ HeapAllocationsTimelineOverviewGraph.js:95:36 ? @ TimelineOverviewGraph.js:248:38 ------- * STEPS TO REPRODUCE 1. Inspect apple.com/watch/ 2. Start a timeline recording and stop 3. Add Allocations timeline 4. Wait 10 seconds so a new recording would be offscreen of the overview graph 5. Take a heap snapshot 6. Go into that heap snapshot => Exception * NOTES I think the issue here is that the snapshot doesn't have an image element in the overview graph, so we should have bailed earlier.
Attachments
[PATCH] Proposed Fix (1.91 KB, patch)
2016-06-15 13:42 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-06-15 13:38:54 PDT
Joseph Pecoraro
Comment 2 2016-06-15 13:42:35 PDT
Created attachment 281385 [details] [PATCH] Proposed Fix
Blaze Burg
Comment 3 2016-06-15 13:54:42 PDT
Comment on attachment 281385 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 4 2016-06-15 14:15:12 PDT
Comment on attachment 281385 [details] [PATCH] Proposed Fix Clearing flags on attachment: 281385 Committed r202106: <http://trac.webkit.org/changeset/202106>
WebKit Commit Bot
Comment 5 2016-06-15 14:15:16 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.