Commit Graph

821035 Commits

Author SHA1 Message Date
Tooru Fujisawa
84533f6bcf Bug 1797024 - Part 1: Move OOM handling out of frontend::WellKnownParserAtoms. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160206
2022-11-24 15:44:40 +00:00
Tooru Fujisawa
81b3e451ce Bug 1786834 - Part 2: Remove unnecessary JSContext parameters. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160205
2022-11-24 15:44:39 +00:00
Tooru Fujisawa
2a4ca22b5f Bug 1786834 - Part 1: Move SharedImmutableStringsCache out of JSRuntime and make it singleton. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160204
2022-11-24 15:44:39 +00:00
Cameron B
93b1f9eeed Bug 1802210 - Add cookie-banner-rules-list data in tree. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D162905
2022-11-24 15:40:37 +00:00
Cristian Tuns
c0add0d0fb Backed out changeset 4a504fa8d156 (bug 1802207) for causing bc failures CLOSED TREE 2022-11-24 10:46:53 -05:00
Cristian Tuns
aad27a0603 Backed out changeset 01470df94a33 (bug 1799640) as requested by Andi CLOSED TREE 2022-11-24 10:43:24 -05:00
Chris H-C
3f896b41b8 Bug 1802207 - Wait to send component_init-reason "newtab" ping until newtab has been categorized r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162906
2022-11-24 15:22:49 +00:00
Marco Castelluccio
14f91b348b Bug 1790816 - Reformat js/ with isort. r=linter-reviewers,ahal DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162664
2022-11-24 15:22:43 +00:00
Cristian Tuns
a583e0e387 Backed out changeset 6ff09962db9e (bug 1792655) for causing mochitest failures in test_bug1123516_maplikesetlike.html CLOSED TREE 2022-11-24 10:27:15 -05:00
Jonathan Kew
f81e7a7e4a Bug 1801512 - Respect the Control Panel FontSmoothingGamma value, if present. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D162593
2022-11-24 15:10:43 +00:00
Marco Castelluccio
54eb2ccba2 Bug 1790816 - Reformat memory/ with isort. r=linter-reviewers,ahal DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162658
2022-11-24 15:10:26 +00:00
Makoto Kato
7128217aef Bug 1744687 - Part 2. Use windows backend for screen.orientation.lock(). r=smaug
Since I have added Windows backend for lock orientation by Part 1. fix, I
would like to use it in `screen.orientation.lock()`.

Since `dom.screenorientation.allow-lock` is still false on all platfroms even
if this fix is applied, orientation lock isn't turned on as default.

If lock orientation isn't supported in the device, the backend will throw
`NS_ERROR_DOM_NOT_SUPPORTED_ERR`.

Depends on D162451

Differential Revision: https://phabricator.services.mozilla.com/D162452
2022-11-24 15:10:15 +00:00
Makoto Kato
3dbf8deeb8 Bug 1744687 - Part 1. Lock orientation backend for Windows Tablet. r=gsvelto
Since Windows tablet mode has a orientation lock API, this patch
implements orientation lock backend for Windows tablet mode.

`GetAutoRotationState` API recognizes whether orientation API is supported on
the device. So this fix uses this API to check orientation API capability.

Differential Revision: https://phabricator.services.mozilla.com/D162451
2022-11-24 15:10:15 +00:00
Cristian Tuns
c14185f7cc Backed out changeset 9c4f4de3d68c (bug 1802207) for causing lint failures on TelemetryFeed.test.js CLOSED TREE 2022-11-24 10:14:59 -05:00
Alexandre Poirot
7626d25bd8 Bug 1801621 - [devtools] Document source map requests module. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162566
2022-11-24 14:57:49 +00:00
Alexandre Poirot
723bb4d77d Bug 1801621 - [devtools] Remove useless createConsumer intermediate module. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162565
2022-11-24 14:57:49 +00:00
Alexandre Poirot
c4df24fd2c Bug 1801621 - [devtools] Avoid creating WorkerDispatch task on each worker method call. r=bomsy
WorkerDispatcher.invoke will instantiate a new "Task" method on each call.
Ideally, we should only use WorkerDispatch.task(), unless the related method is called once.

Differential Revision: https://phabricator.services.mozilla.com/D162564
2022-11-24 14:57:48 +00:00
Alexandre Poirot
38987e2f72 Bug 1801621 - [devtools] Remove unused getAllGeneratedLocations. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162563
2022-11-24 14:57:48 +00:00
Alexandre Poirot
f22fbaf71e Bug 1801621 - [devtools] Remove asset root setters. r=bomsy
Instead we could always load the wasm file when the modules are loaded.

