Bug 1407366 - Part 5: Reset the Zoom in browser_bug1369357_site_specific_zoom_level.js r=johann

This test changes the browser zoom level; but does not reset it; causing
subsequant tests to be run with a zoom. This may cause them to fail.

--HG--
extra : histedit_source : b6ce7325702f2cd452524c666782a4bccbce1b1d
This commit is contained in:
Tom Ritter 2019-02-06 12:59:26 -06:00
Родитель de4df544dc
Коммит fe4320451c
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -25,6 +25,8 @@ add_task(async function() {
isnot(tab3Zoom, tab1Zoom, "privacy.resistFingerprinting is true, site-specific zoom level should be disabled");
await FullZoom.reset();
BrowserTestUtils.removeTab(tab1);
BrowserTestUtils.removeTab(tab2);
BrowserTestUtils.removeTab(tab3);

Просмотреть файл

@ -4,6 +4,10 @@
*
* Bug 1407366 - A test case for reassuring the size of the content viewport is
* rounded if the window is resized when letterboxing is enabled.
*
* A helpful note: if this test starts randomly failing; it may be because the
* zoom level was not reset by an earlier-run test. See Bug 1407366 for an
* example.
*/
const TEST_PATH = "http://example.net/browser/browser/components/resistfingerprinting/test/browser/";