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

Side by Side Diff: third_party/WebKit/LayoutTests/media/gc-pending-event-inactive-document.html

Issue 1481913002: Remove userCancelledLoad and refactor the code at the call sites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits Created 5 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>GC with a pending event in an inactive document</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script src="media-file.js"></script>
6 <script>
7 async_test(function(t)
8 {
9 var a = document.createElement("audio");
10 a.volume = 0; // queues a task to fire volumechange
11
12 var doc = document.implementation.createHTMLDocument();
13 doc.body.appendChild(a);
14
15 a.onvolumechange = t.step_func_done();
16 a = doc = null;
17 gc();
18 });
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698