Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: trunk/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html

Issue 196743008: Revert 169371 "DevTools: defer styles delta calculation to until..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html
===================================================================
--- trunk/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html (revision 169387)
+++ trunk/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html (working copy)
@@ -13,12 +13,10 @@
function test()
{
WebInspector.inspectorView.showPanel("elements");
- WebInspector.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetAdded);
- InspectorTest.evaluateInPage("addStyle()");
+ InspectorTest.evaluateInPage("addStyle()", step0);
- function stylesheetAdded()
+ function step0()
{
- WebInspector.cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetAdded);
InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
}

Powered by Google App Engine
This is Rietveld 408576698