Commit Graph

820176 Commits

Author SHA1 Message Date
Mark Banner
ec76a72706 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (miscellaneous). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D161917
2022-11-17 12:00:32 +00:00
Mark Banner
e37f1bd043 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (devtools/). r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D161916
2022-11-17 12:00:31 +00:00
Mark Banner
46853be577 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (accesible/). r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D161915
2022-11-17 12:00:31 +00:00
Mark Banner
c1837954be Bug 1799314 - Convert consumers of testing modules to import ES modules direct (browser/). r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161914
2022-11-17 12:00:30 +00:00
Mark Banner
b932ce5801 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (js/). r=arai
Differential Revision: https://phabricator.services.mozilla.com/D161913
2022-11-17 12:00:30 +00:00
Mark Banner
1ecc61f91d Bug 1799314 - Convert consumers of testing modules to import ES modules direct (security/manager/). r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D161912
2022-11-17 12:00:30 +00:00
Mark Banner
bcbe5bc30d Bug 1799314 - Convert consumers of testing modules to import ES modules direct (services/). r=markh
Differential Revision: https://phabricator.services.mozilla.com/D161911
2022-11-17 12:00:29 +00:00
Mark Banner
82a9bfdbe8 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (toolkit/). r=mossop,pip-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161910
2022-11-17 12:00:29 +00:00
Mark Banner
a9ec0b8434 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (uriloader/ dom/ docshell/). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161909
2022-11-17 12:00:28 +00:00
Mark Banner
02375d923e Bug 1799314 - Convert consumers of testing modules to import ES modules direct (testing/). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D161908
2022-11-17 12:00:28 +00:00
Mark Banner
e9d9a68cc8 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (credential management). r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D161907
2022-11-17 12:00:28 +00:00
Mark Banner
addbb55326 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (app update). r=application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D161906
2022-11-17 12:00:27 +00:00
Mark Banner
b05e212622 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (extensions). r=extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D161905
2022-11-17 12:00:27 +00:00
Mark Banner
358de2fab7 Bug 1799314 - Convert consumers of testing modules to import ES modules direct (netwerk). r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D161904
2022-11-17 12:00:26 +00:00
Mark Banner
cfdc2367ec Bug 1799314 - Convert consumers of testing modules to import ES modules direct (remote). r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D161903
2022-11-17 12:00:26 +00:00
Mark Banner
b0b682191b Bug 1799314 - Convert consumers of testing modules to import ES modules direct (search). r=search-reviewers,mcheang
Differential Revision: https://phabricator.services.mozilla.com/D161902
2022-11-17 12:00:26 +00:00
Mark Banner
24f6e8a8ca Bug 1799314 - Convert most of the JSM modules in testing/ to ES modules. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D161431
2022-11-17 12:00:25 +00:00
Kershaw Chang
bf5f3727e8 Bug 1800751 - Disable network.ssl_tokens_cache_use_only_once for test_proxy_cancel.js, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D162277
2022-11-17 11:18:56 +00:00
Kershaw Chang
a040a8422e Bug 1800751 - Enable network.ssl_tokens_cache_use_only_once, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D162155
2022-11-17 11:18:55 +00:00
Dave Townsend
409d66befd Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod
In order to handle the content script case correctly we must expose the
contentScriptAddonPolicy to JavaScript. With that we can always see what
extension is trying to perform an action and use its name rather than internal
ID in the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D161282
2022-11-17 11:08:48 +00:00
Dave Townsend
f68a7e6e57 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-17 11:06:47 +00:00
Dave Townsend
f70a1b1575 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-17 11:06:47 +00:00
Nick Alexander
9e831a03d2 Bug 1666491 - Add a eslint-build tester (tier 3) that depends on xpt artifacts. r=nalexander,releng-reviewers,gbrown
Depends on D161641

Differential Revision: https://phabricator.services.mozilla.com/D162072
2022-11-17 10:57:41 +00:00
Nick Alexander
3d1bbcf060 Bug 1666491 - Consume .xpt artifacts during artifact builds. r=firefox-build-system-reviewers,glandium
For the specific case of `.xpt` artifacts, we could place them
directly into `$topobjdir/config/makefiles/xpidl`, but I'm wary of
modifying the object directory in this manner.  I'd like the initial
round of tooling building on this capability to look in
`dist/xpt_artifacts` for artifact builds and be able to give detailed
feedback in error situations.  We can revisit the placement of
artifacts in the future as more use cases and shortcomings are
identified.

In the future, this mechanism might be used to include Java code
generated at build-time that exposes IDL constants to GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D161641
2022-11-17 10:57:40 +00:00
Nick Alexander
85ce1ec470 Bug 1666491 - Package .xpt artifacts for consumption by artifact builds. r=firefox-build-system-reviewers,glandium
Some consumers, in particular some lint tasks, may have their builds
substituted with artifact builds.  Therefore, in an artifact build, we
re-package the fetched XPT artifacts.

