зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
79972aef69
Коммит
ffa3b62355
|
@ -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/";
|
||||
|
|
Загрузка…
Ссылка в новой задаче