Differential Revision: https://phabricator.services.mozilla.com/D162562
2022-11-24 14:57:48 +00:00
Chris H-C
89d89d40f5 Bug 1802207 - Wait to send component_init-reason "newtab" ping until newtab has been categorized r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162906
2022-11-24 14:52:30 +00:00
Hanna Jones
7b1106d400 Bug 1788800 - fix new colorways card intermittent r=sfoster
From what I can tell switching to `withFirefoxView` and opening a new window to run these tests in + closing that window before disabling the theme messed with the timing of these tests in such a way that we started getting that vsync error shown in the logs. I've switched to running all these tests in the same window, which looks good from a couple of try pushes:

https://treeherder.mozilla.org/jobs?repo=try&revision=9a5f379ecc48bda08eab67210278b547f558f856

https://treeherder.mozilla.org/jobs?repo=try&revision=76b909924455fda54165ffeaa00b3654b4decd09

I'll file a follow up bug to change the default behaviour of `withFirefoxView` is to run tests in the same window, as this has come up before.

Also worth noting that even if this patch lands and fixes the new frequent intermittent we will likely still see the less frequent intermittents that happened prior to the change for Bug 1780441.

Differential Revision: https://phabricator.services.mozilla.com/D162617
2022-11-24 14:40:36 +00:00
ffxbld
ad2bde721e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D162979
2022-11-24 14:36:58 +00:00
Peter Van der Beken
f650e7dd34 Bug 1792655 - Make maplike<> and setlike<> generated methods enumerable. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D162860
2022-11-24 14:35:35 +00:00
Tomislav Jovanovic
12d1e77ad4 Bug 1801136 - Update tooltips when extensions require attention for permissions, r=willdurand,flod
Differential Revision: https://phabricator.services.mozilla.com/D162894
2022-11-24 14:16:30 +00:00
Olli Pettay
73ed00444f Bug 1800470, make it possible to extend WritableStream with another cycle collectable class, r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D162287
2022-11-24 13:58:39 +00:00
Jan Varga
b1055977ce Bug 1798773 - Always shutdown FileSystemManager; r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162200
2022-11-24 13:58:38 +00:00
Jon Coppeard
4d4cb93b17 Bug 1802298 - Fix unused variable warning for AutoClearTracingSource class r=jandem
This is an RAII class that does nothing in opt builds. Some compilers warn
about its use but that can be fixed by adding an empty destructor.

Differential Revision: https://phabricator.services.mozilla.com/D162984
2022-11-24 13:43:15 +00:00
Calixte
705175683e Bug 1754499 - Add pdf.js in GeckoView r=geckoview-reviewers,pdfjs-reviewers,marco,m_kato
Just add the minimal stuff in order to be able to view a pdf in using pdf.js
(whatever the content disposition is).
There are still some things to plug (e.g. find stuff), we must change the UI
and add support for pinch-to-zoom, hence we set the pref pdfjs.disabled to true.

Differential Revision: https://phabricator.services.mozilla.com/D162122
2022-11-24 13:36:17 +00:00
Marco Castelluccio
5a03842c0f Bug 1790816 - Reformat client.py and configure.py with isort. r=linter-reviewers,sylvestre DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162671
2022-11-24 13:09:01 +00:00
Mark Banner
1714f06fbf Bug 1802291 - Add nsIAboutWindowsMessages to the platform specific interfaces for the ESLint mozilla/valid-ci-uses rule. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D162973
2022-11-24 11:15:23 +00:00
Marco Castelluccio
de29bc2f0e Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162660
2022-11-24 10:58:05 +00:00
Cristian Tuns
426e194439 Backed out 5 changesets (bug 1797024, bug 1786834) for causing bc failures on asan_malloc_linux.cpp CLOSED TREE
Backed out changeset 6137c80af88e (bug 1797024)
Backed out changeset 221b3e1df1e3 (bug 1797024)
Backed out changeset b9988011c8e5 (bug 1797024)
Backed out changeset 4ecae42a3ced (bug 1786834)
Backed out changeset cef93fc024cf (bug 1786834)
2022-11-24 05:54:16 -05:00
Jonathan Kew
846990e522 Bug 1801521 - Reftest to check that subregion flag does not just render as black flag. r=m_kato
Depends on D162571

