Commit Graph

803126 Commits

Author SHA1 Message Date
Amy Churchwell
45c41c6a2e Bug 1780279 - Adjust white space inside modal. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D152315
2022-07-28 15:39:16 +00:00
Brenden Hyde
62c1ece648 Bug 1761614 - Configure eslint to disable check for unused variable "printAttrs" r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152949
2022-07-28 15:33:32 +00:00
Amy Churchwell
ccb1687b21 Bug 1780270 - Firefox Home Apply and Undo buttons are not properly responsive on modal. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D152290
2022-07-28 15:27:55 +00:00
Ryan Hunt
65beececbc Bug 1774829 - wasm: Update tests for removing runtime types. r=yury
This commit updates our test suite for the change to
remove runtime types.

Differential Revision: https://phabricator.services.mozilla.com/D151406
2022-07-28 15:25:43 +00:00
Ryan Hunt
fa6c22769d Bug 1774829 - wasm: Update to latest text format version that removes runtime types. r=yury
This commit updates our decoding/validation for the removal of runtime
types. This means that instructions that produce rtt values are now
removed. Instructions that consumed rtt values, such as struct.new_with_rtt
are renamed and no longer take rtt values. There is no agreed upon
spec for the renames, but the validation of the instructions is generally
agreed upon.

Most churn comes from the removal of ValType::Rtt. Tests are updated in
a later commit.

This commit depends on a pending change in upstream wasm-tools [1]. A
commit to update our vendored version will be added before this lands.

[1] https://github.com/bytecodealliance/wasm-tools/pull/677

Differential Revision: https://phabricator.services.mozilla.com/D151405
2022-07-28 15:25:43 +00:00
Ryan Hunt
214a1d40fc Bug 1774829 - wasm: Vendor latest wast crate. r=yury,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151738
2022-07-28 15:25:42 +00:00
Jon Coppeard
c7b9bb7b6c Bug 1782067 - Assert we handled all nursery GC thing kinds in TenuringTracer::traverse r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D153092
2022-07-28 15:08:02 +00:00
Nika Layzell
f71f45508c Bug 1780054 - Part 2: Double-check notified stream in nsMultiplexInputStream, r=asuth
Previously, we could end up in situations where nsMultiplexInputStream
would receive a callback for a previously notified stream after it had
already advanced to the next stream due to the async nature of
notifications. This could cause us to skip a stream accidentally. This
changes the logic to re-call AsyncWait in that situation on the correct
stream rather than skipping streams.

Differential Revision: https://phabricator.services.mozilla.com/D152930
2022-07-28 15:01:49 +00:00
Andrew Sutherland
5b2c302624 Bug 1780054 - Add an IndexedDB composite blob stress test. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D152837
2022-07-28 15:01:49 +00:00
Nicolas Silva
73a5fa066e Bug 1780803 - Avoid uninitialized enum in error path. r=gfx-reviewers,jgilbert
Addresses a coverity warning. The problem looks very benign but the work around is simple and it's good to keep the volume static analysis warnings in check.

Differential Revision: https://phabricator.services.mozilla.com/D152525
2022-07-28 13:45:14 +00:00
Ryan Hunt
cafcea1ef2 Bug 1777604 - wasm: Move membarrier call to separate functions. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D152305
2022-07-28 13:27:02 +00:00
Ryan Hunt
55aaf02a12 Bug 1777604 - wasm: Perform a pipeline flush while creating a module object. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D152304
2022-07-28 13:27:02 +00:00
Jeff Muizelaar
cfe573c864 Bug 1781769. Don't run twitch-animation on Chrome. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152884
2022-07-28 13:05:04 +00:00
Calixte
be45a5d46b Bug 1782014 - Update pdf.js to version b06d1904519d2270a191e44ef1290188ac8dbc46 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D153070
2022-07-28 13:01:15 +00:00
Tooru Fujisawa
2efdd1384f Bug 1780527 - Use ThirdPartyPaths.txt and Generated.txt in mach esmify. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D153067
2022-07-28 12:50:18 +00:00
Gerald Squelart
4ae0198f70 Bug 1774329 - Verify that there are no whitespaces in xpcshell/mochitest profiles - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152714
2022-07-28 12:41:58 +00:00
Gerald Squelart
fc7747606f Bug 1774329 - Add minimal test for GC and CC markers - r=florian
This covers the gc stats' JSONPrinter changes, and would trigger the
verifyJSONStringIsCompact assertion (see next patch) without these changes.

Differential Revision: https://phabricator.services.mozilla.com/D152844
2022-07-28 12:41:58 +00:00
Gerald Squelart
7b301dc561 Bug 1774329 - Rework shared test profiler controls - r=florian
Centralize calls to getProfileDataAsync to stop{,Now}AndGetProfile() in shared-head.js.

