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

4137 Коммитов

Автор SHA1 Сообщение Дата
Toshihito Kikuchi cfc57683ac Bug 1712630 - Introduce ProcessType.jsm to manage process type strings. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116438
2021-06-01 17:44:22 +00:00
Christoph Kerschbaumer a497e65804 Bug 1711901: Update PBM tests within toolkit/modules/tests to work with https-first-mode enabled r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D115491
2021-05-25 13:52:55 +00:00
Henrik Skupin fa4fbb78b4 Bug 1695031 - Combine build flags --disable-marionette and --enable-cdp as --disable-webdriver. r=firefox-build-system-reviewers,Gijs,smaug,keeler,jdescottes,glandium
Differential Revision: https://phabricator.services.mozilla.com/D115583
2021-05-25 09:13:28 +00:00
Chris Martin 1d91d0549c Bug 1709383 - Add Win32k Lockdown status to about:support and Crash Reporter r=gsvelto,flod,bobowen,mossop,fluent-reviewers,chutten
- Move the decision logic for Win32k Lockdown to a common area where it can
  be re-used
- Cache the Win32k Lockdown state, since the result will never change
- Add IDL to allow JavaScript to query it
- Add it to the "about:support" page
- Add an annotation to Crash Reporter after the first time it's read

Differential Revision: https://phabricator.services.mozilla.com/D114850
2021-05-20 19:28:59 +00:00
Csoregi Natalia 91ab999d72 Backed out 2 changesets (bug 1709383) for failures on test_TelemetryEnvironment.js. CLOSED TREE
Backed out changeset 64774be5aaff (bug 1709383)
Backed out changeset 17a95b19bb75 (bug 1709383)
2021-05-20 20:33:51 +03:00
Chris Martin b2a51853d0 Bug 1709383 - Add Win32k Lockdown status to about:support and Crash Reporter r=gsvelto,flod,bobowen,mossop,fluent-reviewers,chutten
- Move the decision logic for Win32k Lockdown to a common area where it can
  be re-used
- Cache the Win32k Lockdown state, since the result will never change
- Add IDL to allow JavaScript to query it
- Add it to the "about:support" page
- Add an annotation to Crash Reporter after the first time it's read

Differential Revision: https://phabricator.services.mozilla.com/D114850
2021-05-20 14:28:03 +00:00
Danilo Bargen b70d8a2bdb Bug 1695519 - Remove obsolete checks and references related to wyciwyg protocol. r=Gijs,annevk
Support for the wyciwyg protocol was removed two years ago (see bug 1489308).

Differential Revision: https://phabricator.services.mozilla.com/D114418
2021-05-20 08:41:29 +00:00
Henrik Skupin d546c8341c Bug 1710839 - [remote] Remove remote.enabled preference. r=remote-protocol-reviewers,Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D115239
2021-05-17 20:20:15 +00:00
Andrei Oprea 3494dc5a49 Bug 1709938 - about:support should list Nimbus experiments and remote defaults r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D114976
2021-05-17 13:37:43 +00:00
Gijs Kruitbosch 3bbb79fe92 Bug 1710462 - allow SubDialogs dialogs to grow if the document's inner scroll height is initially larger than the window's, r=Mardak,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D114757
2021-05-13 15:05:24 +00:00
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
Nika Layzell f7e496bbeb Bug 1708734 - Part 4: Don't create the actor for some JSActor events, r=mconley,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D114794
2021-05-11 17:29:25 +00:00
Andrew Halberstadt f10a00ebb4 Bug 1696531 - [xpcshell] Skip test_subprocess.js in test-verify mode on MacOs, r=releng-reviewers,jmaher
Depends on D111728

Differential Revision: https://phabricator.services.mozilla.com/D114533
2021-05-11 15:30:40 +00:00
Iulian Moraru b9cf731dc4 Backed out changeset 160daad53292 (bug 1710462) for causing browser chrome failures on browser_subdialogs.js. CLOSED TREE 2021-05-11 18:44:50 +03:00
Gijs Kruitbosch b994f4ae5c Bug 1710462 - allow SubDialogs dialogs to grow if the document's inner scroll height is initially larger than the window's, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D114757
2021-05-11 14:54:50 +00:00
Gijs Kruitbosch 18e21e721a Bug 1709641 - adjust dark mode modal dialog background, mask and box shadow, r=bigiri
Differential Revision: https://phabricator.services.mozilla.com/D114729
2021-05-10 13:56:33 +00:00
Gijs Kruitbosch 0666493c39 Bug 1699430 - update bookmark edit dialog height in a way that causes us to reposition the dialog when shown as a subdialog, r=Mardak
This is based on feedback from Ed in https://phabricator.services.mozilla.com/D114292#3711919,

> One case that does behave inconsistently is that edit bookmark can become tall with tags open and directly updates the browser height

Indeed, moving this to use 'resizeBy', and setting the --inner-height property
that is used by the previous commit (D114292) to position window-modal dialogs
when we lack vertical space, elegantly solves this issue.

