Bug 1312492: Fix intermittent. r=me a=test-only
authorKris Maglione <maglione.k@gmail.com>
Tue, 15 Nov 2016 08:51:37 -0800
changeset 440012 b364ddf1922dddae7f2f515bd9d190949a2b7c50
parent 440011 07f57a55ee1b4d5fb5655fd4c5a9094e2d8a0f09
child 440013 44ea84d66244726b4145850bd68c165d3a0880df
push id36143
push userjkingston@mozilla.com
push dateWed, 16 Nov 2016 22:20:38 +0000
reviewersme, test-only
bugs1312492
milestone52.0a2
Bug 1312492: Fix intermittent. r=me a=test-only MozReview-Commit-ID: 2l8z5BLP4hs
browser/components/extensions/test/browser/browser_ext_tabs_events.js
--- a/browser/components/extensions/test/browser/browser_ext_tabs_events.js
+++ b/browser/components/extensions/test/browser/browser_ext_tabs_events.js
@@ -211,16 +211,17 @@ add_task(function* testTabEventsSize() {
     SpecialPowers.setCharPref(RESOLUTION_PREF, String(resolution));
     is(window.devicePixelRatio, resolution, "window has the required resolution");
 
     extension.sendMessage("create-tab");
     let tabId = yield extension.awaitMessage("created-tab-id");
 
     checkDimensions(yield extension.awaitMessage("create-dims"), "create");
     checkDimensions(yield extension.awaitMessage("on-created-dims"), "onCreated");
+    checkDimensions(yield extension.awaitMessage("on-updated-dims"), "onUpdated");
 
     extension.sendMessage("update-tab", tabId);
 
     checkDimensions(yield extension.awaitMessage("update-dims"), "update");
     checkDimensions(yield extension.awaitMessage("on-updated-dims"), "onUpdated");
 
     extension.sendMessage("remove-tab", tabId);
     yield extension.awaitMessage("tab-removed");