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

4167 Коммитов

Автор SHA1 Сообщение Дата
Mike Kaply f2649915eb Bug 1720389 - Add IS_ESR to AppConstants and rename ESR #ifdef to MOZ_ESR. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D120371
2021-07-22 20:00:26 +00:00
Emilio Cobos Álvarez 08dccdd536 Bug 1721347 - Add OS theme info to about:support. r=Gijs,fluent-reviewers
I'm not sure what information would be useful in other OSes, so ifdef
the row for GTK for now, but I made this trivial to show in Windows /
macOS / Android as soon as they return useful information.

Differential Revision: https://phabricator.services.mozilla.com/D120331
2021-07-20 20:09:09 +00:00
Gijs Kruitbosch 550d651713 Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki
This avoids starting autoscroll on SVG links, and on HTML links that
contain SVG, by sharing the code that browser's ClickHandlerChild uses
to detect links into BrowserUtils, and using that from AutoScrollChild
to determine if the click happened on top of a link. It also adds a
test so we avoid regressing this in future.

When running the test, I noticed an error from ClickHandlerParent
when the browser for which we receive a click has gone away, and
fixed it by adding a nullcheck and early return.

Differential Revision: https://phabricator.services.mozilla.com/D120024
2021-07-19 11:36:55 +00:00
Iulian Moraru c328fc4c11 Backed out changeset 57d00cc40a56 (bug 1716883) for causing linting failures on browser_autoscroll_disabled_on_links.js 2021-07-16 15:58:06 +03:00
Gijs Kruitbosch b49bc42fda Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki
This avoids starting autoscroll on SVG links, and on HTML links that
contain SVG, by sharing the code that browser's ClickHandlerChild uses
to detect links into BrowserUtils, and using that from AutoScrollChild
to determine if the click happened on top of a link. It also adds a
test so we avoid regressing this in future.

When running the test, I noticed an error from ClickHandlerParent
when the browser for which we receive a click has gone away, and
fixed it by adding a nullcheck and early return.

Differential Revision: https://phabricator.services.mozilla.com/D120024
2021-07-16 11:35:36 +00:00
Harry Twyford 0a09bfc556 Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-14 13:36:54 +00:00
Sandor Molnar dab21ee839 Backed out 2 changesets (bug 1719734, bug 1710934) for causing bc failures in browser_ext_themes_highlight. CLOSED TREE
Backed out changeset 74a832b24286 (bug 1719734)
Backed out changeset 9f6b5145351a (bug 1710934)
2021-07-13 18:29:26 +03:00
Harry Twyford 1865ff1ebd Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-13 14:20:41 +00:00
Nika Layzell 8337d7a4df Bug 1706302 - Part 1: Use DOMDocElementCreated for RemotePage actors, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118618
2021-07-09 16:30:28 +00:00
Toshihito Kikuchi 309abd3615 Bug 1713855 - Part1: Remove the Third-Party Modules section from about:support. r=Gijs
Now that the about:third-party page landed (bug 1695817), we can remove the predecessor.
This patch reverts the Part10 patch of bug 1669036 (d9f8cdf2877b), keeping the other patches
which are required for about:third-party page.

Differential Revision: https://phabricator.services.mozilla.com/D118382
2021-06-25 22:22:03 +00:00
Tarik Eshaq 453be8c6fd Bug 1716450 - Removes fxa-client rust code from Desktop. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D118238
2021-06-22 17:04:35 +00:00
Andrew Osmond 98f810e4e4 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-21 12:46:32 +00:00
Henri Sivonen 7df7939f77 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 12:09:01 +00:00
Dorel Luca 2118316ba4 Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE 2021-06-21 12:10:54 +03:00
Henri Sivonen abbbf94915 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 08:09:43 +00:00
Brindusan Cristian 97b71ee13f Backed out 2 changesets (bug 1715515) for breaking the decision task.
CLOSED TREE

Backed out changeset 2e674ac39f8f (bug 1715515)
Backed out changeset 39580a1b4188 (bug 1715515)
2021-06-18 03:20:07 +03:00
Andrew Osmond be550ad9c9 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-17 23:53:39 +00:00
Harry Twyford 11271080a2 Bug 1662172 - Part 2 - Remove keyword code from UnifiedComplete. r=adw
Depends on D116898

Differential Revision: https://phabricator.services.mozilla.com/D116899
2021-06-17 22:04:54 +00:00
Mark Banner 28abf1cb81 Bug 1515695 - Remove Task.jsm. r=florian,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D118001
2021-06-17 08:28:02 +00:00
Anny Gakhokidze 95c3dbf0de WIP: Bug 1713713 - Remove pref that decides if OriginAttributes should be used in a remote type r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117926
2021-06-16 00:31:15 +00:00
Kashav Madan 1a33a37654 Bug 1715852 - Fix SessionHistoryEntry::mSrcdocData to work with session restore, r=peterv
Not setting mIsSrcdocEntry causes us to drop srcdoc data and not set
INTERNAL_LOAD_FLAGS_IS_SRCDOC in FillLoadInfo for srcdoc restores.

