Commit graph

118 commits

Author SHA1 Message Date
Edgar Chen
f679237a74 Bug 1819756 - Add tests for bug 1814597; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171556
2023-04-11 14:38:34 +00:00
Edgar Chen
90e3ec03f1 Bug 1820801 - Add fullscreen test for opening a new browser window via ctrl+n; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171901
2023-03-07 23:29:28 +00:00
Brad Werth
dd4e98580f Bug 1820641: Make a test that calls window.restore handle zoomed windows. r=mstange
This test expects that a single call to window.restore() will bring the
window to the "normal" state. This is unfortunately not guaranteed since a
window that is zoomed then minimized will restore to the zoomed state.
This could cause the test to fail if window is zoomed at the start of the
test, because it will return to that zoomed state mid-test.

This change defines a general function to ensure that the window is in the
normal state before proceeding, then calls that at the beginning of the
test and in the middle of the test to ensure we are exercising the
transitions we intended to exercise.

Differential Revision: https://phabricator.services.mozilla.com/D171793
2023-03-06 23:36:06 +00:00
Brad Werth
770336f194 Bug 1631735 Part 2: Add a fullscreen test that checks event order, and a test of fs->minimize->fs. r=mstange,emilio
The transition from fullscreen to minimize and back is not directly
allowed in macOS, though our test harness can be forced to request it. The
modified test forces this transition explicitly, so we can eliminate it as
an accidental occurrence with other tests.

The transition from minimize to fullscreen fails on Linux and Windows, so
this change marks the entire test as failing on those platforms. New Bugs
have been opened on this issue and those are noted in the fail-if.

Depends on D166450

Differential Revision: https://phabricator.services.mozilla.com/D164248
2023-03-06 19:38:11 +00:00
Sandor Molnar
5df475dc34 Backed out 3 changesets (bug 1631735) for causing assertion failures in xpfe/appshell/AppWindow.cpp
Backed out changeset 1c7dffec620f (bug 1631735)
Backed out changeset 4a7049e0f50d (bug 1631735)
Backed out changeset 0ae84866d35d (bug 1631735)
2023-03-03 04:27:11 +02:00
Brad Werth
17087ede43 Bug 1631735 Part 2: Add a fullscreen test that checks event order, and a test of fs->minimize->fs. r=mstange,emilio
The transition from fullscreen to minimize and back is not directly
allowed in macOS, though our test harness can be forced to request it. The
modified test forces this transition explicitly, so we can eliminate it as
an accidental occurrence with other tests.

The transition from minimize to fullscreen fails on Linux and Windows, so
this change marks the entire test as failing on those platforms. New Bugs
have been opened on this issue and those are noted in the fail-if.

Depends on D166450

