Commit Graph

816997 Commits

Author SHA1 Message Date
Andrew Osmond
351c4a5bac Bug 1797580 - Fix broken assumptions with allowlists and the downloadable blocklist. r=jrmuizel
Ensure that when we evaluate the downloadable blocklist, we actually
only use the downloadable blocklist. We should not include any platform
specific checks in these prefs, as it causes confusion about why the
prefs were set in the first place. Allowlisted features should be
ignored when evaluating the downloadable blocklist; if we wish to
override the ALLOW/ALLOW_QUALIFIED/DENIED statuses, we should use OK or
BLOCKED_DEVICE or similar instead.

This caused allowlisted features (like WebRender) to be taken away from
users in the most recent nightly.

Differential Revision: https://phabricator.services.mozilla.com/D160408
2022-10-26 20:29:13 +00:00
teoxoy
ce860e6a42 Bug 1783713 - Use wgpu's "strict_asserts" feature r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D160196
2022-10-26 19:48:26 +00:00
negin
fc55b0d461 Bug 1794661 - The MR onboarding split screen's main section is missing a shadow r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D159898
2022-10-26 19:42:09 +00:00
Tom Ritter
96b6ff9b74 Bug 1700396: Bump updatebot to get the dep update and the spurious update filing improvement r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D160229
2022-10-26 19:36:13 +00:00
Shane Hughes
88aba243d7 Bug 1743878 - Avoid opening caret browsing dialogs when already open. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D160166
2022-10-26 19:27:34 +00:00
Chris Martin
36e8371ccf Bug 1347710 - Add GPU sandbox to crash reporter annotations r=handyman,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D160278
2022-10-26 19:23:13 +00:00
Chris Martin
557d18c8a7 Bug 1347710 - Change sandbox.gpu to a static pref r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D160277
2022-10-26 19:23:12 +00:00
Chris Martin
4675383029 Bug 1347710 - Add GPU sandbox level to about:support r=handyman,mossop,flod
Differential Revision: https://phabricator.services.mozilla.com/D160275
2022-10-26 19:23:12 +00:00
Zachary Svoboda
15b7791200 Bug 1537712 - Listen for key modifiers in json view hotkeys r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160148
2022-10-26 19:08:18 +00:00
Luke Swiderski
56139a3664 Bug 1581213 - Disabling dom mutation breakpoints in the debugger doesn't show checked context menu in the inspector r=jdescottes
Add disabled icon in inspector when a dom mutation breakpoint is disabled.
Add mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D157122
2022-10-26 19:06:43 +00:00
Barret Rennie
9d04620888 Bug 1797202 - Ingest messages from Nimbus rollouts in ASRouter r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D160263
2022-10-26 19:00:03 +00:00
Ben Freist
b8dbfb37ef Bug 1793483 - [refactor] Migrate NS_STYLE_FRAME_* defines r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158526
2022-10-26 18:51:45 +00:00
Marian-Vasile Laza
2d1097c27f Backed out 6 changesets (bug 1774302) for causing bustages on VideoFrame.cpp. CLOSED TREE
Backed out changeset 6ff613ee0977 (bug 1774302)
Backed out changeset b94e43f1e91f (bug 1774302)
Backed out changeset 5a2fc97cac78 (bug 1774302)
Backed out changeset 3db9d390aa0d (bug 1774302)
Backed out changeset 0009cdcc3e11 (bug 1774302)
Backed out changeset 7328aadd86e9 (bug 1774302)
2022-10-26 23:00:01 +03:00
Marian-Vasile Laza
b1f1237382 Backed out changeset ad5bb5f4a576 (bug 1794020) for causing bc failures on browser_policy_firefoxhome.js. CLOSED TREE 2022-10-26 22:37:25 +03:00
Marian-Vasile Laza
52127c7dd1 Backed out changeset bee94ed5a33d (bug 1794040) for causing wpt failures on container-type-containment.html. 2022-10-26 22:31:01 +03:00
Mozilla Releng Treescript
fc33a0bc78 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
dsb -> aedc684faf32c407664662a20be30785456f6d70
hsb -> f98ab31206bda3fb0ec8f0697eecd45f10c90fd6
hy-AM -> 2f475aa03beaf67ca50260d914316a7661a827df
is -> a12d2a5754dcd73eb4ab106a4ef440a4dda682ab
it -> a2c87c598f05ecc39e1edf8b798878c8a2731266
kn -> 64d279330033c8254b61fedb3a80e4898ccb7197
oc -> 4e9dfb3919215f63ea5575803154d9080c874ac7
sl -> 96f4e263da4098531711656f627c5d7b1d27658b
tg -> 9132c2fc2ddbebd5936c56f6a2c8559a15f7bbdc
2022-10-26 19:04:48 +00:00
Emilio Cobos Álvarez
4e91d2f0e8 Bug 1797504 - Make nsFlexContainerFrame::UnionChildOverflow() keep including out of flows. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D160374
2022-10-26 18:38:27 +00:00
Daniel Holbert
ac10e10cc4 Bug 1796590: Remove fuzzy-if(appleSilicon) annotation for css-grid/grid-item-video-stretch-001.html. (no review, just updating reftest manifest to reflect reality)
Looks like this test used to catastrophically fail on this platform, per this
annotation; and that failure seems to have been fixed by bug 1792257.

