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

Unified Diff: LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html

Issue 404763002: DevTools: Inject styleSheetId in WebInspector.CSSLocation constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 years, 5 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: LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
diff --git a/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html b/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
index af30034bf3d2e2718bcb1b6b8adf694103b1bc1d..50150b7159857a7bc9010ef89e593ca589037272 100644
--- a/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
+++ b/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html
@@ -69,7 +69,7 @@ function test()
var namePrefix = "update-locations-on-filesystem-scss-load."
var cssURL = resourcesURL + namePrefix + "css";
var scssURL = resourcesURL + namePrefix + "scss";
- var cssLocation = new WebInspector.CSSLocation(WebInspector.targetManager.activeTarget(), cssURL, 0, 1);
+ var cssLocation = new WebInspector.CSSLocation(WebInspector.targetManager.activeTarget(), 1, cssURL, 0, 1);
var scssContent =
["a {",
" foo: bar;",
@@ -97,7 +97,7 @@ function test()
addMockHeader(cssURL, cssURL + ".map");
InspectorTest.addResult("Adding network resource.");
InspectorTest.addMockUISourceCodeToWorkspace(cssURL, WebInspector.resourceTypes.Stylesheet, cssContent);
- liveLocation = cssLocation.createLiveLocation("1", updateDelegate);
+ liveLocation = cssLocation.createLiveLocation(updateDelegate);
dumpLiveLocation();
InspectorTest.addResult("Adding filesystem SCSS.");

Powered by Google App Engine
This is Rietveld 408576698