Bug 154004

Summary: Web Inspector: Uncaught exception merging script profiler records
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2016-02-08 13:41:13 PST
* SUMMARY
Uncaught exception merging script profiler records.

[Error] Uncaught exception in inspector page while handling event ScriptProfiler.trackingComplete
TypeError: null is not an object (evaluating 'record2.startTime')
Comment 1 Radar WebKit Bug Importer 2016-02-08 13:41:42 PST
<rdar://problem/24554961>
Comment 2 Joseph Pecoraro 2016-02-08 13:42:12 PST
Created attachment 270879 [details]
[PATCH] Proposed Fix
Comment 3 BJ Burg 2016-02-08 13:46:53 PST
Comment on attachment 270879 [details]
[PATCH] Proposed Fix

r=me

is there a way to test this regression?
Comment 4 Joseph Pecoraro 2016-02-08 19:05:46 PST
> is there a way to test this regression?

There is a lot in TimelineManager that we probably should be testing. But I'd rather leave it until we rewrite some more of this code later. The Web wrapping events stuff is unfortunate. As we get closer to a ProfileView and TimelinesUI stuff, we might even be able to drop some of this code.
Comment 5 WebKit Commit Bot 2016-02-08 19:33:20 PST
Comment on attachment 270879 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 270879

Committed r196301: <http://trac.webkit.org/changeset/196301>
Comment 6 WebKit Commit Bot 2016-02-08 19:33:24 PST
All reviewed patches have been landed.  Closing bug.