Differential Revision: https://phabricator.services.mozilla.com/D117479
2021-06-15 13:34:01 +00:00
Andrew Halberstadt 40b5206cf7 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-06-14 15:31:41 +00:00
Ed Lee 9930a18c9b Bug 1633883 - TelemetryTestUtils.assertScalar assumes Number (so behaves odd for boolean, strings) r=chutten
Split assertScalar to assertScalarUnset to allow the former to plain check the value including strings, false and 0.

Differential Revision: https://phabricator.services.mozilla.com/D117457
2021-06-11 21:06:26 +00:00
Molly Howell 119eaa0928 Bug 1710633 - Use the actual titlebar height to determine subdialog size. r=Mardak
It isn't immediately obvious that the hardcoded 30 pixel value this patch
replaces was meant to represent strictly the height of the dialog's title bar
(including border), but I do believe that is how it was intended, based on
these two things:

1) Using 0 instead of 30 when no titlebar is present at least appears to be the
   correct behavior, or if nothing else it's a reasonable enough behavior that
   it prevents anything looking broken.
2) 30 pixels is the exact height of the titlebar including border as it
   actually appeared on in-content preferences dialog boxes at the time the
   hardcoded value was originally introduced here in bug 1128237.

So, based on that, it looks like what's needed here is a value that is zero
when no titlebar exists, or if there is one, then its computed height including
border. As it turns out, we were already computing exactly that value for
another purpose, so this patch simply plugs that in here in place of the
hardcoded constant.

Differential Revision: https://phabricator.services.mozilla.com/D117374
2021-06-11 20:02:37 +00:00
Luca Greco 1459fc9f1f Bug 1682632 - part3: Restrict Extension API webidl bindings to nightly builds. r=baku,mixedpuppy
Depends on D99887

Differential Revision: https://phabricator.services.mozilla.com/D104707
2021-06-11 18:58:11 +00:00
Dimi Lee a8a701a4a6 Bug 1708455 - P4. Add DOMFormHasPossibleUsernameField event to notify the password manager when a form has a text input or an email input. r=sfoster,tgiles,smaug
Right now, we limit the type of a username field in username-only forms to be either text or email.
This is different from what the password manager currently support in LoginHelper.isUsernameFieldType.
This is because text and email type are the most common cases for a username field, and we want to focus
on the cases that are more likely a username field.

This patch adds "DOMFormHasPossibleUsername" event to notify the password manager when a form has a possible
username field (text or email). The event works similar to the existing "DOMFormHasPassword" event.

Depends on D113797

Differential Revision: https://phabricator.services.mozilla.com/D113798
2021-06-11 11:56:03 +00:00
Alexandru Michis be06efd457 Backed out 14 changesets (bug 1682632) for causing hazard bustages in ExtensionEventManager.cpp
Backed out changeset c5acc19db606 (bug 1682632)
Backed out changeset 61380029a38b (bug 1682632)
Backed out changeset d3a153070b38 (bug 1682632)
Backed out changeset 8b8bd2385503 (bug 1682632)
Backed out changeset 7fa45afd83a0 (bug 1682632)
Backed out changeset 57652a2152ac (bug 1682632)
Backed out changeset 9195b13525d0 (bug 1682632)
Backed out changeset a647c0cb85e4 (bug 1682632)
Backed out changeset 55553e0dc6ca (bug 1682632)
Backed out changeset c85363089c29 (bug 1682632)
Backed out changeset 6c1f4efb4975 (bug 1682632)
Backed out changeset 9452456d249f (bug 1682632)
Backed out changeset 7b8016e5f3fb (bug 1682632)
Backed out changeset ba742f7e256f (bug 1682632)
2021-06-10 17:28:23 +03:00
Luca Greco 26098c2ce7 Bug 1682632 - part3: Restrict Extension API webidl bindings to nightly builds. r=baku,mixedpuppy
Depends on D99887

Differential Revision: https://phabricator.services.mozilla.com/D104707
2021-06-10 09:34:57 +00:00
Csoregi Natalia d2e0d6f213 Backed out 14 changesets (bug 1682632) for mbu failures. CLOSED TREE
Backed out changeset e14034a66620 (bug 1682632)
Backed out changeset 3e47d00b7822 (bug 1682632)
Backed out changeset bf010d24288c (bug 1682632)
Backed out changeset 9e321d3b964b (bug 1682632)
Backed out changeset 36540900695b (bug 1682632)
Backed out changeset 8660a7bcc4e1 (bug 1682632)
Backed out changeset 89322328bf07 (bug 1682632)
Backed out changeset 1bc53013f8b3 (bug 1682632)
Backed out changeset afcbc61ae254 (bug 1682632)
Backed out changeset 6a9f2fdec9ff (bug 1682632)
Backed out changeset 017891ebb9dd (bug 1682632)
Backed out changeset f78f3e3c8fa4 (bug 1682632)
Backed out changeset 16d334e1548f (bug 1682632)
Backed out changeset 006dfdbfe446 (bug 1682632)
2021-06-09 23:16:13 +03:00
Luca Greco 00d5ea766f Bug 1682632 - part3: Restrict Extension API webidl bindings to nightly builds. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D104707
2021-06-09 19:20:45 +00:00
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