DONTBUILD when this lands on autoland, because it won't make a difference
since we don't seem to schedule tasks for this platform on that branch.

Differential Revision: https://phabricator.services.mozilla.com/D160390
2022-10-26 18:26:15 +00:00
scott
91b6fcb83e Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-26 18:12:26 +00:00
Jan Varga
b03f79878a Bug 1791729 - Expose StreamBufferSource implementations; r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D157791
2022-10-26 18:01:48 +00:00
Andrew Creskey
c18827cbba Bug 1795775 - Add a telemetry probe to measure the time spent relaying the completion of a network request from the parent process to the child r=necko-reviewers,valentin
We are looking for any unexpected delays in the delivering of this event to the child process.

Differential Revision: https://phabricator.services.mozilla.com/D159892
2022-10-26 17:30:37 +00:00
Joel Maher
47eb2687ea Bug 1797171 - disable additional tests on windows 11 which are not supported. r=bxbrenden
Differential Revision: https://phabricator.services.mozilla.com/D160360
2022-10-26 17:29:28 +00:00
Denis Palmeiro
f03d088027 Bug 1797346: Set redirectEnd to current timestamp if responseEnd of last channel is not defined. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D160252
2022-10-26 17:22:19 +00:00
Itiel
8178468355 Bug 1796992 - Improve CSS and appearance of the profiler popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D159980
2022-10-26 17:13:49 +00:00
Christian Holler
3a9268161d Bug 1795112 - Ensure GMPService can only be launched once. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D159325
2022-10-26 17:00:31 +00:00
Emilio Cobos Álvarez
c6a71bdc14 Bug 1797156 - Fix browser_976792_insertNodeInWindow, and fix a couple minor typos.
MANUAL PUSH: Trivial fix CLOSED TREE
2022-10-26 20:07:30 +02:00
Emilio Cobos Álvarez
3a328a3ef8 Bug 1794040 - Simplify container-type implementation. r=dshin
It was made a bitfield so that we could include style. But then style
containment was removed and the bitfield keeps causing us to do wrong
check (since INLINE_SIZE intersects SIZE).

So just make it an enum. This causes a progression and a test that
failed now times out (which is a pre-existing issue, just like the
pseudo-elements test that times out).

Differential Revision: https://phabricator.services.mozilla.com/D160371
2022-10-26 16:56:07 +00:00
Chun-Min Chang
420ba200c7 Bug 1774302 - Ensure videoframe serialization is same-origin r=smaug
By using `--disable-e10s`, VideoFrame can be serialized in same process
but in different origins. To prevent the VideoFrame from being passed
across different origins, origins should be checked before constructing
a VideoFrame.

Depends on D160307

Differential Revision: https://phabricator.services.mozilla.com/D160155
2022-10-26 16:41:55 +00:00
Chun-Min Chang
f122a37829 Bug 1774302 - Add a wpt passing VideoFrame between main and worker r=smaug
Depends on D159546

Differential Revision: https://phabricator.services.mozilla.com/D160307
2022-10-26 16:41:54 +00:00
Chun-Min Chang
4343b67583 Bug 1774302 - Add a wpt posting VideoFrame across agent cluster boundaries r=padenot,smaug
Depends on D153686

Differential Revision: https://phabricator.services.mozilla.com/D159546
2022-10-26 16:41:54 +00:00
Chun-Min Chang
f9bcc8c6af Bug 1774302 - Implement [Serializable] for VideoFrame r=padenot,smaug
This patch implements `{Read, Write}StructuredClone` for `VideoFrame` so
`VideoFrame` can be *{de,}serialize*d.

Since VideoFrame serialization requires to serialize a member RefPtr
instance, the standard [Serializable] implementation is not possible.
The serialized data can be deserialized any number of times, including
zero. As a result, that RefPtr instance should be able to share its
reference and increase the ref-count any time it needs. Therefore, this
patch implements the [Serializable] functions in a custom fashion, which
storing the RefPtr instance in StructuredCloneHolder when serializing
the VideoFrame.

