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

3885 Коммитов

Автор SHA1 Сообщение Дата
Toshihito Kikuchi 9ca8c4ec98 Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 23:43:36 +00:00
Narcis Beleuzu b583b5d472 Backed out 10 changesets (bug 1669036) for bustages on TestCombinedStacks.cpp . CLOSED TREE
Backed out changeset 3d158bac444d (bug 1669036)
Backed out changeset d5b6e9d6b7aa (bug 1669036)
Backed out changeset ad3942a4c1f2 (bug 1669036)
Backed out changeset 2d3dd096f49f (bug 1669036)
Backed out changeset cd782ea33949 (bug 1669036)
Backed out changeset a025cdac711c (bug 1669036)
Backed out changeset 91549922741f (bug 1669036)
Backed out changeset cf29ad24eea5 (bug 1669036)
Backed out changeset 9d35204f6569 (bug 1669036)
Backed out changeset 2e779792d865 (bug 1669036)
2020-12-10 23:46:48 +02:00
Toshihito Kikuchi 04626577fe Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 20:44:13 +00:00
Scott 6c33bc2dec Bug 1610710 - Potential fix to a failing unit test, A promise chain failed to handle a rejection. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99017
2020-12-09 02:53:06 +00:00
Csoregi Natalia 4eae934956 Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE
Backed out changeset 2fdc1b5569e1 (bug 1654684)
Backed out changeset 8ae1d037aa9c (bug 1654684)
2020-12-09 16:11:42 +02:00
Sam Foster 0c4bb65e4d Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-09 02:59:26 +00:00
Dan Minor e96efeb12e Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-07 19:27:54 +00:00
Brindusan Cristian 6474307318 Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE
Backed out changeset 5a0333ca8a19 (bug 1654684)
Backed out changeset 87d06a4d6ab6 (bug 1654684)
2020-12-07 12:59:10 +02:00
Sam Foster 61cfb019d9 Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D96737
2020-12-07 08:44:14 +00:00
Dale Harvey bea62c168a Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-12-04 17:46:03 +00:00
Razvan Maries d1855adf59 Backed out 4 changesets (bug 1635561) for perma failures on test_intlUtils_getLocaleInfo.html. CLOSED TREE
Backed out changeset d4ef63a42094 (bug 1635561)
Backed out changeset 21d942cfc35d (bug 1635561)
Backed out changeset 562e4afa8a10 (bug 1635561)
Backed out changeset 05b8c9d0b50d (bug 1635561)
2020-12-03 23:07:09 +02:00
Dan Minor 3b91a35041 Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Depends on D98392

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-03 18:54:32 +00:00
Kris Wright fdf4934ae9 Bug 1664916 - Add rosetta status for about:support r=fluent-reviewers,haik,Gijs
This commit adds a rosetta status to three different places:
- `nsSystemInfo`, to check for rosetta status per apple specifications. We also use the same check in `nsCocoaFeatures` in D89961.
- `Troubleshoot.jsm`, to add rosetta status data (should it exist) to use in about:support
- `About:Support` itself, if the device is running MacOS

Differential Revision: https://phabricator.services.mozilla.com/D94930
2020-11-23 19:36:29 +00:00
pbz 13ef0eb48a Bug 1669990 - SubDialog: Use system event listener for escape key. r=Gijs
If a <select> in a SubDialog closes its popup when the user hits the esc key, it calls `preventDefault()` on the event. The SubDialog code didn't see this preventDefault, because it was using a normal event listener, while the select code uses a system event listener.

https://searchfox.org/mozilla-central/rev/c2e3ac11be4837718c2604e58085fbc8252b69dd/layout/forms/nsListControlFrame.cpp#925,2058,2068-2069,2075-2076

Differential Revision: https://phabricator.services.mozilla.com/D93253
2020-11-19 18:20:36 +00:00
Narcis Beleuzu d33e9a8fc8 Backed out changeset 189c8d74af36 (bug 1664916) for bc failure on browser_Troubleshoot.js. CLOSED TREE 2020-11-20 00:12:10 +02:00
Kris Wright 97e68c3664 Bug 1664916 - Add rosetta status for about:support r=fluent-reviewers,haik,Gijs
This commit adds a rosetta status to three different places:
- `nsSystemInfo`, to check for rosetta status per apple specifications. We also use the same check in `nsCocoaFeatures` in D89961.
- `Troubleshoot.jsm`, to add rosetta status data (should it exist) to use in about:support
- `About:Support` itself, if the device is running MacOS

Differential Revision: https://phabricator.services.mozilla.com/D94930
2020-11-19 18:22:15 +00:00
Nika Layzell 42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Nika Layzell 6b824cc31d Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00
Nika Layzell 9ff27adca3 Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-12 18:00:53 +00:00
Bogdan Tara 1b8a2c18be Backed out changeset b66d6544ad5a (bug 1663501) for payment-reporting.https.html failures CLOSED TREE 2020-11-13 01:04:38 +02:00
Dale Harvey 2432edac16 Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-11-12 17:35:22 +00:00
Dão Gottwald f59f6be9a5 Bug 1676897 - Remove obsolete resolutionchange handling from LightweightThemeConsumer.jsm. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D96838
2020-11-12 17:38:00 +00:00
Tim Huang fd15d2199a Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-11 11:13:55 +00:00
Mihai Alexandru Michis 4038013e6f Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
CLOSED TREE

Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang 13ec804734 Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-10 11:47:32 +00:00
Dan Minor fd4b6484ff Bug 1673054 - Convert callers to use isAppLocaleRTL; r=Gijs,zbraniecki
This moves callers that are using getLocaleInfo to determine the current locale
to render widgets to use the new isAppLocaleRTL method. This will allow us to remove
pref overrides from getLocaleInfo.