Differential Revision: https://phabricator.services.mozilla.com/D114480
2021-05-07 11:49:39 +00:00
Gijs Kruitbosch 2b96256c6d Bug 1699430 - allow window-modal dialogs to overlap the URL bar and tabstrip if the window is not tall enough, r=Mardak
There are a few disparate changes in this commit that combine to fix the bug.
In no particular order:
 - set a min-height on windows with toolbars. This extends the minimum
   content size from toolbarless windows to ones with toolbars, on the
   assumption that the overhead from the toolbar and tabs is always
   going to be at least 25px, even in compact mode (it's significantly
   more at the moment). This is also conveniently *just* enough for
   dialogs with a title, body and checkbox, at the default OS font size,
   to be usable (though the bottom can still get a little cut-off).
 - stop assuming there's 30px frame overhead on top of the size of the
   browser in which the dialog is displayed in SubDialog.jsm. This is
   perhaps true in prefs where we display a titlebar outside of the
   browser, but we don't do this for content/tab/window-modal dialogs
   shown in browser.xhtml so the code shouldn't assume. Without this,
   when the window starts off not being tall enough to fit, we were
   losing an additional 30px for no reason.
 - instead of subtracting the 1em padding on the <dialog> that the
   default styling provides (https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/layout/style/res/html.css#815 ) just reset it to 0 and stop subtracting it.
 - remove the CSS rule for tab and window-modal dialogs that depends on
   `--doc-height-px`. It is never set, because it is only set for the
   `limitheight` sizeto value in SubDialog.jsm, and the only
   consumer that sets that is at
   https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/browser/base/content/browser.js#8988
   for content dialogs.
 - set the margin-top for the window-modal-dialog element from CSS
   instead of from the gDialogBox code in browser.css (now without the 1em
   subtraction, see above).
 - expose the height of the dialog to the parent of the dialog overlay
   from SubDialog.jsm as --inner-height
 - use CSS to ensure the dialog is off-set to be just below chrome
   when its size allows this, and otherwise move it up until it
   fits. There's a code comment explaining this.

Differential Revision: https://phabricator.services.mozilla.com/D114292
2021-05-07 11:49:39 +00:00
Dorel Luca d7ebd0d578 Backed out 2 changesets (bug 1699430) for WPT Failures in /html/semantics/embedded-content/the-img-element/image-loading-lazy-base-url.html. CLOSED TREE
Backed out changeset 7f44fe2ccd4f (bug 1699430)
Backed out changeset b813f78228d8 (bug 1699430)
2021-05-07 16:00:49 +03:00
Gijs Kruitbosch 8c997ec7c3 Bug 1699430 - update bookmark edit dialog height in a way that causes us to reposition the dialog when shown as a subdialog, r=Mardak
This is based on feedback from Ed in https://phabricator.services.mozilla.com/D114292#3711919,

> One case that does behave inconsistently is that edit bookmark can become tall with tags open and directly updates the browser height

Indeed, moving this to use 'resizeBy', and setting the --inner-height property
that is used by the previous commit (D114292) to position window-modal dialogs
when we lack vertical space, elegantly solves this issue.

Differential Revision: https://phabricator.services.mozilla.com/D114480
2021-05-07 11:49:39 +00:00
Gijs Kruitbosch 4d264245a1 Bug 1699430 - allow window-modal dialogs to overlap the URL bar and tabstrip if the window is not tall enough, r=Mardak
There are a few disparate changes in this commit that combine to fix the bug.
In no particular order:
 - set a min-height on windows with toolbars. This extends the minimum
   content size from toolbarless windows to ones with toolbars, on the
   assumption that the overhead from the toolbar and tabs is always
   going to be at least 25px, even in compact mode (it's significantly
   more at the moment). This is also conveniently *just* enough for
   dialogs with a title, body and checkbox, at the default OS font size,
   to be usable (though the bottom can still get a little cut-off).
 - stop assuming there's 30px frame overhead on top of the size of the
   browser in which the dialog is displayed in SubDialog.jsm. This is
   perhaps true in prefs where we display a titlebar outside of the
   browser, but we don't do this for content/tab/window-modal dialogs
   shown in browser.xhtml so the code shouldn't assume. Without this,
   when the window starts off not being tall enough to fit, we were
   losing an additional 30px for no reason.
 - instead of subtracting the 1em padding on the <dialog> that the
   default styling provides (https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/layout/style/res/html.css#815 ) just reset it to 0 and stop subtracting it.
 - remove the CSS rule for tab and window-modal dialogs that depends on
   `--doc-height-px`. It is never set, because it is only set for the
   `limitheight` sizeto value in SubDialog.jsm, and the only
   consumer that sets that is at
   https://searchfox.org/mozilla-central/rev/2f109387cc6886859d3f985ed9aca352fff653b8/browser/base/content/browser.js#8988
   for content dialogs.
 - set the margin-top for the window-modal-dialog element from CSS
   instead of from the gDialogBox code in browser.css (now without the 1em
   subtraction, see above).
 - expose the height of the dialog to the parent of the dialog overlay
   from SubDialog.jsm as --inner-height
 - use CSS to ensure the dialog is off-set to be just below chrome
   when its size allows this, and otherwise move it up until it
   fits. There's a code comment explaining this.

Differential Revision: https://phabricator.services.mozilla.com/D114292
2021-05-07 11:49:39 +00:00
Sandor Molnar 6ceb5f92a7 Backed out 10 changesets (bug 1696531) for causing mochitest failures in TypeError: cannot use a string pattern on a bytes-like object. CLOSED TREE
Backed out changeset abc85e3c21b0 (bug 1696531)
Backed out changeset 82445e26060e (bug 1696531)
Backed out changeset 97771570e425 (bug 1696531)
Backed out changeset c3f229148f6c (bug 1696531)
Backed out changeset 9557ff3065bc (bug 1696531)
Backed out changeset 98d17a5f6886 (bug 1696531)
Backed out changeset b0eee4af2caf (bug 1696531)
Backed out changeset 544be24f74be (bug 1696531)
Backed out changeset ddcc795bf838 (bug 1696531)
Backed out changeset e5e76f56ceb9 (bug 1696531)
2021-05-06 23:57:56 +03:00
Andrew Halberstadt 07b081c135 Bug 1696531 - [xpcshell] Skip test_subprocess.js in test-verify mode on MacOs, r=releng-reviewers,jmaher
Depends on D111728

Differential Revision: https://phabricator.services.mozilla.com/D114533
2021-05-06 19:51:36 +00:00
Andrew Halberstadt 406378d699 Bug 1696531 - [xpcshell] Fix some py3 related issues in toolkit/modules/subprocess/test/xpcshell/test_subprocess.js, r=bhearsum
Depends on D110546

Differential Revision: https://phabricator.services.mozilla.com/D109730
2021-05-06 19:51:35 +00:00
Dão Gottwald bf05d4e1a2 Bug 1699703 - Re-enable canonical URL conversion for search shortcuts. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D113972
2021-05-05 21:24:45 +00:00
Adam Gashlin 7f923a39e7 Bug 1705373 - Part 2: Expect success even with only the MOZ_UPDATE_AGENT FirstStartup task enabled. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D114307
2021-05-05 04:26:44 +00:00
Adam Gashlin d99519a3ff Bug 1700836 - Remove expired firstStartup telemetry. r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D114263
2021-05-04 18:44:52 +00:00
Nika Layzell 8e887cbfda Bug 1697928 - Select process for about:reader based on article URI, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D108864
2021-05-03 21:30:10 +00:00
Christoph Kerschbaumer d6ef7be5e9 Bug 1706593: Update prePath to camel case in nsIPrincipal.idl r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113927
2021-04-30 11:16:31 +00:00
Valentin Gosu 5c900317ff Bug 1694662 - Remove OfflineAppCacheHelper r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106445
2021-04-30 07:20:20 +00:00
Dorel Luca 770a1ae2ac Backed out changeset 4f76a69e26f9 (bug 1649604) for XPCshell failures in xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_strictcompatibility.js. CLOSED TREE 2021-04-30 00:35:58 +03:00
Emma Malysz f9e378d65d Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102041
2021-04-29 19:06:15 +00:00
Mike Conley e2585d60a1 Bug 1704882 - Prevent focus ring when automatically moving focus to first focusable element in a SubDialog. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113412
2021-04-28 18:09:47 +00:00
Valentin Gosu f46bd47b16 Bug 1574475 - Fix some failing FTP tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111251
2021-04-28 09:33:47 +00:00
Jared Wein 9ff67db626 Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
2021-04-26 21:46:08 +00:00
Cosmin Sabou 4c806f9410 Backed out changeset 4ad29c902ff4 (bug 1703044) for causing bc failures on browser_ext_themes_arrowpanels.js. CLOSED TREE 2021-04-27 00:12:16 +03:00
Jared Wein 6f231d697c Bug 1703044 - Update the caclulation of the panel secondary text to get it closer to the UX spec. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D112809
2021-04-26 20:33:38 +00: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
Butkovits Atila cd26f532ac Backed out changeset bac3906ff3ff (bug 1649604) for causing Xpcshell failures. CLOSED TREE 2021-04-22 21:22:03 +03:00
Mayeul Cantan d55b8b13cf Bug 1688030 - Safelist matrix scheme. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D113023
2021-04-22 15:33:43 +00:00
Emma Malysz 955699ca9a Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102041
2021-04-22 15:15:52 +00:00
Claudia 160df57b75 Bug 1644719 - Add basic support to display offline support pages when SUMO is unreachable. r=prathiksha,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111841
2021-04-22 15:11:37 +00:00
Narcis Beleuzu 33cc31099d Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu d5ffd10186 Bug 1574475 - Fix some failing FTP tests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111251
2021-04-22 13:41:35 +00:00
Dave Townsend 30b4f94dd3 Bug 1700972: Remove profile-per-install onboarding UI. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112292
2021-04-21 20:06:31 +00:00
Sebastian Hengst 39c03e867d Bug 1700836 - disable test_firstStartup.js because telemetry probe used expires in Gecko 90. a=prevent-permanent-test-failure
Differential Revision: https://phabricator.services.mozilla.com/D112523
2021-04-19 08:41:28 +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
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