Граф коммитов

3696 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 3c48e4f525 Bug 1710643 - Use an slightly higher threshold to consider a color dark. r=Gijs
Luminance goes from 0 to 255, so using 127 makes sense, and allows all
disabled titlebar colors that I found in various GTK themes to still be
considered dark enough (for those, 110 was too low).

Differential Revision: https://phabricator.services.mozilla.com/D114876
2021-05-12 22:52:28 +00:00
Toshihito Kikuchi b62b42bf9a Bug 1709113 - Add null check in DefaultTabUnloaderMethods.iterateProcesses. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D114118
2021-05-03 15:42:25 +00:00
David Parks e37ad4b27a Bug 1698959: Remove HangData union and SLOW_SCRIPT enum value r=dthayer,geckoview-reviewers,agi
HangData is the only member left in the union and SLOW_SCRIPT is the only member left in the enum.
This patch also migrates the one remaining (invalid) use of PLUGIN_HANG in testing to work as a SLOW_SCRIPT instead.

Differential Revision: https://phabricator.services.mozilla.com/D113885
2021-05-01 01:12:46 +00:00
David Parks 27e7bb9383 Bug 1698959: Clean up dead terminatePlugin references r=dthayer
PLUGIN_HANG events are no longer sent so terminatePlugin is unused.

Differential Revision: https://phabricator.services.mozilla.com/D113884
2021-05-01 01:12:45 +00:00
David Parks 2284427083 Bug 1698959: Remove NPAPI plugin telemetry references r=dthayer
PLUGIN_HANG events are no longer possible so all of these markers are already inactive.

Differential Revision: https://phabricator.services.mozilla.com/D113882
2021-05-01 01:12:45 +00:00
Toshihito Kikuchi 643e02bdb1 Bug 1708822 - Handle a case where processMap did not have a corresponding entry. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D114020
2021-04-30 21:23:38 +00:00
Valentin Gosu 5c93080204 Bug 1694662 - Remove appcache from site data manager r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D106446
2021-04-30 07:20:20 +00:00
Csoregi Natalia a76b78d543 Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz ce84c86379 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila 9597a30fbb Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz a344c0fa4c Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Emilio Cobos Álvarez 9402e09c63 Bug 1707895 - Make the -moz-toolbar-prefers-color-scheme a tri-state. r=mstriemer
This will allow detecting the system theme, which allows fixing some of
the blocked bugs.

Note that when using the system theme we will still match light or dark
appropriately, so this shouldn't change behavior just yet.

Differential Revision: https://phabricator.services.mozilla.com/D113516
2021-04-27 16:20:35 +00:00
Mike Conley c0f33ff43d Bug 1705849 - Update toolbar icon fill colours for system/light/dark themes to remove opacity and match Proton spec. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112820
2021-04-26 16:55:12 +00:00
Cosmin Sabou 6143c3b834 Backed out changeset a08a2e0aee43 (bug 1705849) for causing Bug 1707357. a=backout 2021-04-24 18:52:22 +03:00
Joel Maher 8a9f37b534 Bug 1706716 green up mda, xpcshell, browser-chrome, reftest for apple silicon. r=necko-reviewers,extension-reviewers,preferences-reviewers,application-update-reviewers,zombie,ahal,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D113001
2021-04-22 18:39:40 +00:00
Mike Conley 5adce32a77 Bug 1705849 - Update toolbar icon fill colours for system/light/dark themes to remove opacity and match Proton spec. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112820
2021-04-22 15:29:51 +00:00
Marco Bonardo 40fdf805bd Bug 1703590 - Fix custom themes urlbar/searchbar separators. r=harry,desktop-theme-reviewers,rpl
Stop supporting toolbar_field_separator in themes. We have no more
vertical separators in toolbar fields, and it could hide functional horizontal
separators in the urlbar panel, because it was misused there.

Introduce an autocomplete_popup_separator experimental color instead and use
a color-mix of currentColor to better adapt to LWT theme colors.

Differential Revision: https://phabricator.services.mozilla.com/D112616
2021-04-20 11:24:22 +00:00
Mark Striemer 209f987106 Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-18 22:22:49 +00:00
Narcis Beleuzu b6e1337b20 Bug 1659101 - Disable browser_preloading_tab_moving.js on Windows for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D112465
2021-04-17 11:05:15 +00:00
Noemi Erli f90389736b Backed out changeset 1c9943dacbdb (bug 1701691) for causing failures in browser_toolbar_prefers_color_scheme.js CLOSED TREE 2021-04-16 05:29:10 +03:00
Mark Striemer 53099a968e Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-16 00:43:46 +00:00
Csoregi Natalia 5cfbff72cd Backed out changeset 79c1392f7c43 (bug 1701691) for failures on browser_toolbar_prefers_color_scheme.js. CLOSED TREE 2021-04-15 22:18:09 +03:00
Emma Malysz ccbfbd3ba6 Bug 1704717, sentence casing for site permission panel r=flod
This does not apply to the strings in the cancel button (allow, block, etc)

