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

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: Rebased patch 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/stylesheet-source-mapping.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ab28db87e57390519d3f5251219ec6d8ac2b5501..ece3c7b2a0ec8dea6aa3b38ad7c0dd009e27ff20 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.mainTarget(), cssURL, 0, 1);
+ var cssLocation = new WebInspector.CSSLocation(WebInspector.targetManager.mainTarget(), 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.");
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/stylesheet-source-mapping.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698