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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html

Issue 2626553002: [Devtools][Code health] Changed NetworkRequest.url to proper getter/setter (Closed)
Patch Set: changes Created 3 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/network/download.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
index 6c14b7a622cf2b919f6168f07c67803901cef9cf..4797aeeba2eb9cc29724a0961645aa765b1b7fa3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/download.html
@@ -19,7 +19,7 @@ function test()
function responseReceived(requestId, time, resourceType, response)
{
var request = InspectorTest.networkLog.requestForId(requestId);
- if (/download\.zzz/.exec(request.url)) {
+ if (/download\.zzz/.exec(request.url())) {
InspectorTest.addResult("Received response for download.zzz");
InspectorTest.addResult("SUCCESS");
InspectorTest.completeTest();
@@ -29,14 +29,14 @@ function test()
function loadingFinished(requestId, finishTime)
{
var request = InspectorTest.networkLog.requestForId(requestId);
- if (/download\.zzz/.exec(request.url))
+ if (/download\.zzz/.exec(request.url()))
InspectorTest.completeTest();
}
function loadingFailed(requestId, time, localizedDescription, canceled)
{
var request = InspectorTest.networkLog.requestForId(requestId);
- if (/download\.zzz/.exec(request.url))
+ if (/download\.zzz/.exec(request.url()))
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698