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

815572 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 3d1c6d4ceb Bug 1792920, part 3 - Make Rust use a new MozExternalRefCountType instead of XPIDL's nsrefcnt. r=nika
The remaining uses of XPIDL's definition of nsrefcnt in Rust are all
now related to the return type of nsISupport's AddRef and Release
methods. The C++ name of the return types is MozExternalRefCountType,
not nsrefcnt (which is something else entirely), so use a more accurate
name.

I can't use the C++ definition, because it is in C++, and I eventually
want to remove the XPIDL definition, because it isn't accurate for C++,
so in this patch I'll make a specific one for Rust, so the code is a
little easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D159322
2022-10-17 16:09:21 +00:00
Andrew McCreight f5c69690d6 Bug 1792920, part 2 - Fix the type of the refcount argument for NS_LogAddRef and NS_LogRelease in Rust. r=xpcom-reviewers,nika
The type of the refcount argument to these functions is the C++ type
nsrefcnt, which is actually uintptr_t. This is different from the
definition of nsrefcnt in XPIDL which is currently being used. These
functions are not actually defined in XPIDL, and also uintptr_t
can't be expressed in XPIDL, so let's just change it to the type it
really is in Rust, usize. The goal of the patch is to eliminate
some uses of nsrefcnt from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D159321
2022-10-17 16:09:20 +00:00
Andrew McCreight 566e2d6cec Bug 1792920, part 1 - Remove the unused return values for various Rust AddRef and Release methods. r=necko-reviewers,platform-i18n-reviewers,gregtatum,valentin
Rust's definition of nsrefcnt is incorrect, so I'm eliminating uses of it
where possible. Nobody actually uses these return values, so remove them.

Differential Revision: https://phabricator.services.mozilla.com/D159320
2022-10-17 16:09:20 +00:00
Bernard Igiri 1550a1050e Bug 1793889 - Re-enabled double click fullscreen on audio only video tags r=mconley
Renabled double click full screen on audio only video tags. This feature is now only disabled on audio tags.

Differential Revision: https://phabricator.services.mozilla.com/D159216
2022-10-17 16:08:00 +00:00
Benjamin VanderSloot d91a2ed63e Bug 1793647, part 2 - Use new Sec-Fetch-Dest value for FedCM, r=timhuang
InternalRequest::OverrideContentPolicyType was literally built for this.
I just had to call it while building requests and start checking for it in all of the relevant tests.
I know, code duplication is bad, but I think it is easier to see what a test is doing without helpers and they aren't hard to update entirely by hand yet.

Differential Revision: https://phabricator.services.mozilla.com/D158658
2022-10-17 16:07:50 +00:00
Benjamin VanderSloot 066e83f229 Bug 1793647, part 1 - Create new Sec-Fetch-Dest value for WebIdentity (FedCM), r=freddyb,webdriver-reviewers,whimboo
This is to keep up with WHATWG Fetch https://github.com/whatwg/fetch/pull/1495 .
Also revised to not include the new destination type in the RequestDestination enum, per https://github.com/whatwg/fetch/pull/1500 .

I added an element to nsIContentPolicy::nsContentPolicyType as my starting point and
proceeded from there, following the instructions at the end of the internal enum.

Differential Revision: https://phabricator.services.mozilla.com/D158657
2022-10-17 16:07:50 +00:00
Max Christian Pohle 701569f1d4 Bug 1775522 - Add timestamps to updater logs, r=bytesized,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156311
2022-10-17 15:59:05 +00:00
Angel_V129 4f39423c44 Bug 1790274 - Convert browser/actors/DOMFullscreen* JSM modules to ESMs. r=mconley,kpatenio.
Differential Revision: https://phabricator.services.mozilla.com/D159015
2022-10-17 15:55:47 +00:00
Amy Churchwell a77a9ee90a Bug 1794369 - Change findbar “phrase not found” error message to text color. r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D159224
2022-10-17 15:23:36 +00:00
Sean Feng 3ed2666383 Bug 1792229 - Make Origin-Trial COEP:Credentialless works on process selection r=emilio,necko-reviewers,valentin
Currently, if users enabled COEP:Credentialless by Origin-Trial,
it won't put the document into an isolated process, this patch
fixes.

Though the caveat is this only works for enabling Origin-Trial
in the response header, setting it via <meta> still won't work.

Differential Revision: https://phabricator.services.mozilla.com/D158684
2022-10-17 15:20:51 +00:00
negin 3cb576902d Bug 1792667 - The “Tab Pickup” callout message points to another section when the “Tab Pickup” section is collapsed r=mviar,emcminn
try: https://hg.mozilla.org/try/rev/92340ece620dd2d64e2f2c9826a4f6d9a387acc6

Differential Revision: https://phabricator.services.mozilla.com/D158699
2022-10-17 15:18:39 +00:00
nchevobbe d47286801e Bug 1795359 - Handle permissions for different origin attributes in SitePermsAddonProvider. r=rpl
In SitePermsAddonWrapper, we are keeping track of permission with a uniqueness on the permission type.
But for a given permission type and origin, multiple permissions can be set (for regular and private windows, ...).
This patch make it so we bookkeep all the permission that are passed, so we can then later properly
remove them when the addon gets uninstalled, or when individual permission are being revoked.

