Title: [212966] trunk/LayoutTests
Revision
212966
Author
an...@apple.com
Date
2017-02-24 12:04:25 -0800 (Fri, 24 Feb 2017)

Log Message

Remove leftover html files.

* http/tests/cache/disk-cache/shattered-deduplication-expected.html: Removed.
* http/tests/cache/disk-cache/shattered-deduplication.html: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (212965 => 212966)


--- trunk/LayoutTests/ChangeLog	2017-02-24 19:51:17 UTC (rev 212965)
+++ trunk/LayoutTests/ChangeLog	2017-02-24 20:04:25 UTC (rev 212966)
@@ -1,3 +1,10 @@
+2017-02-24  Antti Koivisto  <an...@apple.com>
+
+        Remove leftover html files.
+
+        * http/tests/cache/disk-cache/shattered-deduplication-expected.html: Removed.
+        * http/tests/cache/disk-cache/shattered-deduplication.html: Removed.
+
 2017-02-24  Alex Christensen  <achristen...@webkit.org>
 
         .. should not remove windows drive letters in paths of file URLs

Deleted: trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication-expected.html (212965 => 212966)


--- trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication-expected.html	2017-02-24 19:51:17 UTC (rev 212965)
+++ trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication-expected.html	2017-02-24 20:04:25 UTC (rev 212966)
@@ -1,5 +0,0 @@
-<iframe src="" width=100 height=100></iframe>
-<iframe src="" width=100 height=100></iframe>
-<iframe src="" width=100 height=100></iframe>
-<iframe src="" width=100 height=100></iframe>
-

Deleted: trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication.html (212965 => 212966)


--- trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication.html	2017-02-24 19:51:17 UTC (rev 212965)
+++ trunk/LayoutTests/http/tests/cache/disk-cache/shattered-deduplication.html	2017-02-24 20:04:25 UTC (rev 212966)
@@ -1,32 +0,0 @@
-<body>
-<script>
-if (window.testRunner)
-    testRunner.waitUntilDone();
-
-async function addImage(src, timeout)
-{
-    if (window.internals)
-        internals.clearMemoryCache();
-
-    const img = document.createElement("iframe");
-    img.width = 100;
-    img.height = 100;
-    img.src = ""
-    document.body.appendChild(img);
-    document.body.appendChild(document.createTextNode("\n"));
-
-    return new Promise(resolve => setTimeout(resolve, timeout));
-}
-
-async function test() {
-    // Need to wait long enough for disk cache writes to happen.
-    await addImage("resources/shattered-1.pdf", 1000);
-    await addImage("resources/shattered-2.pdf", 1000);
-    await addImage("resources/shattered-1.pdf", 1000);
-    await addImage("resources/shattered-2.pdf", 1000);
-
-    if (window.testRunner)
-        testRunner.notifyDone();
-}
-test();
-</script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to