Differential Revision: https://phabricator.services.mozilla.com/D152843
2022-07-28 12:41:57 +00:00
Gerald Squelart
ad5e9a2a05 Bug 1774329 - Remove JSONWriter style specifications from profiler code - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152609
2022-07-28 12:41:57 +00:00
Gerald Squelart
6c8084d9e7 Bug 1774329 - Remove now-ignored style parameters in ProfileJSONWriter functions - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152608
2022-07-28 12:41:56 +00:00
Gerald Squelart
d4726a9eca Bug 1774329 - If SingleLineStyle is set at construction, also remove spaces after colons and commas - r=florian
These were the last remaining JSON whitespace characters, so we can now our
regression tests can check that there are non of these left.

Differential Revision: https://phabricator.services.mozilla.com/D152607
2022-07-28 12:41:56 +00:00
Gerald Squelart
515c9f0788 Bug 1774329 - Output profiling logs in the most compact json - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152606
2022-07-28 12:41:56 +00:00
Gerald Squelart
159d4fe860 Bug 1774329 - Remove whitespaces in gc stats' JSONPrinter - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152605
2022-07-28 12:41:55 +00:00
Gerald Squelart
a7901e7d31 Bug 1774329 - Use single-line JSONWriters in nsProfiler functions - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152604
2022-07-28 12:41:55 +00:00
Gerald Squelart
dab57bac1d Bug 1774329 - Make BaseProfileJSONWriter single-lined - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152603
2022-07-28 12:41:54 +00:00
Gerald Squelart
a05b4ea2c2 Bug 1774329 - JSONWriter() can be single-line from the top, removing the final newline - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152602
2022-07-28 12:41:54 +00:00
Gerald Squelart
9cb83c13c2 Bug 1774329 - Profiler gtests compute the proportion of JSON whitespace - r=florian
JSON whitespace comprises all spaces and newlines that are not inside strings,
and which could be removed without changing the decoded contents.

This tests the current state of affairs, where JSON whitespace in profiles may
account for up to 25% of the full length.

Differential Revision: https://phabricator.services.mozilla.com/D152601
2022-07-28 12:41:54 +00:00
ffxbld
f6e48e8f08 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D153075
2022-07-28 12:41:48 +00:00
Bogdan Szekely
fea1d4059e Backed out changeset 90a87be826d9 (bug 1780527) for causing build bustages on Generated.txt CLOSED TREE 2022-07-28 15:35:58 +03:00
Sarah Clements
96ebfb29da Bug 1761782 - Firefox View colors update in response to theme changes r=dao
* Use contentTheme.js to dynamically update text and background colors in response to
theme changes, including from colorways modal

Differential Revision: https://phabricator.services.mozilla.com/D151043
2022-07-28 12:19:02 +00:00
Tooru Fujisawa
07e3b1f907 Bug 1780527 - Use ThirdPartyPaths.txt and Generated.txt in mach esmify. r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153067
2022-07-28 11:17:41 +00:00
Dale Harvey
60b6261bb5 Bug 1779215 - Show inactive quickactions as disabled buttons. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D152223
2022-07-28 10:21:33 +00:00
Oriol Brufau
9ebd6bd8e5 Bug 1781995 - Obey contain-intrinsic-size in flex containers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152984
2022-07-28 09:42:55 +00:00
Bogdan Szekely
0358ddc4cb Bug 1781223 - Fix lint failures r=lint-fix CLOSED TREE 2022-07-28 12:52:36 +03:00
Bogdan Szekely
1ca0726cd0 Merge mozilla-central to autoland. CLOSED TREE 2022-07-28 12:43:51 +03:00
Emilio Cobos Álvarez
468c70f60e Bug 1781724 - Fix JSString::encodeUTF8Partial with some ropes. r=anba
We can't exit early if src.IsEmpty() if the stack is non-empty.

Differential Revision: https://phabricator.services.mozilla.com/D152899
2022-07-28 09:36:51 +00:00
Emilio Cobos Álvarez
97b1116b84 Bug 1781223 - Allow moving WebIDL structs and unions. r=edgar
Also useful for bug 1775062.

Differential Revision: https://phabricator.services.mozilla.com/D152740
2022-07-28 09:33:09 +00:00
Bogdan Szekely
1061fae5e2 Merge autoland to mozilla-central. a=merge 2022-07-28 12:30:45 +03:00
Jon Coppeard
2e57400aee Bug 1779421 - Part 3: Add tests for expected module status and async evaluating state r=yulia
This adds a shell function 'clearModules' to clear all loaded modules, so that
tests can be insulated from one another.

Depends on D151834

