Commit Graph

812579 Commits

Author SHA1 Message Date
Dennis Jackson
400f4a73bf Bug 1789458 - Backout asserts from 1788290. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D156944
2022-09-09 17:15:10 +00:00
Gavin Suntop
8e0b6c3824 Bug 1787521 - Adjust button for newtab save to pocket action r=thecount,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D155995
2022-09-09 17:13:26 +00:00
Andrew McCreight
817aa443a5 Bug 1790081 - Make XPCVariant into a normal script holder class. r=smaug
The traverse method no longer traverses the JS val, because that will
now be automatically traced by the CC using the trace method.

The purple methods are unused.

I marked a few methods that regular callers shouldn't use protected.

Differential Revision: https://phabricator.services.mozilla.com/D156977
2022-09-09 17:12:34 +00:00
Jens Stutte
25dc1787a6 Bug 1776209 - RemoteLazyInputStreamThread: Replace gShutdownHasStarted with appropriate IsInOrBeyond check. r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D156794
2022-09-09 16:47:40 +00:00
Lee Salzman
70537a9a48 Bug 1789470 - Adjust fuzz for 1177726-text-stroke-bounds.html. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D156929
2022-09-09 16:34:19 +00:00
Iain Ireland
3c329f99d6 Bug 1789821: Don't DCE MMinMaxArray r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D156881
2022-09-09 16:21:27 +00:00
Niklas Baumgardner
98ab6b639b Bug 1789226 - Show zap gradient border for tab pickup cards. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D156597
2022-09-09 16:09:26 +00:00
Marian-Vasile Laza
78b100abc0 Backed out changeset 10ea141649b6 (bug 1348272) for causing mochitest failures on test_domparsing.xhtml. CLOSED TREE 2022-09-09 19:21:48 +03:00
Bernard Igiri
61cba40702 Bug 1781917 - Add logging to test_videocontrols_audio.html to get information about the frequent failures. r=mhowell
Adding more logging to test test_videocontrols_audio.html test to gather more information about test failure.

Differential Revision: https://phabricator.services.mozilla.com/D155424
2022-09-09 15:22:57 +00:00
Itiel
4d221eced0 Bug 1789936 - Revert a part of bug 1774262 to fix styling of focused rows in the Applications menulist on about:preferences r=dao
Differential Revision: https://phabricator.services.mozilla.com/D156898
2022-09-09 15:18:03 +00:00
Greg Tatum
2dd5594ad1 Bug 1787504 - Add a scrollbar gap for text recognition modal; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D155846
2022-09-09 15:16:02 +00:00
Kelly Cochrane
40b28a2725 Bug 1786966 - Increase Fx View logo font size r=dao
Differential Revision: https://phabricator.services.mozilla.com/D156965
2022-09-09 15:10:54 +00:00
Chris H-C
8a50b7df98 Bug 1789917 - Use a full mozbuild config to find glean tags r=saschanaz,janerik
Also, update tags to include newly-added and newly-revealed components.

Differential Revision: https://phabricator.services.mozilla.com/D156888
2022-09-09 15:09:39 +00:00
Itiel
51b36da0d5 Bug 1788516 - Lower the list items height in about:downloads r=dao
Differential Revision: https://phabricator.services.mozilla.com/D156366
2022-09-09 15:07:30 +00:00
Kirk Steuber
d2735f5957 Bug 1786667 - Don't access update components in BrowserGlue if Firefox was not built with support for them r=bhearsum,preferences-reviewers
This patch was made to guard Update functionality from being called in BrowserGlue.jsm if Firefox was not built with support for the Updater. However, it also ended up touching the updater build configuration. I discovered while testing this patch that building with `--disable-updater` does not imply `--disable-maintenance-service` or `--disable-update-agent`. So I fixed that issue as well. Once that was fixed, I could change some other code that checked `AppConstants.MOZ_UPDATER && AppConstants.MOZ_UPDATE_AGENT` since that is now equivilant to `AppConstants.MOZ_UPDATE_AGENT`.

Differential Revision: https://phabricator.services.mozilla.com/D156902
2022-09-09 15:01:13 +00:00
Tom Ritter
4087cb4f67 Bug 1782544: Add tests for sanitized preferences event telemetry r=KrisWright
Because the number of telemetry events we get back can vary we can't
use the existing Telemetry Test functions, and need to introduce a
new one.  It does duplicate some code, but because the functions differ
in a few ways it's not straightforward or clean to refactor it in a shared
way.