Differential Revision: https://phabricator.services.mozilla.com/D96234
2020-11-10 16:30:57 +00:00
Kris Maglione 7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Nick Alexander 874576b950 Bug 1675332 - Pre: Make `VALUE: null` remove env vars in Subprocess.jsm. r=kmag
This small tweak makes it ergonomic to remove variables from the
inherited environment.  Using `null` to signal "removal", distinct
from `undefined` for "ignored", seems to be an accepted idiom in these
types of JS interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D95896
2020-11-06 05:01:57 +00:00
Neil Deakin c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Emilio Cobos Álvarez 2efeea8d73 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-04 11:03:48 +00:00
Razvan Maries 10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell 5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Nika Layzell a30f10ec01 Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-04 00:55:23 +00:00
Nika Layzell b20d2f0f1b Bug 1671983 - Part 1: Remove now-unused process switching shouldLoadURI methods, r=annyG,geckoview-reviewers,snorp
These methods are no longer necessary, as all loads which can trigger process
switches now go through DocumentChannel.

The shouldLoadURI methods on nsIWebBrowserChrome3 are unfortunately still
necessary as they're used by the disabled-by-default "Single-Site Browser"
feature. In the future this may be possible to clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D94638
2020-11-04 00:55:23 +00:00
Razvan Maries 848e6efc73 Backed out changeset b5330b68ce05 (bug 1674135) for perma failures on browser_siteData2.js and browser_pdf_printer_settings.js. CLOSED TREE 2020-11-04 02:43:34 +02:00
Emilio Cobos Álvarez 55c7bb96b4 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-03 23:36:32 +00:00
Martin Stransky 86ec37745d Bug 1658887 Expose Linux/Wayland related preferences at about:support, r=Gijs
- Expose wayland dmabuf related options, which are:
  widget.dmabuf-textures.enabled
  widget.dmabuf-webgl.enabled

- Expose widget.use-xdg-desktop-portal which enables remote system dialogs like Print/Open/Save.

- Expose general Wayland preferences:
  widget.wayland-smooth-rendering - extra buffering of Wayland SW rendering
  widget.wayland.use-opaque-region - use transparency hints for Wayland compositor
  widget.wayland_vsync.enabled - use independent vsync source

None of them provide sensitive informations.

Differential Revision: https://phabricator.services.mozilla.com/D86939
2020-11-03 18:38:23 +00:00
Dorel Luca 8ab9b89b0f Backed out changeset 3cc7771c487c (bug 1674135) for Browser-chrome failures in preferences/tests/siteData/browser_siteData.js. CLOSED TREE 2020-11-03 19:37:30 +02:00
Emilio Cobos Álvarez 68568f67a5 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-03 16:35:34 +00:00
Bogdan Tara e267318576 Backed out changeset a7f0c3d87325 (bug 1674135) for browser/components/preferences/ mochitest failures CLOSED TREE 2020-11-02 23:13:33 +02:00
Emilio Cobos Álvarez 0ebbb751e6 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-02 19:23:23 +00:00
Tim Giles b67b613817 Bug 1668965 - Remove mention of Lockwise mobile apps from about:logins. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93260
2020-11-02 17:09:56 +00:00
Marco Bonardo 71dde4521c Bug 1674418 - Properly handle conn.close() exception to not block async shutdown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95326
2020-11-01 20:37:26 +00:00
David Teller 7e3cd23b78 Bug 1426219 - Extend PromiseTestUtils to uncaught JavaScript Developer Errors;r=florian
This patch uses (and somewhat abuses) the existing PromiseTestUtils
mechanism to also be able to whitelist uncaught errors that are not
actual Promise rejections.

This uses `ChromeUtils.recentJSDevError`, which lets us find out
whether there is a recent ReferenceError/SyntaxError/TypeError in
chrome code, even if that error was caught.

MozReview-Commit-ID: 5z1pffURNYm

Differential Revision: https://phabricator.services.mozilla.com/D94972
2020-10-30 11:34:37 +00:00
Razvan Maries 74cfe80c4d Backed out changeset 56a8a402e139 (bug 1668965) for perma failures on browser_all_files_referenced.js and browser_protectionsUI_milestones.js. CLOSED TREE 2020-10-30 01:25:58 +02:00
Tim Giles 6252069544 Bug 1668965 - Remove mention of Lockwise mobile apps from about:logins. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93260
2020-10-29 21:07:54 +00:00
Neil Deakin 8773757bb3 Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D92519
2020-10-28 19:19:52 +00:00
Narcis Beleuzu 57cc17836f Backed out changeset ab6c1419da26 (bug 1669369) for bc failures on browser_all_files_referenced.js CLOSED TREE 2020-10-28 17:32:34 +02:00
Neil Deakin a1d6faff00 Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D92519
2020-10-28 13:58:27 +00:00
Marco Bonardo 4ef751c0a8 Bug 1673865 - Fix Sqlite async shutdown blocker state vars. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D94987
2020-10-28 13:43:16 +00:00