Commit Graph

10810 Commits

Author SHA1 Message Date
Mike Conley
7b4982e14e Bug 1783918 - Part 4: Plumb trigger event through to calls to webrtcUI.showSharingDoorhanger and have it call openPopup directly. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D154130
2022-08-10 15:05:33 +00:00
Mike Conley
7045ff2c74 Bug 1783918 - Part 2: Make gPermissionPanel._openPopup public. r=pbz
This also moves the fullscreen fix for bug 1557041 to the top of openPopup so that
direct callers of openPopup don't bypass the fix.

Differential Revision: https://phabricator.services.mozilla.com/D154128
2022-08-10 15:05:32 +00:00
Marian-Vasile Laza
9bc9d59b2f Backed out changeset 40d9553a84b9 (bug 1783500) for causing mochitest failures on test_popup_attribute.xhtml. CLOSED TREE 2022-08-10 14:34:51 +03:00
Emilio Cobos Álvarez
25cd340e57 Bug 1783500 - Account for input region margins when anchoring to a large rect. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D154074
2022-08-10 10:46:22 +00:00
Norisz Fay
1743877caf Backed out 2 changesets (bug 1783500) for causing mochitest failures on test_menulist_keynav.xhtml CLOSED TREE
Backed out changeset 96ef708fe045 (bug 1783500)
Backed out changeset fc1e55745c43 (bug 1783500)
2022-08-09 16:25:58 +03:00
Emilio Cobos Álvarez
027e7eb37b Bug 1783500 - Account for negative popup margins when anchoring to a large rect. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D154074
2022-08-09 10:42:39 +00:00
Gijs Kruitbosch
92c61677a9 Bug 923514 - add plaintext paste (paste without formatting) item to page context menu for richtext / contenteditable inputs, r=bgrins,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D153457
2022-08-08 18:33:45 +00:00
Ben Hearsum
b037e5ad8b Bug 1766636: ensure page info dialog opened by private browsing window groups with the correct taskbar icon r=Gijs
`nsWindow::Create` will do the right thing (including keeping this behaviour off by default for now) as long as `private` is set appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D152460
2022-08-08 15:59:38 +00:00
Emilio Cobos Álvarez
82a49f6600 Bug 1782858 - Make color-scheme affect Windows' non-native menus. r=desktop-theme-reviewers,dao
This matches what Linux and macOS do, and that allows the fix for bug 1782623
to work on Windows for unstyled selects.

This also simplifies the CSS (though it adds a new system color which is a bit
more annoying). I filed https://github.com/w3c/csswg-drafts/issues/7561 to
propose adding a more generic way to do this in the future (not just for
Firefox).

Differential Revision: https://phabricator.services.mozilla.com/D153549
2022-08-03 20:33:09 +00:00
Emilio Cobos Álvarez
9cf40266b9 Bug 1782247 - Allow another rect for browser_windowopen.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D153633
2022-08-03 18:23:22 +00:00
Jan-Ivar Bruaroey
b2f5c08813 Bug 1782114 - Close screen-capture stream after test. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D153487
2022-08-03 15:10:30 +00:00
Mark Banner
ba06e92cef Bug 1782008 - Remove now unnecessary ESLint test definitions from other .eslintrc.js files. r=mossop,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D153216
2022-08-03 11:16:20 +00:00
Mark Banner
1e3410cbdd 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
49022dd806 Bug 1782008 - Fix ESLint no-shadow issues in browser/base/content/test/tabMediaIndicator. r=mossop
These were hidden by the directories incorrectly specifying they were mochitest rather than browser mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D153066
2022-08-03 11:16:18 +00:00
Ryan VanderMeulen
16b2b94bd8 Bug 1773042 - Remove the accessibility indicator. r=eeejay,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D152928
2022-08-02 16:36:27 +00:00
Emilio Cobos Álvarez
cdefe1463a Bug 1782623 - Set select color-scheme based on child background. r=dholbert
This makes us use light or dark select popups on supported platforms
based on the background of the select element, which allows us to use
the right scrollbar color.

Depends on D153424

