Summary: | Web Inspector: Code coverage profiler: incorrect "in-viewport" detection algorithm | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||
Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 9 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Nikita Vasilyev
2015-11-10 12:21:18 PST
Let's outline all the possible scenarios. Intersect: A: [---] B: [---] A: [-----] B: [-] A: [-] B: [-----] A: [---] B: [---] Don't intersect: A: [---] B: [---] A: [---] B: [---] The easiest way to check if two ranges intersect is to check if they don't intersect. It is also the fastest way. Created attachment 265220 [details]
Patch
Comment on attachment 265220 [details]
Patch
r=me
Comment on attachment 265220 [details] Patch Clearing flags on attachment: 265220 Committed r192264: <http://trac.webkit.org/changeset/192264> All reviewed patches have been landed. Closing bug. |