Bug 144757 - Web Inspector: BasicBlockAnnotator highlights incorrect range for first statement with class
Summary: Web Inspector: BasicBlockAnnotator highlights incorrect range for first state...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-05-07 13:46 PDT by Joseph Pecoraro
Modified: 2016-12-13 15:33 PST (History)
5 users (show)

See Also:


Attachments
[ISSUE] Test case (1.33 KB, application/zip)
2015-05-07 13:46 PDT, Joseph Pecoraro
no flags Details
[IMAGE] Issue, see the top line (159.88 KB, image/png)
2015-05-07 13:47 PDT, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-05-07 13:46:56 PDT
Created attachment 252620 [details]
[ISSUE] Test case

* SUMMARY
BasicBlockAnnotator highlights incorrect range for first statement with class.

See attached screenshot. "A" is highlighted, but I expected "Alpha = class Alpha {" to be highlighted like the other class statements below it.

* STEPS TO REPRODUCE
1. Inspect attached test page (in zip) [type-test.html]
2. Select Resource "type-test.js"
3. Enable Type Profiling
4. Reload
  => First line is not properly highlighted as evaluated
Comment 1 Radar WebKit Bug Importer 2015-05-07 13:47:24 PDT
<rdar://problem/20861228>
Comment 2 Joseph Pecoraro 2015-05-07 13:47:29 PDT
Created attachment 252622 [details]
[IMAGE] Issue, see the top line