AX: AXIsolatedTree::updateChildren sometimes fails to update isolated subtrees when...
[WebKit-https.git] / LayoutTests / fast / replaced / image-map.html
index 2edc91f4eab04579bd26fd98a41adb5938c672d6..024c3beb8744286623e73cb9aa6c6f70827fbc09 100644 (file)
@@ -1,8 +1,8 @@
 <head>
 <script>
 function test() {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         eventSender.mouseMoveTo(50, 50);
         eventSender.mouseDown();
         eventSender.mouseUp();
@@ -12,6 +12,6 @@ function test() {
 </head>
 <body onload="test()">
 <img id="image" height="100" width="100" src="resources/square-blue-100x100.png" usemap="#map">
-<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:document.getElementById('result').innerHTML='area clicked'"></map>
+<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:void(document.getElementById('result').innerHTML='area clicked')"></map>
 <div id="result">no area click seen yet</div>
 </body>