Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / security / contentSecurityPolicy / 1.1 / scriptnonce-allowed.html
index ef3fc0a..23454e2 100644 (file)
@@ -3,8 +3,8 @@
     <head>
         <meta http-equiv="X-WebKit-CSP" content="script-nonce noncynonce;">
         <script nonce="noncynonce">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         </script>
         <script nonce="noncynonce">
             alert('PASS (1/1)');