Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: third_party/WebKit/LayoutTests/presentation/presentationrequest-gc.html

Issue 2919233002: [Not for review] Tests for GC bug related to ScriptPromiseProperty.
Patch Set: Add tests for GC bug of BeforeInstallPromptEvent and PresentationRequest Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/battery-status/multiple-promises.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/presentation/presentationrequest-gc.html
diff --git a/third_party/WebKit/LayoutTests/presentation/presentationrequest-gc.html b/third_party/WebKit/LayoutTests/presentation/presentationrequest-gc.html
new file mode 100644
index 0000000000000000000000000000000000000000..86924b33acdf4bd8f202c377b8b0615afec7e254
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/presentation/presentationrequest-gc.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<body>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+
+async_test(function(t) {
+ Promise.resolve().then(_ => { gc(); });
+ var request = new PresentationRequest("https://example.com");
+ request.getAvailability().then(_ => { t.done(); });
+ });
+
+</script>
+</body>
+</html>
« no previous file with comments | « third_party/WebKit/LayoutTests/battery-status/multiple-promises.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698