Differential Revision: https://phabricator.services.mozilla.com/D151835
2022-07-28 09:08:28 +00:00
Jon Coppeard
79329cabf0 Bug 1779421 - Part 2: Fix reset of post order counter r=yulia
Adding tests (see next patch) revealed an off-by-one bug resetting the async
evaluation post order counter.

Differential Revision: https://phabricator.services.mozilla.com/D151834
2022-07-28 09:08:27 +00:00
Jon Coppeard
3256f27c2f Bug 1779421 - Part 1: Rework module AsyncEvaluation field to match the spec r=yulia
As per the lastest spec this now stays true after evaluation.

This patch keeps a very similar implemenatation and resets the field after
evaluation, except that we now report this special value as true rather than
false. We assert if we try and use get the sort order after this has happened.

We also reset the runtime counter in the same way as before.

Differential Revision: https://phabricator.services.mozilla.com/D151833
2022-07-28 09:08:27 +00:00
Christian Holler
ebf55fd6a7 Bug 1781744 - Add missing null check in RecvSetDocumentDomain. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D152852
2022-07-28 08:34:47 +00:00
Kershaw Chang
5c8ac9f08f Bug 1781094 - Revert the some changes done in bug 1759745 and also try to take more output data, r=necko-reviewers,dragana
The problem in the previous change is that `mBrotli->mTotalOut` is not updated immediately. In the case that `nsUnknownDecoder` is involved in the listener chain and the result of `Brotli` decoder is `BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT`, `mBrotli->mTotalOut` is 0. In the end, when `nsHTTPCompressConv::OnStopRequest` is called by `nsUnknownDecoder` [1], an error code is set [2].
The safest way would be to revert the changes done in bug 1759745. However, to make the case in bug 1759745 work ( and also make `test_brotli_decoding.js` pass), we need to add another while loop and try to get more output data from the decoder.


[1] https://searchfox.org/mozilla-central/rev/d5edb4a4538657b7d691a41c00e6796a19ade6e7/netwerk/streamconv/converters/nsUnknownDecoder.cpp#778
[2] https://searchfox.org/mozilla-central/rev/d5edb4a4538657b7d691a41c00e6796a19ade6e7/netwerk/streamconv/converters/nsHTTPCompressConv.cpp#167

Differential Revision: https://phabricator.services.mozilla.com/D152729
2022-07-28 08:04:13 +00:00
George Koehler
d690c61a8f Bug 1772090 - implement about:processes on OpenBSD r=glandium,jld,gerald
Differential Revision: https://phabricator.services.mozilla.com/D150338
2022-07-28 07:14:28 +00:00
Jan de Mooij
313a876ba3 Bug 1781242 part 10 - Mark JitContext MOZ_RAII, update a comment. r=iain
Depends on D152850

Differential Revision: https://phabricator.services.mozilla.com/D152851
2022-07-28 07:00:57 +00:00
Jan de Mooij
9e02d6347a Bug 1781242 part 9 - Store CompileRealm and CompileRuntime in the MacroAssembler. r=iain
This lets us replace relatively slow TLS lookups with a simple dereference.

This also removes the realm from `JitContext`. The runtime still has a few uses
in the MIR backend.

Depends on D152849

Differential Revision: https://phabricator.services.mozilla.com/D152850
2022-07-28 07:00:56 +00:00
Jan de Mooij
ef28bd860c Bug 1781242 part 8 - Remove allocator from JitContext. r=iain
Depends on D152848

Differential Revision: https://phabricator.services.mozilla.com/D152849
2022-07-28 07:00:56 +00:00
Jan de Mooij
c72a9f5100 Bug 1781242 part 7 - Remove Wasm-specific MacroAssembler constructor. r=iain
`MacroAssembler` now has a single constructor, instead of three different ones
before this patch stack.

Depends on D152847

Differential Revision: https://phabricator.services.mozilla.com/D152848
2022-07-28 07:00:56 +00:00
Jan de Mooij
83713580c5 Bug 1781242 part 6 - Always pass TempAllocator to MacroAssembler. r=iain
This follows the Wasm code and prepares for (a) removing the second `MacroAssembler`
constructor and (b) removing the allocator from `JitContext`.

Depends on D152846

Differential Revision: https://phabricator.services.mozilla.com/D152847
2022-07-28 07:00:55 +00:00
Jan de Mooij
b589c33189 Bug 1781242 part 5 - Remove arm32/arm64 assembler buffer id. r=iain
This removes some old code to tag debug spew with an ID per assembler, based on a
counter stored in `JitContext`. Usually there's only one assembler per `JitContext` and
we were also not using this for Wasm compilations (it always used id 0), so this
patch removes it.

Depends on D152766

Differential Revision: https://phabricator.services.mozilla.com/D152846
2022-07-28 07:00:55 +00:00