Differential Revision: https://phabricator.services.mozilla.com/D153425
2022-08-02 15:49:13 +00:00
Florian Quèze
60d6a42167 Bug 1742842 - Workaround known issues in tests that currently keep vsync enabled forever, r=mconley,webdriver-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D153204
2022-08-01 16:04:15 +00:00
Paul Zuehlcke
3d1cb51da2 Bug 1781982 - Remove privacy.dfpi_rollout_enabledByDefault scalar. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D153343
2022-08-01 13:40:41 +00:00
Antonin LOUBIERE
403959e339 Bug 1767054 - While undoing closed tabs, close blank tab after all tabs are undone. r=jaws
When undoing closed tabs, only close blank tab after all tabs are undone in order to not instantly restore the blank tab as part of the group.

Differential Revision: https://phabricator.services.mozilla.com/D145115
2022-07-31 21:53:21 +00:00
Butkovits Atila
c8acc270a0 Backed out 2 changesets (bug 1742842) for causing failures complaining about vsync. CLOSED TREE
Backed out changeset 82364f4b3520 (bug 1742842)
Backed out changeset b94a13888214 (bug 1742842)
2022-07-29 19:09:13 +03:00
Florian Quèze
8b58ee1d37 Bug 1742842 - Workaround known issues in tests that currently keep vsync enabled forever, r=mconley.
Depends on D132055

Differential Revision: https://phabricator.services.mozilla.com/D153204
2022-07-29 15:31:19 +00:00
Mark Banner
cd9bed2e7a 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
Dan Minor
c616533b14 Bug 1779621 - Migrate intl/locale from jsm to esm; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D151865
2022-07-26 12:28:41 +00:00
Emilio Cobos Álvarez
e778aa36f0 Bug 1739271 - Make sure to wait for both sizemodechange and resize. r=Gijs
(If window is not maximized already).

Differential Revision: https://phabricator.services.mozilla.com/D152620
2022-07-26 11:04:38 +00:00
Tooru Fujisawa
d5ad1e52b7 Bug 1780543 - Part 6: Stop using mozilla/frame-script in unrelated files. r=Standard8,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D152431
2022-07-26 02:46:31 +00:00
smolnar
4cb3dcaaa2 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
bf597b1f3a 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
Nick Alexander
770d26e84e Bug 1776514 - Allow background tasks to enable Nimbus and Firefox Messaging System. r=barret,bytesized
This commit does several things:

1.  It configures a new Nimbus feature and corresponding message group
    `backgroundTaskMessage`.

2.  It configures `Firefox Messaging Experiments` to use the new
    Nimbus feature in background tasks.  The existing Remote Settings
    collection `nimbus-desktop-experiments` continues to be used.

    These configurations are achieved by setting preferences in
    `backgroundtasks_browser.js`, which is applied on top of
    `firefox.js` prefs by the preference service.  These preferences
    apply to every background task.

3.  It implements functions for enabling Nimbus and the Firefox
    Messaging System (and Messaging Experiments) that can be used by
    arbitrary background tasks.

    It is assumed (but not enforced here) that such tasks will use
    non-ephemeral (persistent) profiles, so that Remote Settings
    incremental sync, Nimbus bucketing, and Messaging System message
    limits, function as expected.

4.  It adds a new `message` background task specifically for testing
    background task messages.  Invoke the testing task with command
    lines like `firefox --backgroundtask message ...`.

    To ease testing, the framework accepts `--url about:studies?...`
    arguments from the Experimenter Web UI to explicitly opt-in to
    specific experiment branches.

    This task is complicated because it is intended both for QA to
    manually invoke, but also to be used by automated tests.

Eventually the existing `backgroundupdate` task will use the new
functions, just as the testing `message` task does.

Differential Revision: https://phabricator.services.mozilla.com/D150521
2022-07-22 04:42:13 +00:00
Butkovits Atila
14acd83640 Backed out changeset e6ad35220e23 (bug 1776514) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2022-07-22 07:06:35 +03:00
Nick Alexander
2d3f9c32f8 Bug 1776514 - Allow background tasks to enable Nimbus and Firefox Messaging System. r=barret,bytesized
This commit does several things:

1.  It configures a new Nimbus feature and corresponding message group
    `backgroundTaskMessage`.

