Title: [261295] trunk/LayoutTests
Revision
261295
Author
[email protected]
Date
2020-05-07 09:23:36 -0700 (Thu, 07 May 2020)

Log Message

Unreviewed, reverting r261251.

Test is failing on iOS

Reverted changeset:

"Add a test for `REGRESSION (r260753): Frequent crashes under
TextIndicator's estimatedTextColorsForRange`"
https://bugs.webkit.org/show_bug.cgi?id=211532
https://trac.webkit.org/changeset/261251

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (261294 => 261295)


--- trunk/LayoutTests/ChangeLog	2020-05-07 16:21:17 UTC (rev 261294)
+++ trunk/LayoutTests/ChangeLog	2020-05-07 16:23:36 UTC (rev 261295)
@@ -1,3 +1,16 @@
+2020-05-07  Ryan Haddad  <[email protected]>
+
+        Unreviewed, reverting r261251.
+
+        Test is failing on iOS
+
+        Reverted changeset:
+
+        "Add a test for `REGRESSION (r260753): Frequent crashes under
+        TextIndicator's estimatedTextColorsForRange`"
+        https://bugs.webkit.org/show_bug.cgi?id=211532
+        https://trac.webkit.org/changeset/261251
+
 2020-05-07  Chris Dumez  <[email protected]>
 
         Unreviewed, mark html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-pointer-remove-source.html as flaky.

Deleted: trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline-expected.txt (261294 => 261295)


--- trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline-expected.txt	2020-05-07 16:21:17 UTC (rev 261294)
+++ trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline-expected.txt	2020-05-07 16:23:36 UTC (rev 261295)
@@ -1,3 +0,0 @@
-indicator: 
-    0 0 84 22
-

Deleted: trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline.html (261294 => 261295)


--- trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline.html	2020-05-07 16:21:17 UTC (rev 261294)
+++ trunk/LayoutTests/fast/text-indicator/text-indicator-estimated-color-with-implicit-newline.html	2020-05-07 16:23:36 UTC (rev 261295)
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-* { box-sizing: border-box; font-family: ahem; }
-body { margin: 0; }
-div { position: absolute; top: 0; left: 0; }
-</style>
-<script>
-if (window.testRunner)
-    testRunner.dumpAsText();
-
-function output(s)
-{
-    window.log.innerText += s + "\n";
-}
-
-function runTest()
-{
-    if (!window.internals) {
-        output("This test cannot be run outside of WebKitTestRunner.");
-        return;
-    }
-
-    function dumpIndicatorBoundsForElement(el)
-    {
-        var indicatorOptions = {
-            "computeEstimatedBackgroundColor": true,
-        };
-        var range = internals.rangeFromLocationAndLength(el, 0, 9);
-        var indicator = window.internals.textIndicatorForRange(range, indicatorOptions);
-        var rects = indicator.textRectsInBoundingRectCoordinates;
-
-        output(`${el.id}: `);
-        for (var rect of rects)
-            output(`    ${rect.x} ${rect.y} ${rect.width} ${rect.height}`);
-    }
-
-    dumpIndicatorBoundsForElement(document.getElementById("indicator"));
-
-    // Remove the test cases so they don't show up in the dump.
-    document.getElementById("testCases").innerText = "";
-}
-</script>
-</head>
-<body _onload_="runTest()">
-<div id="testCases">
-    <div id="indicator"><img src=""
-</div>
-<pre id="log"></pre>
-</body>
-</html>
\ No newline at end of file
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to