Using the `zip` Python action makes the resulting archive reproducible.

Depends on D162071

Differential Revision: https://phabricator.services.mozilla.com/D161640
2022-11-17 10:57:40 +00:00
Nick Alexander
861d6e9ef6 Bug 1666491 - Pre: Make BufferedReader(JarFileReader) work. r=firefox-build-system-reviewers,glandium
On macOS, this allows the `ResignJarWriter` to handle ZIP (JAR) files
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D162071
2022-11-17 10:57:39 +00:00
Nick Alexander
2ad8d1f3cb Bug 1666491 - Pre: Delete failed (likely partially) processed artifacts. r=firefox-build-system-reviewers,glandium
It's possible that the processed file has not been created.

Differential Revision: https://phabricator.services.mozilla.com/D162073
2022-11-17 10:57:39 +00:00
Jens Stutte
c3a6f96327 Bug 1709184 - Part 11: Add a paranoia check against re-entrance in AdvanceShutdownPhase. r=xpcom-reviewers,nika
Depends on D160176

Differential Revision: https://phabricator.services.mozilla.com/D160250
2022-11-17 10:07:14 +00:00
Jens Stutte
b4bf71a425 Bug 1709184 - Part 10: Process pending MT events before advancing the shutdown phase. r=xpcom-reviewers,nika,kmag
Depends on D160627

Differential Revision: https://phabricator.services.mozilla.com/D160176
2022-11-17 10:07:13 +00:00
Csoregi Natalia
1e7d2e7ed6 Backed out 2 changesets (bug 1801040, bug 1801045) for causing failures on browser_webconsole_object_inspector_custom_formatters.js. CLOSED TREE
Backed out changeset ff58ef6ef9ae (bug 1801045)
Backed out changeset 668624c2b096 (bug 1801040)
2022-11-17 12:27:32 +02:00
William Durand
795e24c040 Bug 1799846 - Filter out extensions that have a browser action in the non-CUI list in the unified extensions panel. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D161686
2022-11-17 09:45:27 +00:00
Sebastian Zartner
fd27354335 Bug 1801045 - Replaced ObjectInspector handling for custom formatter output by separate one. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D159166
2022-11-17 09:12:09 +00:00
Sebastian Zartner
9d924f25f7 Bug 1801040 - Added option to makeSideeffectFreeDebugger() to skip checking effectful offsets. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D162151
2022-11-17 09:12:08 +00:00
Mozilla Releng Treescript
a8d46311ed no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> d36307a4528e9d78c9094b21604ba21f877d323f
en-GB -> 0f7682df91ada253ed1bc06fa1f9e25c75c8b24b
es-CL -> cd469c79792fee9e601b8758431483eb83cf0bd6
he -> 1b073ac038bc18f8412087bbaadd1a18fdac4649
hsb -> ec6d9efc0b61bbafc672a0bc321654fdad61cc5e
ia -> 346ce42bf22583094ad9306c1f1aeaceada7a700
ko -> 4fb0b9d9c41e48015a7b4abe1ffadd0801abf669
nb-NO -> bc3f09bcc7674c1803902b7875ff2ac3cff4d1d8
pt-BR -> 43471f203e276143ecd59b4bff4d0b2da8825f66
pt-PT -> 0be17dadd20da595bbb339ebdedbf81ddda676c0
sq -> 245a96cb40985e410aac838fb78de7c5f9c3cc7a
sv-SE -> 9c0e606c4f0c3571151a2ca5aae8178ab6e6711f
tg -> ecc1325ba6b0a5d26b32fbac0f9b65b54e13715d
uk -> 04febdf4c48eb19b46f193d09a083b2f232beba8
uz -> 6d54028735d77700733ac34876a48d27abdc3839
zh-TW -> 1b8c1abc4662f9caddee0cc69be6ffc20a0c7787
2022-11-17 06:58:43 +00:00
Cristian Tuns
2f47e3dacf Backed out 3 changesets (bug 1786608) for causing mochitest failures in test_ioutils_stat_set_modification_time.html CLOSED TREE
Backed out changeset ac137b0db467 (bug 1786608)
Backed out changeset e593e8e2696b (bug 1786608)
Backed out changeset a3fd1df20b66 (bug 1786608)
2022-11-17 00:50:54 -05:00
Barret Rennie
00f8b9bfaf Bug 1786608 - Set and get atime via IOUtils r=nika
Differential Revision: https://phabricator.services.mozilla.com/D155927
2022-11-17 05:09:19 +00:00
Barret Rennie
cc7b18ee66 Bug 1786608 - Add nsIFile::accessTime{,OfLink} r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D155926
2022-11-17 05:09:18 +00:00
Barret Rennie
2e32887a16 Bug 1786608 - Do not set atime on Windows in nsLocalFile::SetModifiedTime r=xpcom-reviewers,kmag
Differential Revision: https://phabricator.services.mozilla.com/D155925
2022-11-17 05:09:18 +00:00
Drew Willcoxon
3e4d34e66f Bug 1799363 - Add weather suggestions to quick suggest. r=daisuke
This adds a weather feature to quick suggest. It periodically fetches a weather
suggestion from Merino. UrlbarProviderQuickSuggest shows the suggestion when the
search string is empty ("zero prefix").