2.  It configures `Firefox Messaging Experiments` to use the new
    Nimbus feature in background tasks.  The existing Remote Settings
    collection `nimbus-desktop-experiments` continues to be used.

    These configurations are achieved by setting preferences in
    `backgroundtasks_browser.js`, which is applied on top of
    `firefox.js` prefs by the preference service.  These preferences
    apply to every background task.

3.  It implements functions for enabling Nimbus and the Firefox
    Messaging System (and Messaging Experiments) that can be used by
    arbitrary background tasks.

    It is assumed (but not enforced here) that such tasks will use
    non-ephemeral (persistent) profiles, so that Remote Settings
    incremental sync, Nimbus bucketing, and Messaging System message
    limits, function as expected.

4.  It adds a new `message` background task specifically for testing
    background task messages.  Invoke the testing task with command
    lines like `firefox --backgroundtask message ...`.

    To ease testing, the framework accepts `--url about:studies?...`
    arguments from the Experimenter Web UI to explicitly opt-in to
    specific experiment branches.

    This task is complicated because it is intended both for QA to
    manually invoke, but also to be used by automated tests.

Eventually the existing `backgroundupdate` task will use the new
functions, just as the testing `message` task does.

Differential Revision: https://phabricator.services.mozilla.com/D150521
2022-07-22 03:16:43 +00:00
Mark Banner
d026f430f6 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
Mark Banner
3bc22312b6 Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 22:34:20 +00:00
smolnar
ee079d37e2 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
Sam Foster
e154307ab9 Bug 1777541 - Remove the requirement for the firefox-view pref to be enabled when handling the firefox_view webchannel message. r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D151947
2022-07-20 18:40:56 +00:00
cmastro
7ebb09f349 Bug 1777146 - Removed extraneous CaptivePortalWatcher reference r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D151561
2022-07-20 18:34:01 +00:00
Mark Banner
78524564fc 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
Mark Banner
8715b062f5 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Mark Banner
eeae85208c Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 15:50:40 +00:00
Iulian Moraru
bc13570de5 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
Iulian Moraru
df431be6b8 Backed out 3 changesets (bug 1780074, bug 1780347) for causing multiple failures. CLOSED TREE
Backed out changeset ee4c4d34816c (bug 1780347)
Backed out changeset a13d3939b98a (bug 1780074)
Backed out changeset 3bc739f7de43 (bug 1780074)
2022-07-20 14:57:48 +03:00
Mark Banner
9e59e52e55 Bug 1780074 - Migrate newtab consumers to use ESM imports directly. r=daleharvey,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D152114
2022-07-20 10:36:52 +00:00
Mark Banner
9cb7e8c83c 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
Mark Banner
2bd76952c1 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
Mark Banner
a08ebb2faf Bug 1779982 - Migrate toolkit/components/places and browser/components/places to ESM. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D152004
2022-07-20 10:36:49 +00:00
Emilio Cobos Álvarez
fad9247f89 Bug 1780212 - Update test expectations. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D152179
2022-07-19 21:31:57 +00:00
Florian Quèze
f1ab7a07a1 Bug 1742797 - Fix intermittent test failures, r=hiro.
Depends on D151481

Differential Revision: https://phabricator.services.mozilla.com/D151480
2022-07-19 19:56:22 +00:00
Hiroyuki Ikezoe
de9bfb0382 Bug 1742797 - Discard WebRender resources when popup hides. r=Gijs,emilio
The browser test in this change was originally written by Gijs.

Differential Revision: https://phabricator.services.mozilla.com/D134444
2022-07-19 19:56:21 +00:00
Emilio Cobos Álvarez
8d258a0210 Bug 1779559 - Make tabbrowser manage chrome BC activeness. r=Gijs
Just like it manages content, so that we stop chrome animations and such
in hidden or fully-occluded windows too. This already happened on macOS
for minimized windows via PauseCompositor, but this should be better and
more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D151818
2022-07-19 19:25:47 +00:00
Mark Banner
6552d11eaf Bug 1779981 - Migrate search consumers to use ESM imports directly. r=mcheang,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152001
2022-07-19 17:12:43 +00:00
Mark Banner
d8213b709d Bug 1779981 - Migrate toolkit/components/search and browser/components/search to ESM. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D152000
2022-07-19 17:12:43 +00:00