Bug 1530833 - Use correct document in browser_aboutdebugging_telemetry_runtime_updates.js;r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 27 Feb 2019 03:24:25 +0000
changeset 519292 f590c48e0b172c2e1a9d128f7711be0d794e9b63
parent 519291 9b9bbabd8f1004e623c09a73c392f0063e24ff9d
child 519293 0a3675e5f4abd788bb1a10be592d9006479a01e7
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaisuke
bugs1530833
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1530833 - Use correct document in browser_aboutdebugging_telemetry_runtime_updates.js;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D21271
devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_telemetry_runtime_updates.js
--- a/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_telemetry_runtime_updates.js
+++ b/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_telemetry_runtime_updates.js
@@ -121,10 +121,10 @@ async function addUsbRuntime(runtime, mo
 
   info("Wait for the runtime to appear in the sidebar");
   await waitUntil(() => findSidebarItemByText(runtime.shortName, doc));
 }
 
 async function removeUsbRuntime(runtime, mocks, doc) {
   mocks.removeRuntime(runtime.id);
   mocks.emitUSBUpdate();
-  await waitUntil(() => !findSidebarItemByText(runtime.shortName, document));
+  await waitUntil(() => !findSidebarItemByText(runtime.shortName, doc));
 }