RESOLVED FIXED Bug 78086
Web Inspector: hovering over element with :hover style halts inspector
https://bugs.webkit.org/show_bug.cgi?id=78086
Summary Web Inspector: hovering over element with :hover style halts inspector
Pavel Feldman
Reported 2012-02-08 01:18:33 PST
- Inspect the inspector - Choose inspect element on one of the watch expressions - Select <li> in the elements panel - Hover over the watch expression in the UI Actual: inspector front-end hangs The reason is that while moving the mouse over the watch expression, Element::didModifyAttribute is called and propagated to InspectorInstrumentation::didModifyDOMAttr hundreds time a second. There is no throttling, so front-end is trying to update styles infinite amount of times.
Attachments
Patch (5.81 KB, patch)
2012-02-08 05:04 PST, Alexander Pavlov (apavlov)
no flags
Patch (5.93 KB, patch)
2012-02-08 07:37 PST, Alexander Pavlov (apavlov)
pfeldman: review+
Alexander Pavlov (apavlov)
Comment 1 2012-02-08 05:04:08 PST
WebKit Review Bot
Comment 2 2012-02-08 05:39:10 PST
Comment on attachment 126062 [details] Patch Attachment 126062 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11461399 New failing tests: inspector/styles/commit-selector.html inspector/styles/styles-change-node-while-editing.html inspector/styles/override-screen-size.html inspector/styles/styles-disable-inherited.html
Pavel Feldman
Comment 3 2012-02-08 06:37:45 PST
Comment on attachment 126062 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126062&action=review > Source/WebCore/inspector/front-end/StylesSidebarPane.js:240 > + this._executeRebuildUpdateTimer = setTimeout(this._executeRebuildUpdate.bind(this, node, callback)); As we agreed offline, we should not rely on the atomic nature of incoming event sequences.
Alexander Pavlov (apavlov)
Comment 4 2012-02-08 07:37:00 PST
Alexander Pavlov (apavlov)
Comment 5 2012-02-09 01:51:47 PST
Note You need to log in before you can comment on or make changes to this bug.