Differential Revision: https://phabricator.services.mozilla.com/D155622
2022-09-09 14:58:55 +00:00
Tom Ritter
46f46fe026 Bug 1782544: Add event telemetry for blocklisted pref access r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D155621
2022-09-09 14:58:54 +00:00
Byron Campen
dcfd958641 Bug 1789908: If we cannot determine the type for an fmtp, do not add it to the list of successfully parsed fmtp attributes. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D156900
2022-09-09 14:58:24 +00:00
Byron Campen
60dd06ac19 Bug 1789908: Test case for bug. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D156899
2022-09-09 14:58:23 +00:00
nchevobbe
2479165e79 Bug 1790017 - Add Services.perms.getAllByTypes(permissionTypes). r=permissions-reviewers,necko-reviewers,pbz
This new method return an array of `nsIPermission` whose type are included in the
array of permission types parameter.
This will help the implementation of Bug 1778959 where we need to get all the permission
of a given Set of (gated) permission types.

Differential Revision: https://phabricator.services.mozilla.com/D156951
2022-09-09 14:52:38 +00:00
Jamie Nicol
50310d33ee Bug 1784109 - Override SurfaceTexture transform for videos on Mediatek 6735. r=gfx-reviewers,media-playback-reviewers,lsalzman,alwu
On Android, SurfaceTextures provide a transform matrix that should be
applied to texture coordinates when sampling from the texture. Prior
to bug 1731980 we ignored this value, and simply y-flipped the video
instead. On most devices the transform is just a y-flip, so this
produced the correct results. However, on some devices the transform
included a scale as well as the y-flip, meaning that we rendered
videos at an incorrect size.

The fix for bug 1731980 was to correctly apply the transformation.
However, it now appears that on Mediatek 6735 devices the transform
provided by the system is incorrect. On these devices, videos were
rendered correctly when we ignored the transform and just did a
y-flip, and now that we apply the transform videos are rendered at the
wrong size.

This patch makes it so that we override the system-provided transform
on these devices with a simple y-flip. The existing mIgnoreTransform
flag has been changed to an optional "transform override" value to
achieve this. We ensure that we only override the transform for
SurfaceTextures that are output from a MediaCodec, to ensure that we
don't accidentally apply the wrong transform to SurfaceTextures
attached to other sources.

Differential Revision: https://phabricator.services.mozilla.com/D155706
2022-09-09 14:43:21 +00:00
Andrew McCreight
e97396d469 Bug 1789952 - Only update object pointers in JSObject2WrappedJSMap::UpdateWeakPointersAfterGC for the root object. r=nika
I left in the null check on wrapper to be conservative,
but hopefully it is unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D156914
2022-09-09 14:29:51 +00:00
Mike Conley
23c811ed84 Bug 1785282 - Open 'Choose what to sync' dialog when users click 'Turn sync on in settings' in Firefox View. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D156578
2022-09-09 14:26:50 +00:00
Nicolas Chevobbe
0f42f58871 Bug 1789973 - [devtools] Remove unused RemoteSettings script and update documentation. r=jdescottes.
Now that the script is run on automation, there's no need to have
a (different) version in tree.
The documentation is also updated to explain the current setup.

Differential Revision: https://phabricator.services.mozilla.com/D156930
2022-09-09 14:20:27 +00:00
James Teow
c2b84c8b56 Bug 1789780 - Move some searchTerms tests into seperate files - r=adw
The test is exceeding the timeout threshold. I've separated the file
so that it's really only loading URLs to check if the search term is
shown.

modifiedUrl has tests that take SERP-like urls and modifies them at
different points in time.

searchMode just tries to conduct a search with a search engine in
searchMode. I got rid of the additional test that changes the engine
to default and checks it because all these tests kind of test that
as loading the test suite requires changing the search engine.

Differential Revision: https://phabricator.services.mozilla.com/D156822
2022-09-09 14:12:59 +00:00
Mike Conley
82c28284e2 Bug 1787128 - Explicitly define TabPickupContainer's error message IDs rather than composing them. r=sclements
While this introduces some redundancy, the advantage to spelling out the error message IDs like
this explicitly is that if the string ever needs to be updated (which requires a message ID
change), then we have a single place to remap the error code strings to the message IDs.

Differential Revision: https://phabricator.services.mozilla.com/D156553
2022-09-09 14:00:51 +00:00
Nika Layzell
b24f79de71 Bug 1348272 - Mark nsIInputStream and nsIOutputStream as builtinclass, r=xpcom-reviewers,necko-reviewers,barret,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156893
2022-09-09 13:29:30 +00:00
Yulia Startsev
dbb424426a Bug 1783190 - Introduce lock for cancellation in case of race;r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D156943
2022-09-09 13:22:42 +00:00
Jon Coppeard
a6bc74318a Bug 1789412 - Resolve top-level capability of all Evaluated modules in ModuleEvaluate r=yulia
This is indeed very similar to bug 1787926.

