Bug 1377386 - Fix intermittent zoom test failure r=Gijs
authorDoug Thayer <dothayer@mozilla.com>
Sun, 29 Apr 2018 20:27:50 -0700
changeset 472438 645f4840341e77d312eebf31283b01698556c4ea
parent 472437 ad861c124e5d793c3cb776ec3e50088a4786d547
child 472439 4525b4e9b22dbb8884d488aa75c1ee94112de708
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1377386
milestone61.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 1377386 - Fix intermittent zoom test failure r=Gijs MozReview-Commit-ID: 2s1pfGpJgxU
browser/components/resistfingerprinting/test/browser/browser_bug1369357_site_specific_zoom_level.js
--- a/browser/components/resistfingerprinting/test/browser/browser_bug1369357_site_specific_zoom_level.js
+++ b/browser/components/resistfingerprinting/test/browser/browser_bug1369357_site_specific_zoom_level.js
@@ -1,17 +1,17 @@
 "use strict";
 
 const testPage = "http://example.net/browser/browser/components/resistFingerprinting/test/browser/file_dummy.html";
 
 add_task(async function() {
   let tab1, tab1Zoom, tab2, tab2Zoom, tab3, tab3Zoom;
 
   tab1 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage);
-  FullZoom.enlarge();
+  await FullZoom.enlarge();
   tab1Zoom = ZoomManager.getZoomForBrowser(tab1.linkedBrowser);
 
   tab2 = await BrowserTestUtils.openNewForegroundTab(gBrowser, testPage);
   tab2Zoom = ZoomManager.getZoomForBrowser(tab2.linkedBrowser);
 
   is(tab2Zoom, tab1Zoom, "privacy.resistFingerprinting is false, site-specific zoom level should be enabled");
 
   await SpecialPowers.pushPrefEnv({