Differential Revision: https://phabricator.services.mozilla.com/D164248
2023-03-02 22:26:56 +00:00
Bilal
d019b30646 Bug 1811336 - Converted FullScreenFrame, PerfTestHelpers, StartupContentSubframe, and BlocklistTestProxy to ESM. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D168161
2023-02-07 19:19:30 +00:00
Gijs Kruitbosch
efef52fc92 Bug 1795255 - autofix duplicate imports in tests under browser/, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D166179
2023-01-31 11:48:41 +00:00
lyavor
6666b03b50 Bug 1811278 - Add disable next line for all browser/base PART 1 r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D167279
2023-01-25 14:27:43 +00:00
Norisz Fay
f01cbc412a Backed out 5 changesets (bug 1811278) for causing lint failures on browser_bug435325.js CLOSED TREE
Backed out changeset 715821104ffa (bug 1811278)
Backed out changeset 6f116715687d (bug 1811278)
Backed out changeset 16e69d940e3f (bug 1811278)
Backed out changeset 9dc0451ca213 (bug 1811278)
Backed out changeset 9f60a414e711 (bug 1811278)
2023-01-25 12:46:52 +02:00
lyavor
8d9ed8359f Bug 1811278 - Add disable next line for all browser/base PART 1 r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D167279
2023-01-25 10:15:37 +00:00
Gijs Kruitbosch
9946c4fcbb Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - browser - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167153
2023-01-19 20:16:42 +00:00
Ryan VanderMeulen
6216e2bed8 Bug 1803701 - Clean up the fullscreen browser-chrome test manifest and re-enable some now-passing tests. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D163661
2022-12-02 14:05:17 +00:00
Edgar Chen
bf9b396e44 Bug 1795491 - Disable browser_fullscreen_window_open.js test on mac opt; r=intermittent-reviewers,MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D159694
2022-12-01 03:39:28 +00:00
Mark Banner
c1837954be Bug 1799314 - Convert consumers of testing modules to import ES modules direct (browser/). r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161914
2022-11-17 12:00:30 +00:00
Neil Deakin
260bbc1db2 Bug 1219775 , focus the url bar when opening a new tab while in fullscreen mode, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D161517
2022-11-15 17:15:51 +00:00
Mark Banner
9189ff3f6f Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
Norisz Fay
bfa4dfd40b Backed out 2 changesets (bug 1795984) for causing bc failures on browser_fullscreen-window-open.js CLOSED TREE
Backed out changeset 4f1f5ebc134b (bug 1795984)
Backed out changeset f742568d925b (bug 1795984)
2022-10-19 23:46:02 +03:00
Edgar Chen
f4a1a2d3ac Bug 1795984 - Put browser fullscreen tests under fullscreen folder; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D159633
2022-10-19 14:40:46 +00:00
Cosmin Sabou
9028e81fc2 Bug 1764318 - Fix eslint failure. r=lint-fix CLOSED TREE 2022-10-14 00:04:47 +03:00
Edgar Chen
425420c6d5 Bug 1764318 - Add more test for fullscreen; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D143489
2022-10-13 20:28:59 +00:00
Mark Banner
7428be4a86 Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Mark Banner
8a275d4d92 Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-26 15:11:30 +00:00
smolnar
dc4f2d6a41 Backed out 5 changesets (bug 1780017, bug 1780347) for causing bc failures in browser/base/content/test/performance/browser_preferences_usage.js CLOSED TREE
Backed out changeset 86c3a9142535 (bug 1780347)
Backed out changeset 35abe35417a0 (bug 1780017)
Backed out changeset f448f044f028 (bug 1780017)
Backed out changeset a400cbe83084 (bug 1780017)
Backed out changeset 0a23c9e27f01 (bug 1780017)
2022-07-25 21:00:07 +03:00
Mark Banner
539b5dac0d Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-25 12:46:48 +00:00
smolnar
102b779608 Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Mark Banner
fd37e0e9da Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 15:50:42 +00:00
Iulian Moraru
1108246986 Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner
ac90e83952 Bug 1780017 - Migrate urlbar consumers to use ESM imports directly. r=adw,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152057
2022-07-20 10:36:51 +00:00
Gijs Kruitbosch
8e67201171 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay
acdd6851cd Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch
27039e2946 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
Joel Maher
a261492460 Bug 1750839 - Enable fission browser-chrome for variants. r=mccr8,releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D136512
2022-02-01 19:30:34 +00:00
aminomancer
c95531067d Bug 1591040 - show both fullscreen and normal toolbar/tabstrip context menus in full screen, r=jaws,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131493
2022-01-21 22:52:24 +00:00
Joel Maher
d55f10c407 Bug 1751264 - adjust tests that should be passing on win10. r=intermittent-reviewers,MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D136525
2022-01-20 21:02:44 +00:00
Norisz Fay
d4c6499662 Backed out changeset e23259733a51 (bug 1591040) for causing bc failures on browser_fullscreen_context_menu.js CLOSED TREE 2022-01-19 13:32:54 +02:00
aminomancer
d6cedea199 Bug 1591040 - show both fullscreen and normal toolbar/tabstrip context menus in full screen, r=jaws,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131493
2022-01-19 10:14:34 +00:00
Paul Zuehlcke
0c8f85e0c6 Bug 1742433 - Test, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131426
2022-01-17 11:49:19 +00:00
Joel Maher
fed2831742 Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Michelle Goossens
c159e29e05 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Edgar Chen
851fda1435 Bug 1727345 - Add test for fullscreen warning on display none iframe; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D123643
2021-09-23 09:16:59 +00:00
Michelle Goossens
87b5ec03df Bug 1727168 - Disable test for high frequency intermittent after migration r=intermittent-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D123430
2021-08-24 13:01:49 +00:00
Michelle Goossens
c7d34da2f9 Bug 1723574 - Enable mochitest-browser-chrome tests that no longer fail r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123247
2021-08-23 12:45:31 +00:00
Michelle Goossens
d192833f8d Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Christoph Kerschbaumer
4a6250387f Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar
68cdec0548 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
bb716f0701 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Henri Sivonen
9e445d5d35 Bug 1720654 - Make fullscreen tests wait for the right page to load in newly-opened windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D119961
2021-07-16 16:40:00 +00:00
Henri Sivonen
febc702c0c Bug 1698036 - Pause for OOP focus to stabilize in browser_fullscreen_window_focus.js. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D119395
2021-07-13 17:09:16 +00:00
Jared Wein
fefa376411 Bug 1715208 - Wait for the closebutton attribute to update instead of assuming it is atomic with inDOMFullscreen r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117157
2021-06-12 08:21:33 +00:00