[Webkit-unassigned] [Bug 188728] Various IndexDB tests abandon documents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 23 11:57:15 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188728

--- Comment #7 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
How to reproduce in MiniBrowser:
1. Apply this patch to the test:
diff --git a/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/value.htm b/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/value.htm
index 36e8339524852590d52ce2275a9f0c0f372f6d31..397ca733f74360321db7dd4ae042ad718615d923 100644
--- a/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/value.htm
+++ b/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/value.htm
@@ -27,6 +27,7 @@ function value(value, _instanceof) {
             {
                 assert_true(e.target.result instanceof _instanceof, "instanceof")
                 t.done();
+                window.location.href = 'about:blank';
             });
         });
     };

2. Start the http server: ./Tools/Scripts/run-webkit-httpd
3. Load the test in MiniBrowser: http://localhost:8800/IndexedDB/value.htm
4. Fire a memory warning (in Terminal: "notifyutil -p org.WebKit.lowMemory")
5. Dump the list of live documents (in Terminal: "notifyutil -p com.apple.WebKit.showAllDocuments")

http://localhost:8800/IndexedDB/value.htm will be listed there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180823/9a214d7d/attachment.html>


More information about the webkit-unassigned mailing list