Differential Revision: https://phabricator.services.mozilla.com/D159420
2022-10-17 15:17:08 +00:00
Kagami Sascha Rosylight 5f853f4031 Bug 1794697 - Pass newline=\n when esmifying r=arai DONTBUILD
Python's `open('w')` by default uses system default line ending which is `\r\n` in Windows. `newline=\n` helps us to keep using `\n` everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D159502
2022-10-17 15:08:32 +00:00
Chris H-C e85a18c1f8 Bug 1794123 - Update the Glean SDK Update documentation r=perry.mcmanis,janerik DONTBUILD
While we're here, quote the gtest arg for shells that greedily glob.

Differential Revision: https://phabricator.services.mozilla.com/D159436
2022-10-17 15:04:40 +00:00
Tom Ritter 8de303c52d Bug 1794594: Remove codeql builds r=freddyb,firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D159433
2022-10-17 15:02:39 +00:00
Mike Conley 797281a881 Bug 1795151 - Convert gfx/layers/apz JSMs to ESMs. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D159330
2022-10-17 14:46:13 +00:00
Norisz Fay 7abc3b9f92 Merge mozilla-central to autoland CLOSED TREE 2022-10-17 18:03:51 +03:00
Norisz Fay f4dbbaf40d Merge autoland to mozilla-central a=merge 2022-10-17 18:01:11 +03:00
Butkovits Atila 86c65085e5 Backed out 6 changesets (bug 1445134) for causing xpcshell failures. CLOSED TREE
Backed out changeset 59f902b761b5 (bug 1445134)
Backed out changeset 2ec41e23c593 (bug 1445134)
Backed out changeset b0dc583fff47 (bug 1445134)
Backed out changeset a09ccaf19501 (bug 1445134)
Backed out changeset 2d736481d13d (bug 1445134)
Backed out changeset 57ec56757493 (bug 1445134)
2022-10-17 17:54:39 +03:00
Mozilla Releng Treescript d63c4b1078 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-10-17 14:03:50 +00:00
Mozilla Releng Treescript 879eaafb29 No bug - tagging f12833d9593379df22c08c09446799c56c1dd912 with FIREFOX_NIGHTLY_107_END a=release DONTBUILD CLOSED TREE 2022-10-17 14:03:43 +00:00
Jon Coppeard 708068a79f Bug 1795524 - Part 3: Factor out ThrowUnexpectedModuleStatus r=arai
This is unrelated to the bug but is a tidyup that makes it easier to set
debugger breakpoints for this error.

Differential Revision: https://phabricator.services.mozilla.com/D159486
2022-10-17 13:54:00 +00:00
Jon Coppeard 617fe4587c Bug 1795524 - Part 2: Move ModuleObject slots for cyclic module record fields to CyclicModuleFields r=arai
This adds a new native structure to hold the cyclic module record fields. This
removes a bunch of marshalling to and from Values.

Differential Revision: https://phabricator.services.mozilla.com/D159485
2022-10-17 13:54:00 +00:00
Jon Coppeard b91625f2dd Bug 1795524 - Part 1: Move definition of FunctionDeclarationVector to SharedStencil.h to avoid dependency cycle r=arai
Annoyingly this definition is needed in builtin/ModuleObject.h which is included
via vm/Scope.h, but frontend/Stencil.h already includes vm/Scope.h. This moves
it to vm/SharedStencil.h.

Differential Revision: https://phabricator.services.mozilla.com/D159484
2022-10-17 13:54:00 +00:00
Mozilla Releng Treescript 532176626d No bug - tagging 50a2d35fa2324ea846a385390b18e0ab5d211fcc with FIREFOX_BETA_107_BASE a=release DONTBUILD CLOSED TREE 2022-10-17 13:22:57 +00:00
Paul Adenot e481cc5b87 Bug 1793294 - mach vendor rust. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D158957
2022-10-17 13:18:55 +00:00
Paul Adenot 94db281e31 Bug 1793294 - Vet recent cubeb-rs changes. r=cubeb-reviewers,supply-chain-reviewers,bholley,chunmin
This is just changing the signature of a binding declaration from i8 to
libc::char, to fix a compilation error on Linux aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D158956
2022-10-17 13:18:54 +00:00
Paul Adenot 4467a6f5b9 Bug 1793294 - Update cubeb-rs crates to 0.10.3. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D158954
2022-10-17 13:18:54 +00:00
William Durand 296de0da21 Bug 1795473 - Fix dom/midi mochitests with new SitePermsAddonProvider. r=rpl
With the new synthetic add-on provider, we do not return an error when calling `navigator.requestMIDIAccess()` without an add-on installed because there is *always* an add-on.

