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

Unified Diff: LayoutTests/http/tests/inspector/network/x-frame-options-deny.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
diff --git a/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html b/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
index de58c6a6f9201df9f3197ba8761e349e5228caf4..079775a936f4a41a358446769b633bc2e72361f3 100644
--- a/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
+++ b/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html
@@ -18,7 +18,7 @@ function test()
function responseReceived(requestId, time, resourceType, response)
{
- var request = WebInspector.networkLog.requestForId(requestId);
+ var request = InspectorTest.networkLog.requestForId(requestId);
if (/x-frame-options-deny\.cgi/.exec(request.url)) {
InspectorTest.addResult("Received response for x-frame-options-deny.cgi");
InspectorTest.addResult("SUCCESS");
@@ -28,14 +28,14 @@ function test()
function loadingFinished(requestId, finishTime)
{
- var request = WebInspector.networkLog.requestForId(requestId);
+ var request = InspectorTest.networkLog.requestForId(requestId);
if (/x-frame-options-deny\.cgi/.exec(request.url))
InspectorTest.completeTest();
}
function loadingFailed(requestId, time, localizedDescription, canceled)
{
- var request = WebInspector.networkLog.requestForId(requestId);
+ var request = InspectorTest.networkLog.requestForId(requestId);
if (/x-frame-options-deny\.cgi/.exec(request.url))
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698