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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
index 68d6ee05abc9f282830c17afb760f7f32dfd856d..cfb8df48defa38420bae1ff843e37261878896e3 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
@@ -32,7 +32,7 @@ function test()
foundStyleSheetHeader.requestContent().then(callback);
}
if (!foundStyleSheetHeader)
- InspectorTest.cssModel.addEventListener(WebInspector.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
+ InspectorTest.cssModel.addEventListener(SDK.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
}
function callback(content)
@@ -43,7 +43,7 @@ function test()
function styleSheetAdded()
{
- InspectorTest.cssModel.removeEventListener(WebInspector.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
+ InspectorTest.cssModel.removeEventListener(SDK.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
findStyleSheet();
}
}
@@ -60,7 +60,7 @@ function test()
InspectorTest.addResult("=== Original stylesheet text: ===");
InspectorTest.addResult(foundStyleSheetText);
- InspectorTest.cssModel.addEventListener(WebInspector.CSSModel.Events.StyleSheetChanged, next, this);
+ InspectorTest.cssModel.addEventListener(SDK.CSSModel.Events.StyleSheetChanged, next, this);
InspectorTest.cssModel.setStyleSheetText(foundStyleSheetHeader.id, "h1 { COLOR: Red; }", true).then(callback);
}

Powered by Google App Engine
This is Rietveld 408576698