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

Unified Diff: third_party/WebKit/LayoutTests/fast/serviceworker/access-container-with-invalid-context.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 years, 4 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/fast/serviceworker/access-container-with-invalid-context.html
diff --git a/third_party/WebKit/LayoutTests/fast/serviceworker/access-container-with-invalid-context.html b/third_party/WebKit/LayoutTests/fast/serviceworker/access-container-with-invalid-context.html
index 12d9d284e864c05080f8b6183c2b73996f8fc9c1..8baa3ae2eaa6b619f59847f3636f2e5b787610e7 100644
--- a/third_party/WebKit/LayoutTests/fast/serviceworker/access-container-with-invalid-context.html
+++ b/third_party/WebKit/LayoutTests/fast/serviceworker/access-container-with-invalid-context.html
@@ -5,7 +5,7 @@
<script>
var test = async_test("This test checks if accessing navigator.serviceWorker doesn't crash with invalid frame");
-if (testRunner)
+if (window.testRunner)
testRunner.setCanOpenWindows();
function callback() {

Powered by Google App Engine
This is Rietveld 408576698