| Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
|
| index b226aa8df62d0eb1d6cb58dd2bfa8141bc2d660b..bd6bfa102b662347f27a531bf1adefd9dfec72c0 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
|
| @@ -19,7 +19,7 @@ function test()
|
| function responseReceived(requestId, time, resourceType, response)
|
| {
|
| var request = InspectorTest.networkLog.requestForId(requestId);
|
| - if (/x-frame-options-deny\.cgi/.exec(request.url)) {
|
| + if (/x-frame-options-deny\.cgi/.exec(request.url())) {
|
| InspectorTest.addResult("Received response for x-frame-options-deny.cgi");
|
| InspectorTest.addResult("SUCCESS");
|
| InspectorTest.completeTest();
|
| @@ -29,14 +29,14 @@ function test()
|
| function loadingFinished(requestId, finishTime)
|
| {
|
| var request = InspectorTest.networkLog.requestForId(requestId);
|
| - if (/x-frame-options-deny\.cgi/.exec(request.url))
|
| + if (/x-frame-options-deny\.cgi/.exec(request.url()))
|
| InspectorTest.completeTest();
|
| }
|
|
|
| function loadingFailed(requestId, time, localizedDescription, canceled)
|
| {
|
| var request = InspectorTest.networkLog.requestForId(requestId);
|
| - if (/x-frame-options-deny\.cgi/.exec(request.url)) {
|
| + if (/x-frame-options-deny\.cgi/.exec(request.url())) {
|
| InspectorTest.addResult("TODO(mkwst): This started failing when we moved XFO to the browser.");
|
| InspectorTest.completeTest();
|
| }
|
|
|