Differential Revision: https://phabricator.services.mozilla.com/D112218
2021-04-15 18:22:27 +00:00
Mark Striemer 67dde35bda Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-15 18:17:07 +00:00
Harry Twyford aa6a266066 Bug 1705205 - Make remaining tests in browser/modules/test work with native context menus. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D112085
2021-04-14 20:52:56 +00:00
Markus Stange 11dec9608f Bug 1704569 - Don't synthesize events on menus in browser/modules/test/browser/browser_UsageTelemetry_interaction.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111680
2021-04-13 16:22:18 +00:00
Francesco Lodolo (:flod) f39ec97e9f Bug 1704315 - Change l10n IDs for "Stop" button in process hang infobar, r=florian
Only the label was changed in bug 1694229, causing issues with the existing access key (still used in <89 for "Stop it").
Changing both IDs to force retranslation.

Differential Revision: https://phabricator.services.mozilla.com/D111576
2021-04-12 13:51:01 +00:00
Luca Greco 1bdc1299b6 Bug 1703889 - Ensure hidden extension pageAction are not visible in the urlbar overflow menu on Proton. r=mixedpuppy,mak
Differential Revision: https://phabricator.services.mozilla.com/D111423
2021-04-12 12:06:59 +00:00
Michael Kohler 5e33449e21 Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-11 11:42:57 +00:00
Butkovits Atila 5cdffcf176 Backed out changeset 2ee25a7f42f2 (bug 1701990) for causing failures at browser_970511_undo_restore_default.js. CLOSED TREE 2021-04-10 10:50:31 +03:00
Michael Kohler 2b31de8ac1 Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-10 06:10:15 +00:00
Harry Twyford d9d737c823 Bug 1699834 - Enable new tab page handoff by default and in automated tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111462
2021-04-09 20:52:26 +00:00
Jan-Ivar Bruaroey 13771db18d Bug 1703674 - Revoking cam or mic permission revokes both if either is capturing. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D111174
2021-04-09 20:48:41 +00:00
Marco Bonardo 2c982d3c01 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Mark Striemer 243a572397 Bug 1703173 - Remove ftl adding support from notification-message r=jaws
It turns out the shadow document doesn't need its own FTL imports, the parent can
include them instead. This moves the requirement back onto the caller to ensure
that any FTL files it needs are already imported when creating a notification-message.

Depends on D111189

Differential Revision: https://phabricator.services.mozilla.com/D111190
2021-04-09 15:58:15 +00:00
Cosmin Sabou 13826a4c50 Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE 2021-04-09 17:51:48 +03:00
Marco Bonardo af19ef5dc4 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
Drew Willcoxon 039abf1efa Bug 1703389 - Fix failures in browser/modules/test/browser/browser_PageActions_newWindow.js with proton urlbar. r=mak
Depends on D111222

Differential Revision: https://phabricator.services.mozilla.com/D111330
2021-04-09 01:27:41 +00:00
Drew Willcoxon de4cbcce3d Bug 1703388 - Fix failures in browser/modules/test/browser/browser_PageActions_contextMenus.js with proton urlbar. r=mak
This builds on D111205 by factoring out some initialization into a new
`initPageActionsTest()` in head.js. I'll need to use it in
browser_PageActions_newWindow.js too (bug 1703389).

Pre-Proton, there are 4 page action context menu items:

* Add to Address Bar
* Remove from Address Bar
* Manage Extension
* Remove Extension

Regardless of Proton, there are two context menus, one for buttons in the urlbar
and one for items in the page action panel. They're actually the same menu of
course.

This test currently checks each menu item in both context menus for a
non-built-in action except for the Remove Extension menu item. In Proton, we
don't need to check Add or Remove, so I modified the test to skip them. I also
added a check for the Remove Extension menu item. The test now must actually
create an extension with a page action to test the context menu because in
Proton only actions with extension IDs get the context menu (bug 1700364). Since
the test is creating an extension anyway, testing the Remove Extension menu item
isn't too hard.

Depends on D111205

Differential Revision: https://phabricator.services.mozilla.com/D111222
2021-04-08 19:07:27 +00:00
Drew Willcoxon 2226cdec68 Bug 1703387 - Fix failures in browser/modules/test/browser/browser_PageActions.js with proton urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111205
2021-04-08 19:07:26 +00:00
Emma Malysz acd0f28d02 Bug 1703390: fix failures in browser/modules/test/browser/browser_UsageTelemetry_interaction.js for proton urlbar pref r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111163
2021-04-07 21:32:46 +00:00
Kershaw Chang 19602fcd6c Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana
Differential Revision: https://phabricator.services.mozilla.com/D110219
2021-04-07 07:59:18 +00:00
David Parks 9c8a6dec0d Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-06 19:28:13 +00:00
David Parks 2b32f597cb Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-06 19:28:09 +00:00
Mark Striemer 8c847467fd Bug 1702327 - Fix browser_UnsubmittedCrashHandler.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110618
2021-04-06 04:26:30 +00:00
Mark Striemer 888a65b0e0 Bug 1702327 - Fix browser_ProcessHangNotifications.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110617
2021-04-06 04:26:30 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks f85199c17c Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-05 23:48:36 +00:00
David Parks 3f9712f20f Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-05 23:48:32 +00:00
Doug Thayer 261c0c67f4 Bug 1702516 - Fix hang notification tests to not expect terminateGlobal r=florian
Depends on D110583

Differential Revision: https://phabricator.services.mozilla.com/D110695
2021-04-05 16:00:09 +00:00