Index: LayoutTests/fast/events/panScroll-click-hyperlink.html |
diff --git a/LayoutTests/fast/events/panScroll-click-hyperlink.html b/LayoutTests/fast/events/panScroll-click-hyperlink.html |
index ef0aba107c99efc24f4757d8a0b7b8bf444c6688..ccb206b62f57cc555976c03b000dd8314f53dbb3 100644 |
--- a/LayoutTests/fast/events/panScroll-click-hyperlink.html |
+++ b/LayoutTests/fast/events/panScroll-click-hyperlink.html |
@@ -2,7 +2,7 @@ |
<head> |
<script src="../js/resources/js-test-pre.js"></script> |
<script> |
- |
+window.jsTestIsAsync = true; |
if (window.testRunner) |
testRunner.waitUntilDone() |
@@ -43,14 +43,12 @@ function runTest() |
function finished() |
{ |
- debug('<br /><span class="pass">TEST COMPLETE</span>'); |
document.body.removeChild(document.getElementById("test-container")); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
+ finishJSTest(); |
} |
function clickHyperlinksIfScrolledToBottomOtherwiseFail() |
-{ |
+{ |
var didScrollToBottom = testContainer.scrollTop === testContainer.scrollHeight - testContainer.clientHeight; |
if (!didScrollToBottom) { |
testFailed("either pan scrolling is disabled or this platform doesn't support pan scrolling."); |