Depends on D153685

Differential Revision: https://phabricator.services.mozilla.com/D153686
2022-10-26 16:41:53 +00:00
Chun-Min Chang
9037731bf6 Bug 1774302 - Add [Serializable] to VideoFrame r=padenot,smaug
This patch add `Serializable` attribute to `VideoFrame` and add some
necessary changes to make this buildable.

Some expectations of *video-frame-serialization.any.is*'s wpts are
changed to `PASS` since they are implemented in bug 1774300.

The `Verify posting closed frames throws` is currently passed by luck so
the its expectation stays the same.

Depends on D159545

Differential Revision: https://phabricator.services.mozilla.com/D153685
2022-10-26 16:41:53 +00:00
Chun-Min Chang
eba918d526 Bug 1774302 - Add missing thread-safety checks r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D159545
2022-10-26 16:41:52 +00:00
Nicolas B. Pierron
859240b35e Bug 1797312 - SharedSubResourceCacheLoadingValueBase use on accessors. r=emilio
`SharedSubResourceCacheLoadingValueBase` define the `mIsCancelled` field which
is overloaded by `SheetLoadData`. This patch moves all fields including
`mIsLoading` to `SheetLoadData` and add accessors to access these fields.

Differential Revision: https://phabricator.services.mozilla.com/D160226
2022-10-26 16:36:03 +00:00
Jonathan Kew
26aaa358c0 Bug 1797146 - Add a WPT test for serialization of font-variant. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D160110
2022-10-26 16:22:44 +00:00
Mike Kaply
a41d181f55 Bug 1793905 - Disable HTTPS only preferences when locked. r=settings-reviewers,Gijs,mconley
Differential Revision: https://phabricator.services.mozilla.com/D160373
2022-10-26 16:01:19 +00:00
Jan Varga
8747eec0d4 Bug 1791725 - Add FixedBufferOutputStream; r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D157790
2022-10-26 15:56:38 +00:00
Michelle Goossens
b70caf6522 Bug 1795994 - Migrate decision task over to GCP r=ahal,releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D159839
2022-10-26 15:55:18 +00:00
Emilio Cobos Álvarez
bbed6df0c3 Bug 1797313 - Fix alert/confirm dialog layout after bug 1779695. r=Gijs
max-height percentages were not honored, which caused the infoRow to
collapse. With min-height: 0 the info row shrinks too much.

Differential Revision: https://phabricator.services.mozilla.com/D160227
2022-10-26 15:24:44 +00:00
Emilio Cobos Álvarez
2d02ebbcdf Bug 1797432 - Use a block rather than a vbox for the places tooltip box. r=aminomancer,mossop
Until popups and tooltips are migrated off xul layout this keeps the
desired behavior.

Differential Revision: https://phabricator.services.mozilla.com/D160336
2022-10-26 15:15:43 +00:00
Gijs Kruitbosch
105295825d Bug 1797466 - rename prefs module and add more peers, r=mossop,zeid
Differential Revision: https://phabricator.services.mozilla.com/D160340
2022-10-26 15:15:01 +00:00
Cosmin Sabou
927b0a80ea Bug 1796963 - Mark secure-connection-start-non-zero.https.html subtest as intermittent on android. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160375
2022-10-26 15:11:51 +00:00
Ryan Hunt
70509cb3c2 Bug 1790626 - wasm: Use pointer to TypeDef instead of type index in PackedType. r=yury
This commit switches the representation of PackedType (and therefore ValType/FieldType)
to use a *TypeDef instead of type index.

There are several changes here:
  1. PackedTypeCode is always 64-bits now to pack the pointer. This penalizes 32-bit
     platforms, but we likely don't care about them enough to try to optimize this.
  2. RefType::TypeIndex is RefType::TypeRef
  3. RefType::typeIndex() is RefType::typeDef()
  4. TypeContext now stores a map from *TypeDef to original type index for printing errors
  5. Decoding a RefType now stores a *TypeDef instead of type index
  6. We now just transfer the SharedTypeContext from ModuleEnvironment to Metadata instead
     of copying definitions. This is needed for sharing the indexOf map.
  7. We now manually serialize/deserialize TypeContext
  8. TypeContext now stores SharedTypeDef in vector instead of TypeDef, this is needed so
     that *TypeDef is not invalidated across resizing the vector (asm.js does this)
  9. The initialization of TypeContext is refactored to keep the indexOf map in-sync
     with adding new types (asm.js needs this)
  10. We now manually serialize/deserialize PackedTypeCode using a new SerializedTypeCode
  11. Serialization now needs a TypeContext in order to get the index of type definitions
  12. Deserialization now constructs a TypeContext, and uses that when deserializing
      ValType/RefType/FieldType

