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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
index 841bdc61ee2c0172f81be6ce56c918aad6940cc8..be51962b17f97c9ebf9143161ff3c171ee20ed05 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
@@ -275,8 +275,8 @@ function test()
function afterScriptAdded()
{
InspectorTest.addResult("afterScriptAdded");
- var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://localhost:8000/inspector/resources/source1.js");
- var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://localhost:8000/inspector/resources/source2.js");
+ var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForURL("http://localhost:8000/inspector/resources/source1.js");
+ var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForURL("http://localhost:8000/inspector/resources/source2.js");
InspectorTest.checkUILocation(uiSourceCode1, 4, 4, uiLocation(script, 0, 81));
InspectorTest.checkUILocation(uiSourceCode1, 5, 4, uiLocation(script, 0, 93));
@@ -340,8 +340,8 @@ function test()
function afterScriptAdded(uiSourceCode)
{
- var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://localhost:8000/inspector/resources/source1.js");
- var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://localhost:8000/inspector/resources/source2.js");
+ var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForURL("http://localhost:8000/inspector/resources/source1.js");
+ var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForURL("http://localhost:8000/inspector/resources/source2.js");
InspectorTest.checkUILocation(uiSourceCode1, 4, 4, uiLocation(script, 0, 81));
InspectorTest.checkUILocation(uiSourceCode1, 5, 4, uiLocation(script, 0, 93));
@@ -396,7 +396,7 @@ function test()
function originalUISourceCodeAdded(uiSourceCode)
{
- var uiSourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL("http://example.com/source.js");
+ var uiSourceCode = InspectorTest.testWorkspace.uiSourceCodeForURL("http://example.com/source.js");
InspectorTest.checkUILocation(uiSourceCode, 2, 4, uiLocation(script, 0, 18));
InspectorTest.checkRawLocation(script, 0, 18, InspectorTest.testDebuggerWorkspaceBinding.uiLocationToRawLocation(target, uiSourceCode, 2, 4));
@@ -430,7 +430,7 @@ function test()
console.error = function() {}; // Error message is platform dependent.
InspectorTest.testDebuggerWorkspaceBinding._targetToData.get(target)._parsedScriptSource({ data: script });
var location = uiLocation(script, 0, 0);
- InspectorTest.addResult(location.uiSourceCode.originURL());
+ InspectorTest.addResult(location.uiSourceCode.url());
next();
}
},
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698