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 : rebase_source : 099df192533f1a3f66f112cf4c732223bc4f4447
This commit is contained in:
Tom Ritter 2019-02-06 12:59:26 -06:00
Родитель 79972aef69
Коммит ffa3b62355
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/";