diff options
Diffstat (limited to 'testing/talos/talos/tests/tabpaint/api.js')
-rw-r--r-- | testing/talos/talos/tests/tabpaint/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/talos/talos/tests/tabpaint/api.js b/testing/talos/talos/tests/tabpaint/api.js index abf64c6fe4..990267bdc2 100644 --- a/testing/talos/talos/tests/tabpaint/api.js +++ b/testing/talos/talos/tests/tabpaint/api.js @@ -160,7 +160,7 @@ this.tabpaint = class extends ExtensionAPI { * Resolves once the tab has been fully removed. Resolves * with the time (in ms) it took to open the tab from content. */ - async openTabFromContent(gBrowser) { + async openTabFromContent() { TalosParentProfiler.subtestStart("TabPaint Content Start"); let start_time = Cu.now(); @@ -200,7 +200,7 @@ this.tabpaint = class extends ExtensionAPI { TalosParentProfiler.mark("Tabpaint: Remove Tab"); return new Promise(resolve => { let browser = tab.linkedBrowser; - let observer = (subject, topic, data) => { + let observer = subject => { if (subject === browser) { Services.obs.removeObserver(observer, BROWSER_FLUSH_TOPIC); resolve(); |