Differential Revision: https://phabricator.services.mozilla.com/D157387
2022-10-26 14:48:08 +00:00
Ryan Hunt
cfc3265f69 Bug 1790626 - wasm: Manually serialize/deserialize PackedType to prepare for it not being POD. r=yury
PackedType will store a pointer to *TypeDef in a later commit, making it
non-cacheable POD. We therefore need to specially handle it in serialization.
This commit starts preparing for that.

Differential Revision: https://phabricator.services.mozilla.com/D157386
2022-10-26 14:48:08 +00:00
Ryan Hunt
e25c26d20a Bug 1790626 - wasm: Move 'immediate' type representation to FuncType and only use with call_indirect. r=yury
TypeIdDesc describes how to load the 'type id' for any type. Right now the
'type id' is an immediate integer for small function types, a *FuncType for
larger function types, and *RttValue for everything else.

The immediate integer case is an optimization for signature checks in
call_indirect. We can simplify our code by adding an 'immediateType_'
field to `FuncType` which stores an alternate representation of the
function type (if any) that can be used with call_indirect. Then
`TypeIdDesc`/`TypeDefWithId` are not needed during instantiation
anymore and we can just pass `TypeDefVector` from compilation to
runtime.

As a drive-by fix, some code for setting up the global data are of
Instance was simplified to allocate whole contiguous areas, instead
of looping, in some cases.

Some uses of TypeIdDesc still remain after this commit, but they are
only in codegen for figuring out how to emit signature checks. The
class is renamed and simplified to CallIndirectId to represent this.

Differential Revision: https://phabricator.services.mozilla.com/D157385
2022-10-26 14:48:07 +00:00
Ryan Hunt
5915126639 Bug 1790626 - wasm: Remove redundant isValid() checks on PackedType. r=yury
PackedType calls isValid() frequently before calling some accessor on
PackedTypeCode which then also calls isValid(). PT and PTC have slightly
different isValid() methods, with the only difference that PT will ensure
that the typeCode is valid for ValType or FieldType, and that PTC will
ensure that the typeCode has been initialized.

Because we check PT.isValid() when constructing a PT, any check that
PTC has been initialized should be equivalent to PT.isValid().

Differential Revision: https://phabricator.services.mozilla.com/D157384
2022-10-26 14:48:07 +00:00
Emilio Cobos Álvarez
d9378b9fc5 Bug 1797146 - Remove system font support for various font longhands. r=jfkthame
We don't use them[1], and these are generally not properties that
authors would be able to set via the font shorthand anyways.

Let's simplify the code. This fixes the font-variant bug and also
unblocks further clean-ups of these properties in the future.

[1]: https://searchfox.org/mozilla-central/rev/59f0bf3c13dd455d9f5415b89178de701ea6b850/widget/LookAndFeelTypes.ipdlh#12-18

Differential Revision: https://phabricator.services.mozilla.com/D160352
2022-10-26 14:42:49 +00:00
Mike Conley
b01ae33f91 Bug 1797156 - Refactor OverflowableToolbar and add documentation. r=sclements,cmkm
This patch does not aim to change the behaviour of OverflowableToolbar
at all. Instead, it:

1. Migrates off of old-school prototype class to a modern ES6 class
2. Uses actual private members and methods rather than underscore
   pseudo-private members and methods.
3. Tries to group the methods of OverflowableToolbar into groups like
   public methods, private methods, private event handlers, CUI widget
   listener methods and finally XPCOM interface implementations.
4. Tries to add JSDoc-style documentation where possible.

Differential Revision: https://phabricator.services.mozilla.com/D160106
2022-10-26 14:40:49 +00:00
Mike Conley
1a06860e38 Bug 1797156 - Add a tag to make it easier to run OverflowableToolbar tests on their own. r=sclements,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D160105
2022-10-26 14:40:48 +00:00
Emilio Cobos Álvarez
3f55839fe0 Bug 1797407 - Don't propagate bits for children invalidated under display:none/not in the flat tree. r=boris,firefox-style-system-reviewers
Much like invalidated_descendants. This preserves our invariant that we
only visit elements with data in the post-traversal.

Differential Revision: https://phabricator.services.mozilla.com/D160338
2022-10-26 14:37:34 +00:00