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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.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/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
index d654b4fa0491f65fe048f202019a24374f281237..a7a1fbc809a3d48df13c29fae1e50d59c313b775 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
@@ -18,13 +18,13 @@ function test()
InspectorTest.addResult("Creating filesystem with the SCSS file...");
var fs = new InspectorTest.TestFileSystem("file:///var/www");
fs.root.addFile("update-locations-on-filesystem-scss-load.scss", ["a {", " foo: bar;", "/* COMMENT */", " font-size: 12px;", "}"].join("\n"));
- fs.addFileMapping(WebInspector.ParsedURL.completeURL(InspectorTest.mainTarget.inspectedURL(), "resources/source/"), "/");
+ fs.addFileMapping(Common.ParsedURL.completeURL(InspectorTest.mainTarget.inspectedURL(), "resources/source/"), "/");
fs.reportCreated(fileSystemCreated);
function fileSystemCreated()
{
InspectorTest.addResult("Loading raw css with mapping...");
- InspectorTest.cssModel.addEventListener(WebInspector.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
+ InspectorTest.cssModel.addEventListener(SDK.CSSModel.Events.StyleSheetAdded, styleSheetAdded);
InspectorTest.evaluateInPage("loadCSS()");
}
@@ -34,9 +34,9 @@ function test()
{
InspectorTest.addResult("Stylesheet was added, dumping location:");
var header = event.data;
- var cssLocation = new WebInspector.CSSLocation(header, 0, 1);
- liveLocation = WebInspector.cssWorkspaceBinding.createLiveLocation(cssLocation, function() {}, new WebInspector.LiveLocationPool());
- InspectorTest.cssModel.addEventListener(WebInspector.CSSModel.Events.SourceMapAttached, afterBind);
+ var cssLocation = new SDK.CSSLocation(header, 0, 1);
+ liveLocation = Bindings.cssWorkspaceBinding.createLiveLocation(cssLocation, function() {}, new Bindings.LiveLocationPool());
+ InspectorTest.cssModel.addEventListener(SDK.CSSModel.Events.SourceMapAttached, afterBind);
dumpLiveLocation();
}

Powered by Google App Engine
This is Rietveld 408576698