forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1115780-destroy-audionode-test-fix.patch
34 lines (28 loc) · 1.22 KB
/
1115780-destroy-audionode-test-fix.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 3d3fb580f16f7137fd97d368923bb2eb6f162c2c Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Sun, 28 Dec 2014 10:19:21 -0800
Subject: Bug 1115780 - increase timeout on audionode destruction
tests. r=vp
diff --git a/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js b/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
index b44ab9e..ca62a58 100644
--- a/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
+++ b/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
@@ -5,16 +5,20 @@
* Tests that the destruction node event is fired and that the nodes are no
* longer stored internally in the tool, that the graph is updated properly, and
* that selecting a soon-to-be dead node clears the inspector.
*
* All done in one test since this test takes a few seconds to clear GC.
*/
add_task(function*() {
+ // Use a longer timeout as garbage collection event
+ // can be unpredictable.
+ requestLongerTimeout(2);
+
let { target, panel } = yield initWebAudioEditor(DESTROY_NODES_URL);
let { panelWin } = panel;
let { gFront, $, $$, gAudioNodes } = panelWin;
let started = once(gFront, "start-context");
reload(target);
--
2.2.1