[CI] Remove "window." prefix in layout tests for test_shell injected global names

This doesn't include those in 'if' statements.

Bug: 703768
TBR: already agreed in blink-dev; too many files.
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I499b91695e177d2a498d96cf20537ee146e22d06
Reviewed-on: https://chromium-review.googlesource.com/1057947
Reviewed-by: Xianzhu Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#558467}
diff --git a/third_party/WebKit/LayoutTests/scrollbars/scrollevent-iframe-no-scrolling.html b/third_party/WebKit/LayoutTests/scrollbars/scrollevent-iframe-no-scrolling.html
index 1577634..4dbcd0d 100644
--- a/third_party/WebKit/LayoutTests/scrollbars/scrollevent-iframe-no-scrolling.html
+++ b/third_party/WebKit/LayoutTests/scrollbars/scrollevent-iframe-no-scrolling.html
@@ -9,13 +9,13 @@
             {
                 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrollTo(): FAILED";
                 if (window.testRunner)
-                    window.testRunner.notifyDone();
+                    testRunner.notifyDone();
             }
             function scrollEventFired()
             {
                 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrollTo(): PASS";
                 if (window.testRunner)
-                    window.testRunner.notifyDone();
+                    testRunner.notifyDone();
             }
             function runTest()
             {