The implementation of the UrlbarResult returned by UrlbarProviderQuickSuggest is
only temporary. Mandy is working on the final UI in
[SNT-323](https://mozilla-hub.atlassian.net/browse/SNT-323). Landing a temporary
implementation allows Mandy to base her patch on it and trigger real weather
suggestions from Merino to test her implementation against. It also lets people
on the team test weather suggestions without having to wait for the final UI to
land.

I added the following prefs and Nimbus variable to control the feature. It will
initially be rolled out in an experiment, so we need a Nimbus variable. In the
initial experiment, users will be able to dismiss the suggestion but not toggle
a checkbox in about:preferences.

* `weatherFeatureGate` - Nimbus variable that controls the whole feature
* `browser.urlbar.weather.featureGate` - Fallback pref for the Nimbus variable
* `browser.urlbar.suggest.weather` - When the feature gate pref is true, this
  determines whether the suggestion should be shown. In a future patch, we'll
  flip this to false when users dismiss the suggestion.

I set the fetch interval to 30 minutes. That seems reasonable considering that
the suggestion contains the current temperature and weather. Merino will set
caching headers appropriately so that Firefox won't actually make a new network
request if the previously fetched suggestion is new enough.

Depends on D161368

Differential Revision: https://phabricator.services.mozilla.com/D161410
2022-11-17 05:04:07 +00:00
Emilio Cobos Álvarez
6178ef196b Bug 1801025 - Remove dead code in nsIFrame::ComputeTransformMatrix. r=layout-reviewers,tnikkel
IsPopup() -> IsMenuPopupFrame(), so it's clearly exclusive with
IsListControlFrame(), this code is all dead.

nsListControlFrame used to be a popup before bug 1744009 etc.

Differential Revision: https://phabricator.services.mozilla.com/D162258
2022-11-17 04:05:18 +00:00
Barret Rennie
94772d20ce Bug 1799941 - Fix numbering of steps in schema docs r=dmose
While I was here I fixed the formatting of the code block so that it is
properly nested under the list items.

Differential Revision: https://phabricator.services.mozilla.com/D161711
2022-11-17 03:45:52 +00:00
Barret Rennie
111159cc9d Bug 1798559 - Port osfile.jsm usage to IOUtils in testing/talos/ r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160955
2022-11-17 03:42:40 +00:00
Barret Rennie
ea5c88a8c6 Bug 1798559 - Port osfile.jsm usage to IOUtils in testing/modules/ r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D160954
2022-11-17 03:42:39 +00:00
Barret Rennie
adf172a6a3 Bug 1798559 - Port osfile.jsm usage to IOUtils in testing/mochitest/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D160953
2022-11-17 03:42:39 +00:00
Lee Salzman
5f08669bab Bug 1800826 - Remove all clips when reusing a target in Canvas2D. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D162237
2022-11-17 03:10:35 +00:00
Lee Salzman
f73a41e1ac Bug 1800581 - Use optimized snapshots for drawImage if canvases share internal context. r=aosmond
By default, BorrowSnapshot is pessimistic and forces DrawTargetWebgl to return a data snapshot on
the assumption that the snapshot might be used off thread. However, if we actually know the DrawTarget
we're going to be drawing the snapshot to, then we can check if they're both DrawTargetWebgls with
the same internal SharedContext. In that case, we can use a SourceSurfaceWebgl snapshot which can
pass through a GPU texture to the target. This requires us to plumb the DrawTarget down through
SurfaceFromElement all the way to DrawTargetWebgl to make this decision.

Differential Revision: https://phabricator.services.mozilla.com/D162176
2022-11-17 03:07:18 +00:00
Mike Conley
88b8240d9a Bug 1798896 - Test Unified Extension behaviours for CustomizableUI.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D161843
2022-11-17 02:00:00 +00:00
Mike Conley
3df2c78fde Bug 1798896 - Test Unified Extension upgrade and downgrade behavior. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D161842
2022-11-17 01:59:59 +00:00
Mike Conley
83be89450f Bug 1798896 - Update WebExtension tests to account for browser actions being locked out of the overflow menu. r=willdurand,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161841
2022-11-17 01:59:59 +00:00
Mike Conley
b1443a9190 Bug 1798896 - Prevent extension buttons from moving to the palette or overflow panel if Unified Extensions is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D161840
2022-11-17 01:59:58 +00:00