Title: [278472] trunk/LayoutTests
Revision
278472
Author
[email protected]
Date
2021-06-04 10:23:02 -0700 (Fri, 04 Jun 2021)

Log Message

Cleanup unused resources in LayoutTests/storage
https://bugs.webkit.org/show_bug.cgi?id=226226
<rdar://problem/78469934>

Reviewed by Jonathan Bedard.

* storage/domstorage/localstorage/resources/iframe-events-second.html: Removed.
* storage/domstorage/localstorage/resources/private-browsing-3.html: Removed.
* storage/domstorage/localstorage/resources/private-browsing-storage-2.html: Removed.
* storage/domstorage/sessionstorage/resources/iframe-events-second.html: Removed.
* storage/indexeddb/modern/resources/workers-disabled.js: Removed.
* storage/indexeddb/resources/test-data.html: Removed.
* storage/indexeddb/resources/test-data.txt: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (278471 => 278472)


--- trunk/LayoutTests/ChangeLog	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/ChangeLog	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,3 +1,19 @@
+2021-06-04  Robert Jenner  <[email protected]>
+
+        Cleanup unused resources in LayoutTests/storage
+        https://bugs.webkit.org/show_bug.cgi?id=226226
+        <rdar://problem/78469934>
+
+        Reviewed by Jonathan Bedard.
+
+        * storage/domstorage/localstorage/resources/iframe-events-second.html: Removed.
+        * storage/domstorage/localstorage/resources/private-browsing-3.html: Removed.
+        * storage/domstorage/localstorage/resources/private-browsing-storage-2.html: Removed.
+        * storage/domstorage/sessionstorage/resources/iframe-events-second.html: Removed.
+        * storage/indexeddb/modern/resources/workers-disabled.js: Removed.
+        * storage/indexeddb/resources/test-data.html: Removed.
+        * storage/indexeddb/resources/test-data.txt: Removed.
+
 2021-06-04  Wenson Hsieh  <[email protected]>
 
         [iOS] Long pressing images on 9gag.com fails to present context menus

Deleted: trunk/LayoutTests/storage/domstorage/localstorage/resources/iframe-events-second.html (278471 => 278472)


--- trunk/LayoutTests/storage/domstorage/localstorage/resources/iframe-events-second.html	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/domstorage/localstorage/resources/iframe-events-second.html	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,24 +0,0 @@
-<html>
-<head>
-<script>
-function handleStorageEvent(e)
-{
-    parent.log("Subframe received storage event:");
-    parent.log("Key           - " + e.key);
-    parent.log("New Value     - " + e.newValue);
-    parent.log("Old Value     - " + e.oldValue);
-    parent.log("url           - " + parent.normalizeURL(e.url));
-    parent.log("Storage Area  - " + ((e.storageArea == window.localStorage) ? "This window's window.localStorage" : "Another window's window.localStorage"));
-    parent.log("");
-
-    if (e.key != "Subframe") {
-        parent.log("Subframe about to change localStorage...");
-        localStorage.setItem("Subframe", "SET");
-    }
-}
-</script>
-</head>
-<body _onload_="window.addEventListener('storage', handleStorageEvent, false);">
-This is the subframe which exists to make sure that both frames of a same security origin receive the event for that origin's localStorage object mutating
-</body>
-</html>

Deleted: trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-3.html (278471 => 278472)


--- trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-3.html	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-3.html	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,23 +0,0 @@
-<html>
-<head>
-<script>
-
-function log(a)
-{
-    alert(a + "");
-}
-
-function runTest()
-{
-    log("Final window, localStorage's length is: " + localStorage.length);
-    log("Final window, item is: " + localStorage.getItem("testItem"));
-
-    if (testRunner)
-        testRunner.notifyDone();
-}
-
-</script>
-</head>
-<body _onload_="runTest();">
-</body>
-</html>

Deleted: trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-storage-2.html (278471 => 278472)


--- trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-storage-2.html	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/domstorage/localstorage/resources/private-browsing-storage-2.html	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,29 +0,0 @@
-<html>
-<head>
-<script>
-
-function log(a)
-{
-    opener.logger(a);
-}
-
-function runTest()
-{
-    if (!window.testRunner) {
-        log("Test only designed to be run under DumpRenderTree or WebKitTestRunner");
-        return;
-    }
-    
-    log("localStorage's length is: " + localStorage.length);
-    log("The item in new window starts out as: " + localStorage.getItem("testItem"));
-    localStorage.setItem("testItem", "NewWindowValue");
-    log("The item in new window is now: " + localStorage.getItem("testItem"));
-
-    opener.allDone();
-}
-
-</script>
-</head>
-<body _onload_="runTest();">
-</body>
-</html>

Deleted: trunk/LayoutTests/storage/domstorage/sessionstorage/resources/iframe-events-second.html (278471 => 278472)


--- trunk/LayoutTests/storage/domstorage/sessionstorage/resources/iframe-events-second.html	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/domstorage/sessionstorage/resources/iframe-events-second.html	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,24 +0,0 @@
-<html>
-<head>
-<script>
-function handleStorageEvent(e)
-{
-    parent.log("Subframe received storage event:");
-    parent.log("Key           - " + e.key);
-    parent.log("New Value     - " + e.newValue);
-    parent.log("Old Value     - " + e.oldValue);
-    parent.log("url           - " + parent.normalizeURL(e.url));
-    parent.log("Storage Area  - " + ((e.storageArea == window.sessionStorage) ? "This window's window.sessionStorage" : "Another window's window.sessionStorage"));
-    parent.log("");
-    
-    if (e.key != "Subframe") {
-        parent.log("Subframe about to change sessionStorage...");
-        sessionStorage.setItem("Subframe", "SET");
-    }
-}
-</script>
-</head>
-<body _onload_="window.addEventListener('storage', handleStorageEvent, false);">
-This is the subframe which exists to make sure that both frames of a same security origin receive the event for that origin's sessionStorage object mutating
-</body>
-</html>

Deleted: trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js (278471 => 278472)


--- trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,16 +0,0 @@
-if (this.importScripts) {
-    importScripts('../../../../resources/js-test.js');
-    importScripts('../../resources/shared.js');
-}
-
-description("Check to make sure IndexedDB in workers can be disabled at runtime");
-
-var propertiesToTest = ['indexedDB', 'IDBCursor', 'IDBCursorWithValue', 'IDBDatabase', 'IDBFactory', 'IDBIndex', 'IDBKeyRange', 'IDBObjectStore', 'IDBOpenDBRequest', 'IDBRequest', 'IDBTransaction', 'IDBVersionChangeEvent'];
-
-for (var i = 0; i < propertiesToTest.length; i++) {
-    propertyToTest = propertiesToTest[i];
-    shouldBeUndefined("self." + propertyToTest);
-    shouldBeFalse("'" + propertyToTest + "' in self");
-}
-
-finishJSTest();

Deleted: trunk/LayoutTests/storage/indexeddb/resources/test-data.html (278471 => 278472)


--- trunk/LayoutTests/storage/indexeddb/resources/test-data.html	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/indexeddb/resources/test-data.html	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1,4 +0,0 @@
-<!DOCTYPE html>
-<title>This is some test data</title>
-<h1>Test data!</h1>
-<p>Get your test data here!

Deleted: trunk/LayoutTests/storage/indexeddb/resources/test-data.txt (278471 => 278472)


--- trunk/LayoutTests/storage/indexeddb/resources/test-data.txt	2021-06-04 17:14:24 UTC (rev 278471)
+++ trunk/LayoutTests/storage/indexeddb/resources/test-data.txt	2021-06-04 17:23:02 UTC (rev 278472)
@@ -1 +0,0 @@
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean laoreet dolor id urna eleifend aliquet. Nulla vel dolor ipsum. Aliquam ut turpis nisl, in vulputate sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed congue magna vitae dolor feugiat vehicula. Sed volutpat, tellus vel varius vestibulum, purus quam mollis sapien, in condimentum leo neque sed nulla. Nunc quis porta elit. Pellentesque erat lectus, ultricies a lobortis id, faucibus id quam.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to