Differential Revision: https://phabricator.services.mozilla.com/D162572
2022-11-24 10:23:54 +00:00
Jonathan Kew
2678fa0ec6 Bug 1801521 - Try to avoid using an emoji font that lacks support for subregion flags. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D162571
2022-11-24 10:23:54 +00:00
Peter Van der Beken
f13c98d3dd Bug 1802174 - Add Kagami Rosylight as a DOM peer. r=mccr8,zeid DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162866
2022-11-24 10:02:17 +00:00
Tooru Fujisawa
a609387d06 Bug 1797024 - Part 3: Remove unnecessary JSContext parameters. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160208
2022-11-24 09:52:00 +00:00
Tooru Fujisawa
7b0f5b18d7 Bug 1797024 - Part 2: Move WellKnownParserAtoms out of JSRuntime. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160207
2022-11-24 09:51:59 +00:00
Tooru Fujisawa
90f139eef0 Bug 1797024 - Part 1: Move OOM handling out of frontend::WellKnownParserAtoms. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160206
2022-11-24 09:51:59 +00:00
Tooru Fujisawa
761a2ebc1f Bug 1786834 - Part 2: Remove unnecessary JSContext parameters. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160205
2022-11-24 09:51:59 +00:00
Tooru Fujisawa
93d8eab300 Bug 1786834 - Part 1: Move SharedImmutableStringsCache out of JSRuntime and make it singleton. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D160204
2022-11-24 09:51:58 +00:00
lyavor
bd299ebf6b Bug 1799662 - Test https-first performs fallback and mixed content level 2 is not auto upgrading. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D161595
2022-11-24 09:20:46 +00:00
Magnus Melin
14fc57b869 Bug 1800033 - mozavcodec and mozavutil should be ifdef MOZ_FFPVX. r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D162654
2022-11-24 09:18:55 +00:00
Dave Townsend
96ee5dcb2a Bug 1792466: Track browser windows that are in the process of being opened so we don't open multiple windows when trying to open many files/urls quickly. r=Gijs
Ideally we would use the window mediator to just find new browser windows that
are in the process of opening but while we can find the windows they just appear
as about:blank with no way to verify that they are browser windows.

This just takes the straightforward approach of forcing code that opens browser
windows to register them with the BrowserWindowTracker and provides a simple
shared API for opening browser windows that does this.

Differential Revision: https://phabricator.services.mozilla.com/D161076
2022-11-24 08:50:22 +00:00
Dave Townsend
f7086a60fb Bug 1792466: Ensure the startup lock directory exists each time we attempt to acquire the startup lock. r=mhowell
When one Firefox instance finishes starting up it releases the startup lock and
deletes the lock directory. Other instances that are waiting to startup are in
the meantime polling to acquire the lock but with the directory gone their next
attempt just throws a failure and so they assume they don't have the lock yet
and keep polling until they hit the five second timeout.

With this patch before each attempt to acquire the lock we make sure that the
lock directory exists first.

Differential Revision: https://phabricator.services.mozilla.com/D161075
2022-11-24 08:50:22 +00:00
Cristian Tuns
1e7840b129 Backed out changeset cbbd3bc4d731 (bug 1801283) as requested by Standard8. CLOSED TREE 2022-11-24 03:51:42 -05:00
lyavor
431f52e4d4 Bug 1800453 - Improve Error Message when blocking mixed content downloads. r=freddyb,flod freddyb
Differential Revision: https://phabricator.services.mozilla.com/D162101
2022-11-24 08:42:19 +00:00
Simon Friedberger
ce9c3dd6cd Bug 1802204 - Add feature for DAP telemetry - r=barret
Differential Revision: https://phabricator.services.mozilla.com/D162903
2022-11-24 08:39:21 +00:00
Cristian Tuns
2951b29286 Backed out changeset 934279c489b2 (bug 1794441) for causing wpt failures on FileSystemDirectoryHandle-getFileHandle.https.any.html CLOSED TREE 2022-11-24 02:43:51 -05:00
Mike Hommey
488b1a56d2 Bug 1743651 - Avoid failing to get the download size when a redirect is involved. r=firefox-build-system-reviewers,sergesanspaille
For some reason, in most cases, there is no redirection, but once in a
while, there is, and that breaks the download.

At the same time, make the download messages tell the url that is being
downloaded rather than where it is downloaded to.

Differential Revision: https://phabricator.services.mozilla.com/D162952
2022-11-24 07:23:28 +00:00
André Bargull
d42ff53bf8 Bug 1801851 - Part 3: Use IgnoreValue for void expressions. r=arai
`void` expressions don't use their value, so we can trivially use `IgnoreValue`.

Depends on D162715

Differential Revision: https://phabricator.services.mozilla.com/D162716
2022-11-24 07:08:31 +00:00