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

Side by Side Diff: third_party/WebKit/LayoutTests/app_banner/app-banner-event-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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/battery-status/multiple-promises.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5
6 async_test(function(t) {
7 window.addEventListener('beforeinstallprompt', event => {
8 setTimeout(_ => { gc(); }, 0);
9 event.userChoice.then(_ => { t.done(); });
10 });
11
12 testRunner.dispatchBeforeInstallPromptEvent(['foo'], _ => {
13 setTimeout(_ => {
14 testRunner.resolveBeforeInstallPromptPromise('foo');
15 }, 100);
16 });
17 }, 'accept');
18
19 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/battery-status/multiple-promises.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698