diff options
Diffstat (limited to 'devtools/client/memory/test/browser')
17 files changed, 17 insertions, 17 deletions
diff --git a/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js b/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js index b526025b17..e145732b7a 100644 --- a/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js +++ b/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js @@ -20,7 +20,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const { getState, dispatch } = panel.panelWin.gStore; const front = getState().front; diff --git a/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_02.js b/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_02.js index 34492187a2..b9c80c394c 100644 --- a/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_02.js +++ b/devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_02.js @@ -20,7 +20,7 @@ const { const TEST_URL = "https://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest("about:blank", async function ({ tab, panel }) { +this.test = makeMemoryTest("about:blank", async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const { getState, dispatch } = panel.panelWin.gStore; const doc = panel.panelWin.document; diff --git a/devtools/client/memory/test/browser/browser_memory_clear_snapshots.js b/devtools/client/memory/test/browser/browser_memory_clear_snapshots.js index 52eecd2838..333459cc3e 100644 --- a/devtools/client/memory/test/browser/browser_memory_clear_snapshots.js +++ b/devtools/client/memory/test/browser/browser_memory_clear_snapshots.js @@ -13,7 +13,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const { gStore, document } = panel.panelWin; const { getState } = gStore; diff --git a/devtools/client/memory/test/browser/browser_memory_diff_01.js b/devtools/client/memory/test/browser/browser_memory_diff_01.js index 7b6487565f..638586f667 100644 --- a/devtools/client/memory/test/browser/browser_memory_diff_01.js +++ b/devtools/client/memory/test/browser/browser_memory_diff_01.js @@ -13,7 +13,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const store = panel.panelWin.gStore; const { getState } = store; const doc = panel.panelWin.document; diff --git a/devtools/client/memory/test/browser/browser_memory_displays_01.js b/devtools/client/memory/test/browser/browser_memory_displays_01.js index 89296b77f4..7e9561796d 100644 --- a/devtools/client/memory/test/browser/browser_memory_displays_01.js +++ b/devtools/client/memory/test/browser/browser_memory_displays_01.js @@ -13,7 +13,7 @@ const { changeView, } = require("resource://devtools/client/memory/actions/view.js"); -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const { gStore, document } = panel.panelWin; const { dispatch } = panel.panelWin.gStore; diff --git a/devtools/client/memory/test/browser/browser_memory_dominator_trees_01.js b/devtools/client/memory/test/browser/browser_memory_dominator_trees_01.js index 1faaf365a1..39b984eadd 100644 --- a/devtools/client/memory/test/browser/browser_memory_dominator_trees_01.js +++ b/devtools/client/memory/test/browser/browser_memory_dominator_trees_01.js @@ -20,7 +20,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_big_tree.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { // Taking snapshots and computing dominator trees is slow :-/ requestLongerTimeout(4); diff --git a/devtools/client/memory/test/browser/browser_memory_filter_01.js b/devtools/client/memory/test/browser/browser_memory_filter_01.js index 00dcfdb951..7f2e39ac20 100644 --- a/devtools/client/memory/test/browser/browser_memory_filter_01.js +++ b/devtools/client/memory/test/browser/browser_memory_filter_01.js @@ -17,7 +17,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const store = panel.panelWin.gStore; const { dispatch } = store; diff --git a/devtools/client/memory/test/browser/browser_memory_individuals_01.js b/devtools/client/memory/test/browser/browser_memory_individuals_01.js index f54154b949..7be5fb2ac4 100644 --- a/devtools/client/memory/test/browser/browser_memory_individuals_01.js +++ b/devtools/client/memory/test/browser/browser_memory_individuals_01.js @@ -17,7 +17,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const store = panel.panelWin.gStore; const { dispatch } = store; const doc = panel.panelWin.document; diff --git a/devtools/client/memory/test/browser/browser_memory_keyboard.js b/devtools/client/memory/test/browser/browser_memory_keyboard.js index 0fba33c456..642eacd43c 100644 --- a/devtools/client/memory/test/browser/browser_memory_keyboard.js +++ b/devtools/client/memory/test/browser/browser_memory_keyboard.js @@ -39,7 +39,7 @@ function waitUntilExpanded(store, node) { ); } -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const store = panel.panelWin.gStore; const { getState, dispatch } = store; diff --git a/devtools/client/memory/test/browser/browser_memory_no_allocation_stacks.js b/devtools/client/memory/test/browser/browser_memory_no_allocation_stacks.js index b8b09b35d0..086bc77ef5 100644 --- a/devtools/client/memory/test/browser/browser_memory_no_allocation_stacks.js +++ b/devtools/client/memory/test/browser/browser_memory_no_allocation_stacks.js @@ -17,7 +17,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const { getState, dispatch } = panel.panelWin.gStore; const front = getState().front; diff --git a/devtools/client/memory/test/browser/browser_memory_no_auto_expand.js b/devtools/client/memory/test/browser/browser_memory_no_auto_expand.js index 9704d925d1..f4e9800f28 100644 --- a/devtools/client/memory/test/browser/browser_memory_no_auto_expand.js +++ b/devtools/client/memory/test/browser/browser_memory_no_auto_expand.js @@ -17,7 +17,7 @@ const { const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const { getState, dispatch } = panel.panelWin.gStore; const front = getState().front; diff --git a/devtools/client/memory/test/browser/browser_memory_percents_01.js b/devtools/client/memory/test/browser/browser_memory_percents_01.js index c4bb254b07..8e9202b705 100644 --- a/devtools/client/memory/test/browser/browser_memory_percents_01.js +++ b/devtools/client/memory/test/browser/browser_memory_percents_01.js @@ -29,7 +29,7 @@ function checkCells(cells) { } } -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const heapWorker = panel.panelWin.gHeapAnalysesClient; const { getState, dispatch } = panel.panelWin.gStore; const front = getState().front; diff --git a/devtools/client/memory/test/browser/browser_memory_refresh_does_not_leak.js b/devtools/client/memory/test/browser/browser_memory_refresh_does_not_leak.js index e0ee1eee41..1ecb6275d4 100644 --- a/devtools/client/memory/test/browser/browser_memory_refresh_does_not_leak.js +++ b/devtools/client/memory/test/browser/browser_memory_refresh_does_not_leak.js @@ -53,7 +53,7 @@ const DESCRIPTION = { }, }; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { let front = panel.panelWin.gStore.getState().front; const startWindows = await getWindowsInSnapshot(front); diff --git a/devtools/client/memory/test/browser/browser_memory_simple_01.js b/devtools/client/memory/test/browser/browser_memory_simple_01.js index a983e23395..acafb46ca1 100644 --- a/devtools/client/memory/test/browser/browser_memory_simple_01.js +++ b/devtools/client/memory/test/browser/browser_memory_simple_01.js @@ -14,7 +14,7 @@ const { changeView, } = require("resource://devtools/client/memory/actions/view.js"); -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const { gStore, document } = panel.panelWin; const { getState, dispatch } = gStore; diff --git a/devtools/client/memory/test/browser/browser_memory_transferHeapSnapshot_e10s_01.js b/devtools/client/memory/test/browser/browser_memory_transferHeapSnapshot_e10s_01.js index c647836332..169a968653 100644 --- a/devtools/client/memory/test/browser/browser_memory_transferHeapSnapshot_e10s_01.js +++ b/devtools/client/memory/test/browser/browser_memory_transferHeapSnapshot_e10s_01.js @@ -11,7 +11,7 @@ const TEST_URL = "data:text/html,<html><body></body></html>"; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const memoryFront = panel.panelWin.gStore.getState().front; ok(memoryFront, "Should get the MemoryFront"); diff --git a/devtools/client/memory/test/browser/browser_memory_tree_map-01.js b/devtools/client/memory/test/browser/browser_memory_tree_map-01.js index c65b7fc079..97e69f6f6d 100644 --- a/devtools/client/memory/test/browser/browser_memory_tree_map-01.js +++ b/devtools/client/memory/test/browser/browser_memory_tree_map-01.js @@ -12,7 +12,7 @@ const D3_SCRIPT = 'src="chrome://global/content/third_party/d3/d3.js">'; const TEST_URL = `data:text/html,<html><body>${D3_SCRIPT}</body></html>`; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const document = panel.panelWin.document; const window = panel.panelWin; const div = document.createElement("div"); diff --git a/devtools/client/memory/test/browser/browser_memory_tree_map-02.js b/devtools/client/memory/test/browser/browser_memory_tree_map-02.js index 890ede23b5..f48bb66c13 100644 --- a/devtools/client/memory/test/browser/browser_memory_tree_map-02.js +++ b/devtools/client/memory/test/browser/browser_memory_tree_map-02.js @@ -14,7 +14,7 @@ const PIXEL_SCROLL_MODE = 0; const PIXEL_DELTA = 10; const MAX_RAF_LOOP = 1000; -this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { +this.test = makeMemoryTest(TEST_URL, async function ({ panel }) { const panelWin = panel.panelWin; const panelDoc = panelWin.document; const div = panelDoc.createElement("div"); |