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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 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: third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html b/third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html
index 3ec87597edf16e3bd9cf2dca8a35dc39100582fe..a990004b4d986fa66d1b98e62398f942cb9c1711 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html
@@ -62,13 +62,13 @@ function test()
function cssUISourceCodeAdded(uiSourceCode)
{
- InspectorTest.addResult("Added CSS uiSourceCode: " + uiSourceCode.uri());
+ InspectorTest.addResult("Added CSS uiSourceCode: " + uiSourceCode.url());
InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(scssUISourceCodeAdded);
}
function scssUISourceCodeAdded(uiSourceCode)
{
- InspectorTest.addResult("Added SCSS uiSourceCode: " + uiSourceCode.uri());
+ InspectorTest.addResult("Added SCSS uiSourceCode: " + uiSourceCode.url());
setImmediate(afterStyleSheetAdded);
}
@@ -80,8 +80,8 @@ function test()
function afterStyleSheetAdded()
{
- var cssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(styleSheetURL);
- var scssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://localhost:8000/inspector/resources/example.scss");
+ var cssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForURL(styleSheetURL);
+ var scssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForURL("http://localhost:8000/inspector/resources/example.scss");
InspectorTest.checkUILocation(cssUISourceCode, 0, 3, rawLocationToUILocation(0, 3));
InspectorTest.checkUILocation(scssUISourceCode, 1, 0, rawLocationToUILocation(1, 0));

Powered by Google App Engine
This is Rietveld 408576698