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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml
diff --git a/third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml b/third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml
index 793ea7d1b2dc886076eedd630a785a85a0574529..946a183bc774c65d565af355be1ea2c8cc1efba5 100644
--- a/third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml
+++ b/third_party/WebKit/LayoutTests/accessibility/insert-adjacent-html-causes-crash.xhtml
@@ -2,7 +2,7 @@
<li xmlns="http://www.w3.org/1999/xhtml">
<h1 id="x">x<h1></h1></h1>
<script><![CDATA[
- if (testRunner)
+ if (window.testRunner)
testRunner.dumpAsText();
// Calling accessibleElementById on a nonexistant id has the side effect
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/squashing/dont-squash-into-iframes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698