Bug 174468 - Web Inspector: overlay page highlight doesn't disappear when a page is constantly updating
Summary: Web Inspector: overlay page highlight doesn't disappear when a page is consta...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-13 11:16 PDT by Devin Rousso
Modified: 2017-07-17 19:00 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.72 KB, patch)
2017-07-13 11:37 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2017-07-13 11:16:36 PDT
* Reproduction:

var log = document.body.appendChild(document.createElement("div"));
function frame(timestamp) {
    log.textContent = Date.now();
    window.requestAnimationFrame(frame);
}
window.requestAnimationFrame(frame);


* Steps to reproduce:
1. Open elements tab on "about:blank"
2. Paste above code into console
3. Highlight <div>
4. Move mouse off of DOM tree
=> Page is still highlighted
Comment 1 Devin Rousso 2017-07-13 11:37:15 PDT
Created attachment 315363 [details]
Patch
Comment 2 BJ Burg 2017-07-13 12:07:51 PDT
Comment on attachment 315363 [details]
Patch

Nice catch!
Comment 3 WebKit Commit Bot 2017-07-17 19:00:53 PDT
Comment on attachment 315363 [details]
Patch

Clearing flags on attachment: 315363

Committed r219596: <http://trac.webkit.org/changeset/219596>
Comment 4 WebKit Commit Bot 2017-07-17 19:00:54 PDT
All reviewed patches have been landed.  Closing bug.