forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1041597-fix-wae-test.patch
35 lines (26 loc) · 1.43 KB
/
1041597-fix-wae-test.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
34
From 337042ffd5edc01113553acc41964a5c1216aac5 Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Mon, 21 Jul 2014 08:58:51 -0700
Subject: Bug 1041597 - Fix web audio editor browser destroy node test, r=vp
---
browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 2849012..6343cfd 100644
--- a/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
+++ b/browser/devtools/webaudioeditor/test/browser_wa_destroy-node-01.js
@@ -35,17 +35,17 @@ function spawnTest() {
yield clickGraphNode(panelWin, actorIDs[5]);
forceCC();
// Wait for destruction and graph to re-render
yield Promise.all([destroyed, waitForGraphRendered(panelWin, 3, 2)]);
// Test internal storage
- ok(panelWin.AudioNodes.length, 3, "All nodes should be GC'd except one gain, osc and dest node.");
+ is(panelWin.AudioNodes.length, 3, "All nodes should be GC'd except one gain, osc and dest node.");
// Test graph rendering
ok(findGraphNode(panelWin, actorIDs[0]), "dest should be in graph");
ok(findGraphNode(panelWin, actorIDs[1]), "osc should be in graph");
ok(findGraphNode(panelWin, actorIDs[2]), "gain should be in graph");
let { nodes, edges } = countGraphObjects(panelWin);
--
1.8.4.2