REGRESSION (r234488): Layout test fast/events/ios/keyboard-scrolling-repeat.html...
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 23:35:08 +0000 (23:35 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Aug 2018 23:35:08 +0000 (23:35 +0000)
<rdar://problem/42878480>

* fast/events/ios/keyboard-scrolling-repeat-expected.txt: Removed.
* fast/events/ios/keyboard-scrolling-repeat.html: Removed.
Remove a test that can't work anymore.
If we need to re-write it it will probably need to be an API test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/events/ios/keyboard-scrolling-repeat-expected.txt [deleted file]
LayoutTests/fast/events/ios/keyboard-scrolling-repeat.html [deleted file]

index 3840328..c941428 100644 (file)
@@ -1,3 +1,13 @@
+2018-08-02  Tim Horton  <timothy_horton@apple.com>
+
+        REGRESSION (r234488): Layout test fast/events/ios/keyboard-scrolling-repeat.html is timing out
+        <rdar://problem/42878480>
+
+        * fast/events/ios/keyboard-scrolling-repeat-expected.txt: Removed.
+        * fast/events/ios/keyboard-scrolling-repeat.html: Removed.
+        Remove a test that can't work anymore.
+        If we need to re-write it it will probably need to be an API test.
+
 2018-08-02  Megan Gardner  <megan_gardner@apple.com>
 
         Reformat editable selection tests to remove potential flakeyness due to autoscroll
diff --git a/LayoutTests/fast/events/ios/keyboard-scrolling-repeat-expected.txt b/LayoutTests/fast/events/ios/keyboard-scrolling-repeat-expected.txt
deleted file mode 100644 (file)
index 79fed10..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-PASS successfullyParsed is true
-
-TEST COMPLETE
-Before starting to hold the down arrow, window.scrollY = 0
-After starting to hold the down arrow, window.scrollY = 40
-After continuing to hold the down arrow, window.scrollY = 80
-
diff --git a/LayoutTests/fast/events/ios/keyboard-scrolling-repeat.html b/LayoutTests/fast/events/ios/keyboard-scrolling-repeat.html
deleted file mode 100644 (file)
index 6c04639..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true ] -->
-
-<html>
-
-<head>
-    <script src="../../../resources/js-test-pre.js"></script>
-    <meta name="viewport" content="initial-scale=1.5, user-scalable=no">
-    <script id="ui-script" type="text/plain">
-        (function() {
-            // FIXME (151264): Need to tap to focus so that key events go through.
-            uiController.singleTapAtPoint(50, 25, function() {
-                uiController.keyDownUsingHardwareKeyboard("downArrow", function() {
-                    uiController.didEndScrollingCallback = function() {
-                        uiController.uiScriptComplete();
-                    };
-                });
-            });
-        })();
-    </script>
-
-    <script id="ui-script-waitforscroll" type="text/plain">
-        (function() {
-            uiController.didEndScrollingCallback = function() {
-                uiController.uiScriptComplete();
-            };
-        })();
-    </script>
-
-    <script id="ui-script-keyup" type="text/plain">
-        (function() {
-            uiController.keyUpUsingHardwareKeyboard("downArrow", function() {
-                uiController.uiScriptComplete();
-            });
-        })();
-    </script>
-
-    <script>
-        if (window.testRunner) {
-            testRunner.dumpAsText();
-            testRunner.waitUntilDone();
-        }
-
-        function getInitialUIScript()
-        {
-            return document.getElementById("ui-script").text;
-        }
-
-        function getWaitForScrollUIScript()
-        {
-            return document.getElementById("ui-script-waitforscroll").text;
-        }
-
-        function getKeyUpUIScript()
-        {
-            return document.getElementById("ui-script-keyup").text;
-        }
-
-        function runTest()
-        {
-            if (!window.testRunner || !testRunner.runUIScript)
-                return;
-
-            debug("Before starting to hold the down arrow, window.scrollY = " + window.scrollY);
-            testRunner.runUIScript(getInitialUIScript(), function(result) {
-                debug("After starting to hold the down arrow, window.scrollY = " + window.scrollY);
-                testRunner.runUIScript(getWaitForScrollUIScript(), function(result) {
-                    debug("After continuing to hold the down arrow, window.scrollY = " + window.scrollY);
-                    testRunner.runUIScript(getKeyUpUIScript(), function(result) {
-                        testRunner.notifyDone();
-                    });
-                });
-            });
-        }
-    </script>
-    <style>
-    #placeholder {
-        width: 100px;
-        height: 5000px;
-    }
-    </style>
-</head>
-
-<body style="margin: 0;" onload="runTest()">
-    <div id="placeholder">
-    <div id="console"></div>
-    <script src="../../../resources/js-test-post.js"></script>
-</body>
-
-</html>