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

Unified Diff: third_party/WebKit/LayoutTests/inspector/reveal-objects.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/inspector/reveal-objects.html
diff --git a/third_party/WebKit/LayoutTests/inspector/reveal-objects.html b/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
index 02ddde285df60a9abfce25fb1b1471ebc25beb6c..5437ac9dee85444b0ae39996939a31d988328ff8 100644
--- a/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
+++ b/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
@@ -60,7 +60,7 @@ function test() {
{
var requests = InspectorTest.networkRequests();
for (var i = 0; i < requests.length; ++i) {
- if (requests[i].url.indexOf("missing.js") !== -1) {
+ if (requests[i].url().indexOf("missing.js") !== -1) {
requestWithoutResource = requests[i];
break;
}
@@ -120,7 +120,7 @@ function test() {
function revealed(request)
{
- InspectorTest.addResult("Request " + new Common.ParsedURL(request.url).lastPathComponent + " revealed in the Network panel");
+ InspectorTest.addResult("Request " + new Common.ParsedURL(request.url()).lastPathComponent + " revealed in the Network panel");
}
}

Powered by Google App Engine
This is Rietveld 408576698