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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/cycle-connection-gc.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/cycle-connection-gc.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/cycle-connection-gc.html b/third_party/WebKit/LayoutTests/webaudio/cycle-connection-gc.html
deleted file mode 100644
index e113145693d10e5dcebaec3d7a0f6b1fde19e55f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/cycle-connection-gc.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/js-test.js"></script>
-<script>
-description('Cycles of AudioNode connections should be collected.');
-var context = new OfflineAudioContext(2, 44100, 44100);
-gc();
-var initialCount = internals.audioHandlerCount();
-createCycle();
-debug('A cycle was created:');
-shouldBeTrue('internals.audioHandlerCount() > initialCount');
-gc();
-debug('GC happened:');
-shouldBe('internals.audioHandlerCount()', 'initialCount');
-
-function createCycle() {
- var source = context.createBufferSource();
- var delay1 = context.createDelay();
- var delay2 = context.createDelay();
- source.connect(delay1);
- delay1.connect(delay2);
- delay2.connect(delay1);
- delay1.connect(context.destination);
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698