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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.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-4/styles-history.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
index f7f4e1cfdb3a0fa1f8bbf827ae1072e79adf1472..fb4432c3153899b89912c216dc4b0914417264c8 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
@@ -27,12 +27,12 @@ function test()
uiSourceCode = currentUISourceCode;
next();
}
- WebInspector.workspace.uiSourceCodes().forEach(visitUISourceCodes);
+ Workspace.workspace.uiSourceCodes().forEach(visitUISourceCodes);
},
function testSetResourceContentMinor(next)
{
- InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
uiSourceCode.setWorkingCopy("body {\n margin: 15px;\n padding: 10px;\n}");
function styleUpdatedMinor()
@@ -43,12 +43,12 @@ function test()
function testSetResourceContentMajor(next)
{
- InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
uiSourceCode.setWorkingCopy("body {\n margin: 20px;\n padding: 10px;\n}");
function styleUpdatedMinor()
{
- InspectorTest.addSniffer(WebInspector.StyleFile.prototype, "_styleContentSet", styleUpdatedMajor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMajor);
uiSourceCode.commitWorkingCopy(function() { });
function styleUpdatedMajor()
@@ -76,7 +76,7 @@ function test()
function step1(style)
{
var property = getLiveProperty(style, "margin");
- InspectorTest.addSniffer(WebInspector.UISourceCode.prototype, "addRevision", dumpHistory(next));
+ InspectorTest.addSniffer(Workspace.UISourceCode.prototype, "addRevision", dumpHistory(next));
property.setText("margin:30px;", true, true);
}
}
@@ -103,7 +103,7 @@ function test()
var rule = matchedStyles[i].rule;
if (rule.origin !== "regular")
continue;
- callback(new WebInspector.CSSStyleDeclaration(InspectorTest.cssModel, null, rule.style));
+ callback(new SDK.CSSStyleDeclaration(InspectorTest.cssModel, null, rule.style));
return;
}
InspectorTest.addResult("error: did not find any regular rule");

Powered by Google App Engine
This is Rietveld 408576698