As per the current spec we don't resolve the top level capability of async
modules in ModuleEvaluate, even if evaluation has finished successfully. This
is due to the following spec change:

c2375dbd6e (diff-181371b08d71216599b0acccbaabd03c306da6de142ea6275c2135810999805aL546-R547)

I think this should revert to the original behaviour which resolves the
capability when the module has finished evaluating, even for async modules.

Differential Revision: https://phabricator.services.mozilla.com/D156704
2022-09-09 13:13:27 +00:00
Kelly Cochrane
1633fbe050 Bug 1789318 - Resolving grid row spacing issues when collapsing accordions in Fx View r=hjones
Differential Revision: https://phabricator.services.mozilla.com/D156882
2022-09-09 12:55:21 +00:00
Gabriele Svelto
a5dc933740 Bug 1789566 - Remove all remaining references to Flash from the documentation and comments r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D156645
2022-09-09 12:34:16 +00:00
Gabriele Svelto
5928bef925 Bug 1789802 - Ignore MOZ_Crash() functions when generating a singature for an automation crash r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D156823
2022-09-09 12:25:15 +00:00
Paul Adenot
27c5df2b7c Bug 1778181 - Don't let bogus sample-rate value control an allocation in AudioSink.cpp. r=kinetik
Depends on D156870

Differential Revision: https://phabricator.services.mozilla.com/D156871
2022-09-09 12:05:13 +00:00
Paul Adenot
a21cef8c3a Bug 1778181 - Make global variable that can control the preferred sample-rate atomic. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D156870
2022-09-09 12:05:13 +00:00
Valentin Rigal
b5432c9812 Bug 1790000 - On Automation mozlint output file handler should be closed. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D156664
2022-09-09 12:02:13 +00:00
Henrik Skupin
fd1f1425ea Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 11:58:45 +00:00
Henrik Skupin
16d96ac3fd Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Mariana Picolo
5e049236e4 Bug 1621919 - Update constant for format bytes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66917
2022-09-09 11:32:02 +00:00
Andi-Bogdan Postelnicu
d4f5769a01 Bug 1746462 - add support for --enable-linker=mold on linux. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D134330
2022-09-09 11:01:50 +00:00
Jari Jalkanen
4c1cf5698c Bug 1789054 - Fix TestFileSystemBackgroundRequestHandler test shutdown issue. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D156849
2022-09-09 10:57:57 +00:00
Alexandre Poirot
3c1d82f3c1 Bug 1789595 - [devtools] Migrate require to new devtools/server's ESM to ChromeUtils.importESModule. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D156827
2022-09-09 10:13:15 +00:00
Alexandre Poirot
393e94ddf0 Bug 1789595 - [devtools] Convert devtools/server JSM to ES Modules. r=nchevobbe
This is the result of:
$ ./mach esmify devtools/server/

Differential Revision: https://phabricator.services.mozilla.com/D156826
2022-09-09 10:13:15 +00:00
Marian-Vasile Laza
27fd1e9739 Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin
f747c73194 Bug 1506782 - [remote] Add support for opening and closing tabs on Android. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156746
2022-09-09 08:55:33 +00:00
Henrik Skupin
3246749215 Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00
André Bargull
488906c69c Bug 1648202: Enable test262 test for non-BMP characters in capturing names. r=iain
Depends on D156845

Differential Revision: https://phabricator.services.mozilla.com/D156846
2022-09-09 08:16:08 +00:00
André Bargull
f137aa1b64 Bug 1781206 - Part 6: Update step comments for RegExpReplace and RegExpMatch. r=iain
Depends on D156844

Differential Revision: https://phabricator.services.mozilla.com/D156845
2022-09-09 08:16:07 +00:00
André Bargull
cb2578c0cc Bug 1781206 - Part 5: Check RegExp flags using "flags" property. r=iain
Implement the changes from <https://github.com/tc39/ecma262/pull/2791>.

Depends on D156843

Differential Revision: https://phabricator.services.mozilla.com/D156844
2022-09-09 08:16:07 +00:00
André Bargull
119bd2b01c Bug 1781206 - Part 4: Don't skip test when running in shell. r=iain
The intermittent error only happens when running in the browser.

Depends on D156842

Differential Revision: https://phabricator.services.mozilla.com/D156843
2022-09-09 08:16:06 +00:00
André Bargull
f01ba3588a Bug 1781206 - Part 3: Move SharedArrayBuffer tests into the correct section. r=iain
We don't skip these tests due to SpiderMonkey bugs, so they shouldn't be in this
section.

Depends on D156841

Differential Revision: https://phabricator.services.mozilla.com/D156842
2022-09-09 08:16:06 +00:00