Web Inspector: Closed computed style sidebar pane rebuilds, resulting in slowness
authorapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 10:00:52 +0000 (10:00 +0000)
committerapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 10:00:52 +0000 (10:00 +0000)
commitb90a213d303f55d11e376fbfdd5f9540953c39a0
tree5b09d06bc117cf52ee56d9817cd922dcbfedbca6
parent1dd210ccdda28480a3a30873f50831af08763496
Web Inspector: Closed computed style sidebar pane rebuilds, resulting in slowness
https://bugs.webkit.org/show_bug.cgi?id=77865

Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/styles/lazy-computed-style.html

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane):
(WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate):
(WebInspector.StylesSidebarPane.prototype._refreshComputedStyleSection):
(WebInspector.ComputedStyleSidebarPane.prototype.expand):
(WebInspector.ComputedStylePropertiesSection.prototype.onpopulate):

LayoutTests:

* http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.selectNodeAndWaitForStylesWithComputed.stylesCallback):
(initialize_ElementTest.InspectorTest.selectNodeAndWaitForStylesWithComputed):
* inspector/elements/elements-panel-styles.html:
* inspector/styles/css-live-edit.html:
* inspector/styles/lazy-computed-style-expected.txt: Added.
* inspector/styles/lazy-computed-style.html: Added.
* inspector/styles/styles-computed-trace.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/elements-test.js
LayoutTests/inspector/elements/elements-panel-styles.html
LayoutTests/inspector/styles/css-live-edit.html
LayoutTests/inspector/styles/lazy-computed-style-expected.txt [new file with mode: 0644]
LayoutTests/inspector/styles/lazy-computed-style.html [new file with mode: 0644]
LayoutTests/inspector/styles/styles-computed-trace.html
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/StylesSidebarPane.js