diff options
Diffstat (limited to 'devtools/client/shared/test/browser_treeWidget_basic.js')
-rw-r--r-- | devtools/client/shared/test/browser_treeWidget_basic.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/shared/test/browser_treeWidget_basic.js b/devtools/client/shared/test/browser_treeWidget_basic.js index 48702b9b8d..bc52a07c8e 100644 --- a/devtools/client/shared/test/browser_treeWidget_basic.js +++ b/devtools/client/shared/test/browser_treeWidget_basic.js @@ -34,7 +34,7 @@ add_task(async function () { gBrowser.removeCurrentTab(); }); -function populateTree(tree, doc) { +function populateTree(tree) { tree.add([ { id: "level1", @@ -179,7 +179,7 @@ function testTreeItemInsertedCorrectly(tree, doc) { /** * Populate the unsorted tree. */ -function populateUnsortedTree(tree, doc) { +function populateUnsortedTree(tree) { tree.sorted = false; tree.add([{ id: "g-1", label: "g-1" }]); @@ -191,7 +191,7 @@ function populateUnsortedTree(tree, doc) { /** * Test if the nodes are inserted correctly in the unsorted tree. */ -function testUnsortedTreeItemInsertedCorrectly(tree, doc) { +function testUnsortedTreeItemInsertedCorrectly(tree) { ok(tree.root.items.has("g-1"), "g-1 top level element exists"); is( |