Differential Revision: https://phabricator.services.mozilla.com/D159464
2022-10-17 13:09:39 +00:00
Olli Pettay b989d9a4ca Bug 1769189, ensure history state is updated if beforeunload listener calls replaceState, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D152170
2022-10-17 12:56:37 +00:00
Mark Banner d50a36b7e8 Bug 1445134 - Load policy engines from enterprise policies at search service startup. r=mkaply,mcheang
Rather than having the enterprise policy push engine information to the search service, this pulls it from the policies whilst initialisation is in progress. This will ensure the search service always has the correct information for policy engines even if the search settings file is modified.

Differential Revision: https://phabricator.services.mozilla.com/D156538
2022-10-17 12:56:07 +00:00
Mark Banner 241f0c594d Bug 1445134 - Remove now unnecessary tests for WebExtension legacy migration of search engines. r=mcheang
These were originally added as part of https://hg.mozilla.org/mozilla-central/rev/8ccb7b933d135be3a5e6afd1082a78742ea608fa
However, the explicit checks for the special search engines were removed in
https://hg.mozilla.org/mozilla-central/rev/dc132dc5bf40eec42b23ad796dfcca2abef9e721
without removing the tests.

Differential Revision: https://phabricator.services.mozilla.com/D159082
2022-10-17 12:56:06 +00:00
Mark Banner eb7d918413 Bug 1445134 - Migrate docshell xpcshell-tests away from using enterprise policies. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D159056
2022-10-17 12:56:06 +00:00
Mark Banner 0cdc18fab0 Bug 1445134 - Use the enterprise policy code to set up search test policy code. r=mcheang
Differential Revision: https://phabricator.services.mozilla.com/D159033
2022-10-17 12:56:05 +00:00
Mark Banner d4fe9a0f83 Bug 1445134 - Move most of browser_policy_search_engine.js to an xpcshell-test as it doesn't need to be run as mochitest. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D158859
2022-10-17 12:56:05 +00:00
Mark Banner a995039692 Bug 1445134 - Remove user/policy engine tests from test_webextensions_valid.js as they are already covered elsewhere. r=mcheang
These are covered by test_userEngine.js and test_policyEngine.js

Differential Revision: https://phabricator.services.mozilla.com/D159032
2022-10-17 12:56:04 +00:00
Mark Banner 5171378622 Bug 1795602 - Stop using the 'with' statement in dom/. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D159477
2022-10-17 12:53:07 +00:00
Butkovits Atila 2e5aa93a34 Backed out changeset 6f112c0942b0 (bug 1793925) for causing build bustages. CLOSED TREE 2022-10-17 16:04:08 +03:00
Alexandre Poirot 8a17dbe4c5 Bug 1794687 - [devtools] Remove immutable from debugger and remove seamless-immutable. r=bomsy
immutable in vendor is still used by the memory panel

Differential Revision: https://phabricator.services.mozilla.com/D159108
2022-10-17 12:23:20 +00:00
Alexandre Poirot d26f4e4413 Bug 1794694 - [devtools] Remove async to generated source map dependency. r=bomsy
This seems to have no impact on anything.
Also removing some other useless attributes in package.json.

Differential Revision: https://phabricator.services.mozilla.com/D159107
2022-10-17 12:23:20 +00:00
Alexandre Poirot 783b50a65a Bug 1794694 - [devtools] Fold devtools-wasm-dwarf into devtools-source-map package. r=bomsy
Having two distinct packages doesn't look so helpful.

Differential Revision: https://phabricator.services.mozilla.com/D159106
2022-10-17 12:23:19 +00:00
Alexandre Poirot d024ae6975 Bug 1794683 - [devtools] Avoid devtools-source-map magic mapping. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D159105
2022-10-17 12:23:19 +00:00
Tomislav Jovanovic 81d9251987 Bug 1795597 - MV2 extensions should never flag for attention, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D159476
2022-10-17 12:21:20 +00:00
Valentin Gosu 3f4fa58411 Bug 1755660 - Add tests for cancelling proxied channels r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D157092
2022-10-17 12:21:06 +00:00
ffxbld 062797d3d6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D159497
2022-10-17 12:10:23 +00:00
Soheil 97f2722332 Bug 1794642 - Add keyboard shortcut label to listen button in reader view r=Gijs
Add the keyboard shortcut in parenthesis so the user can learn which key to press to start
listening.

Differential Revision: https://phabricator.services.mozilla.com/D159077
2022-10-17 12:05:11 +00:00
Paul Adenot 9a01f6f628 Bug 1770940 - Ignore an exception when calling AudioManager.startBluetoothSco. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D158661
2022-10-17 12:00:27 +00:00
William Durand 8617fff90c Bug 1793925 - Warn about complex versioning formats used in manifest. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D158834
2022-10-17 11:19:00 +00:00
Emilio Cobos Álvarez aa927afdc7 Bug 1795380 - Turn dom.delay.block_external_protocol_in_iframes.enabled back on on Nightly. r=smaug
It's probably worth for Nightly to behave the same way as Release if we're not
actively looking into changing this.

Differential Revision: https://phabricator.services.mozilla.com/D159429
2022-10-17 10:59:47 +00:00
Emilio Cobos Álvarez feb52296d5 Bug 1792608 - Simplify other passing test annotations.
MANUAL PUSH: Trivial clean-up CLOSED TREE
2022-10-17 12:58:21 +02:00