WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
140727
Web Inspector: Don't allow the BasicBlockAnnotator to highlight a section if it's only a closing brace
https://bugs.webkit.org/show_bug.cgi?id=140727
Summary
Web Inspector: Don't allow the BasicBlockAnnotator to highlight a section if ...
Saam Barati
Reported
2015-01-21 09:02:04 PST
There are times when a textual basic block will only consist of blank space, this can happen in the following situation: if (foo) { bar(); return; // Or: throw, break, continue. } // This closing brace will be highlighted, because the code after the return statement is unreachable. This is a common enough case that the BasicBlockAnnotator should special case it.
Attachments
the patch
(3.17 KB, patch)
2015-01-21 13:57 PST
,
Saam Barati
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-01-21 09:02:25 PST
<
rdar://problem/19548864
>
Saam Barati
Comment 2
2015-01-21 13:57:14 PST
Created
attachment 245083
[details]
the patch
WebKit Commit Bot
Comment 3
2015-01-21 14:51:43 PST
Comment on
attachment 245083
[details]
the patch Clearing flags on attachment: 245083 Committed
r178863
: <
http://trac.webkit.org/changeset/178863
>
WebKit Commit Bot
Comment 4
2015-01-21 14:51:46 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.
Top of Page
Format For Printing
XML
Clone This Bug