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

Unified Diff: LayoutTests/fast/events/panScroll-click-hyperlink.html

Issue 54473004: Make js-test-post a noop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add mac NeedsRebaselines Created 7 years, 1 month 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
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.");

Powered by Google App Engine
This is Rietveld 408576698