WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(5.93 KB, patch)
2012-02-08 07:37 PST
,
Alexander Pavlov (apavlov)
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2012-02-08 05:04:08 PST
Created
attachment 126062
[details]
Patch
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
Created
attachment 126082
[details]
Patch
Alexander Pavlov (apavlov)
Comment 5
2012-02-09 01:51:47 PST
Committed
r107201
: <
http://trac.webkit.org/changeset/107201
>
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