736624 Commits

Author SHA1 Message Date
Bogdan Tara
c1b7803fbd Backed out 15 changesets (bug 1519100) for wpt leaks CLOSED TREE
Backed out changeset 7302ebdbaa35 (bug 1519100)
Backed out changeset 5b89081f0f08 (bug 1519100)
Backed out changeset ee02050e3c97 (bug 1519100)
Backed out changeset 47cf4bde107e (bug 1519100)
Backed out changeset bfd96f55a3bd (bug 1519100)
Backed out changeset c9afefd66eb7 (bug 1519100)
Backed out changeset 90b61247d071 (bug 1519100)
Backed out changeset e0250e4cba61 (bug 1519100)
Backed out changeset 5f90543431cb (bug 1519100)
Backed out changeset d7f3440addc7 (bug 1519100)
Backed out changeset 10194540aff0 (bug 1519100)
Backed out changeset 880873b815a4 (bug 1519100)
Backed out changeset d99f0109da7a (bug 1519100)
Backed out changeset c723f6b16b67 (bug 1519100)
Backed out changeset da24af409d92 (bug 1519100)
2020-12-02 21:14:35 +02:00
Bogdan Tara
10b26e1c74 Backed out changeset b6eb6c19057d (bug 1677094) for WebRender related crashes CLOSED TREE 2020-12-02 21:12:42 +02:00
Bogdan Tara
24ca702e18 Backed out changeset fdd4de984fd3 (bug 1679763) for profiler related bustage CLOSED TREE 2020-12-02 21:10:06 +02:00
Julian Descottes
0e4a1ef1aa Bug 1673897 - [devtools] Throw if a spec method defines an array return value r=ochameau
Depends on D96940

Differential Revision: https://phabricator.services.mozilla.com/D96941
2020-12-02 14:35:53 +00:00
Julian Descottes
a0e3b72bea Bug 1673897 - [devtools] Stop using arrays as return values for rdp responses r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96940
2020-12-02 14:35:46 +00:00
Simon Giesecke
e74ea6985a Bug 1679763 - Explicitly instantiate often-used profiler templates. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D98187
2020-12-02 17:00:06 +00:00
Gijs Kruitbosch
a43aafe52b Bug 1676345 - honour extensions from URLs with query parameters for useless mimetypes to avoid taking the extension from bogus local data, r=mak
This restores extension discovery logic to using the URL for requests where
there's no filename in the Content-Disposition header information, and where
the mimetype gives no indication of the 'correct' extension.

This is a short-term workaround for the larger issue that we should not have
bad local information for these mimetypes - fixing that is bug 1659008, but
requires using the extension to get a better mimetype, which this patch will
also help with.

Differential Revision: https://phabricator.services.mozilla.com/D97824
2020-12-02 17:36:41 +00:00
Gregory Mierzwinski
e9584941e4 Bug 1638365 - Use webdriver navigation for pageload tests. r=perftest-reviewers,Bebe,AlexandruIonescu
This patch upgrade browsertime to v10, and enables webdriver-based navigation in browsertime tests.

Differential Revision: https://phabricator.services.mozilla.com/D95425
2020-12-02 17:33:30 +00:00
Gregory Mierzwinski
8651d29de5 Bug 1676703 - Fail visual-metrics tasks if a zero is reported in the metrics. r=perftest-reviewers,AlexandruIonescu
This patch makes vismet tasks fail when the *Index metrics are reported as zero.

Differential Revision: https://phabricator.services.mozilla.com/D96735
2020-12-02 17:22:39 +00:00
Jeff Muizelaar
c949054c94 Bug 1680257 - Use default initialization for qcms_modular_transform. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D98467
2020-12-02 16:01:00 +00:00
Jonathan Kew
96ee4b6e22 Bug 1680234 - Accelerate global font fallback on Android by avoiding freetype face creation where possible. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98452
2020-12-02 17:13:59 +00:00
Kimberly Sereduck
4958438156 Bug 1674851 - Add chromedriver for Chrome 87 r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D98357
2020-12-02 17:12:51 +00:00
Dana Keeler
2e7189e847 Bug 1678762 - crlite: be more efficient about processing new stashes r=kjacobs
Before this patch, when RemoteSecuritySettings would download multiple new
stashes, it would add the first one to cert_storage, which would reconstruct
the in-memory representation of all of the issuer/serial hashmaps/sets
(including preexisting ones), and then RemoteSecuritySettings would add the
second one, and cert_storage would reconstruct the entire in-memory
representation of the issuer/serial hashmaps/sets again, and so on, re-doing
all of the work each time. This is essentially O(n^2) work. This patch improves
both RemoteSecuritySettings and cert_storage to minimize this work, reducing it
to O(n).

Differential Revision: https://phabricator.services.mozilla.com/D97829
2020-12-02 17:04:59 +00:00
Andrew Osmond
7c7282b4e4 Bug 1677094 - Assert if we lose WebRender if forced via MOZ_WEBRENDER env var. r=jrmuizel
We use MOZ_WEBRENDER to force WebRender on in our testing
infrastructure. We may silently fallback to basic during our tests if we
encounter an error and the test may pass as a result. It would be best
if we asserted we don't lose WebRender while testing.

Differential Revision: https://phabricator.services.mozilla.com/D97004
2020-12-02 17:03:12 +00:00
David Major
87237b867f Bug 1680057 - New PM LTO: Don't take the elif block on Windows r=firefox-build-system-reviewers,mhentges
Windows being Windows, with its own spellings for everything, let's stay within the WINNT block regardless of whether we meet the compiler requirement.

Differential Revision: https://phabricator.services.mozilla.com/D98355
2020-12-02 17:02:01 +00:00
Emma Malysz
722ab0f916 Bug 1674106, delete custom margins from userChangedSettings when updating an invalid margin after a paper size switch r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D98224
2020-12-02 16:58:23 +00:00
Alexis Beingessner
9b93f68a1f Bug 1677049 - disable more flakey tests and add a supression for mochitest-bc. r=malexandru
Differential Revision: https://phabricator.services.mozilla.com/D98485
2020-12-02 16:33:52 +00:00
Steve Fink
3d02a92acd Bug 1680159 - Do not collect source code during automated hazard analysis. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98409
2020-12-02 16:22:40 +00:00
Jon Coppeard
129aed4ab3 Bug 1679986 - Add assertions to check that we don't leak arenas r=sfink
The main purpose of this is to assert that ArenaList objects are empty on
destruction, i.e. we're not accidentally leaking arenas.

This makes it so that we always move the contents of an ArenaList, which clears
the original list. I also removed a couple of unused methods.

Differential Revision: https://phabricator.services.mozilla.com/D98303
2020-12-02 15:45:21 +00:00
Mihai Alexandru Michis
d2849190f6 Backed out 15 changesets (bug 1662868) for causing xpcshell thread leaks.
CLOSED TREE

Backed out changeset fe1462617a8d (bug 1662868)
Backed out changeset 99df04f55be1 (bug 1662868)
Backed out changeset 21f7b675b3b9 (bug 1662868)
Backed out changeset 33a5ec2378cd (bug 1662868)
Backed out changeset be7a168ee182 (bug 1662868)
Backed out changeset 1803b5acd0f8 (bug 1662868)
Backed out changeset 98415dd8ee7e (bug 1662868)
Backed out changeset 6e38bfcb8587 (bug 1662868)
Backed out changeset 43245bce408a (bug 1662868)
Backed out changeset b727f5c658f5 (bug 1662868)
Backed out changeset f631a1d04d0a (bug 1662868)
Backed out changeset 6a5e0257086c (bug 1662868)
Backed out changeset 82c6c1b7a24a (bug 1662868)
Backed out changeset 6f4740140fe1 (bug 1662868)
Backed out changeset 2f342eaea13e (bug 1662868)
2020-12-02 18:24:59 +02:00
Jon Coppeard
ec37b8925b Bug 1680241 - Disable GC zeal in script-source-extent.js test r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D98470
2020-12-02 15:29:24 +00:00
Mitchell Hentges
4184bca3d4 Bug 1661153: Removes _ensure_zstd() and usages r=firefox-build-system-reviewers,glandium
The zstandard package is always installed in the mach virtualenv.
The patch assumes that zstandard is only used from the mach virtualenv,
and never the build virtualenv.

Differential Revision: https://phabricator.services.mozilla.com/D98387
2020-12-02 15:16:14 +00:00
Roger Yang
a6918d5e01 Bug 1671654 - Add JavaException annotation for determining the cause of a Java exception. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D93833
2020-12-02 14:30:33 +00:00
Jeff Muizelaar
c0cc28dc85 Bug 1680119 - Cleanup qcms_modular_transform_release. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D98380
2020-12-02 02:07:59 +00:00
Jeff Muizelaar
348522399d Bug 1680118 - Update to mozangle 0.3.2. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D98379
2020-12-02 01:46:58 +00:00
John Bieling
34bf7e723f Bug 1647931 - Fix addon.userPermissions is null r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D96324
2020-12-02 14:32:29 +00:00
Christian Holler
167af0d399 Bug 1677049 - Disable another test for TSan that was missed before. r=malexandru
Differential Revision: https://phabricator.services.mozilla.com/D98463
2020-12-02 14:27:28 +00:00
Geoff Brown
58cf701644 Bug 1607446 - Fix tsan-detected data race in nsJARChannel; r=valentin,decoder
Simply use Atomic to avoid a data race.

Differential Revision: https://phabricator.services.mozilla.com/D98276
2020-12-02 07:36:56 +00:00
Lars T Hansen
084e73855b Bug 1673391 - Optimize SIMD FP compare with constant. r=jseward
Add compare-with-immediate-constant code generation and test cases for
floating point SIMD comparisons.  This follows the pattern already
established for other binary operations.

Generalize the codegen test case harness to also handle x86, and add
x86 tests for the new compare optimizations.

Drive-by fix: remove the FP compare cases for GT/GE from the code
generator as they are not in hardware and are not used by lowering,
and comment better in the macro assembler why the FP compare methods
still accept GT/GE as operators.

Differential Revision: https://phabricator.services.mozilla.com/D95506
2020-12-02 14:22:34 +00:00
Lars T Hansen
0bde0b42c2 Bug 1673391 - Test all unary operations with all constant inputs. r=jseward
Generalize the unary op tests to test constant inputs, in the manner
of the binary op tests.

Differential Revision: https://phabricator.services.mozilla.com/D96005
2020-12-02 14:22:31 +00:00
Lars T Hansen
9a12a51091 Bug 1673391 - Generalize JmpSrc to allow patching not at the end. r=nbp
Some instructions, such as RIP-relative CMPPS and CMPPD, have a patch
field that is embedded in the instruction, not at the end of it.  To
patch this field, the information about the distance between the field
and the end of the instruction must be transmitted in the JmpSrc that
is used for the patching.  (Or we must not use JmpSrc.)

This patch generalizes JmpSrc slightly to carry information about the
patch field's distance from the end of the instruction.  The only
values allowed are 0 and 1 bytes, since the only case we care about so
far has a single byte trailing the patch field, and this restricts the
offset value in JmpSrc the least while keeping its size small.

Assertions are added to the patching code to guard against values
other than zero except where such values can be used safely.

Differential Revision: https://phabricator.services.mozilla.com/D97268
2020-12-02 14:22:29 +00:00
Kagami Sascha Rosylight
14ef7ee9e2 Bug 1677263 - Add a test for select event being async r=masayuki
The asynchronous behavior is introduced by using SetSelectionRange inside Select(). This adds a test for that.

Differential Revision: https://phabricator.services.mozilla.com/D98186
2020-12-02 01:28:43 +00:00
Kagami Sascha Rosylight
3a7f9322e4 Bug 1679460 - Call Get/SetSelectionRange even when cached r=masayuki
No need to special case here as both already use cached selection. This makes it consistent with SetSelectionStart etc.

Differential Revision: https://phabricator.services.mozilla.com/D98185
2020-12-02 02:21:13 +00:00
Kagami Sascha Rosylight
b581a12705 Bug 1679461 - Use SetSelectionRange in Select(), regardless of focus state r=masayuki
SelectAll() also is no-op without a frame, so this replaces it with SetSelectionRange.

Differential Revision: https://phabricator.services.mozilla.com/D98184
2020-12-02 02:16:52 +00:00
yulia
8ca98dd89c Bug 1519100 - Adjust jit tests to work with module promises; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D96067
2020-12-02 12:41:08 +00:00
yulia
5a92ccc7e6 Bug 1519100 - Add tests for top level await; r=jonco
Add tests behind the TLA flag

Differential Revision: https://phabricator.services.mozilla.com/D93530
2020-12-02 13:32:39 +00:00
yulia
7a2f0f89ab Bug 1519100 - Use pref to completely pref-off top-level await in the browser; r=emilio,jonco
Differential Revision: https://phabricator.services.mozilla.com/D97184
2020-12-02 12:40:21 +00:00
yulia
21104289bb Bug 1519100 - Implement module promises in html r=emilio,jonco
Differential Revision: https://phabricator.services.mozilla.com/D95885
2020-12-02 12:40:08 +00:00
yulia
ecd3ed9ff7 Bug 1519100 - Update web-platform tests, add expected behavior tests; r=emilio
mark wpt tests which need to run with top level await flag, for others add mozilla specific tests with expected changes

***

Differential Revision: https://phabricator.services.mozilla.com/D96066
2020-12-02 12:40:01 +00:00
yulia
72fa405125 Bug 1519100 - Update Dynamic Import to use module promises, and implement module changes in shell. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D95884
2020-12-02 13:27:20 +00:00
yulia
eb82ac67e4 Bug 1519100 - Implement Top-level await specification; r=jonco
Tested in: https://phabricator.services.mozilla.com/D93530

Differential Revision: https://phabricator.services.mozilla.com/D93524
2020-12-02 13:32:06 +00:00
yulia
da7e2ac90e Bug 1519100 - Implement Top-level async bytecode; r=arai
Differential Revision: https://phabricator.services.mozilla.com/D93522
2020-12-02 12:39:32 +00:00
yulia
d5d7584f2d Bug 1519100 - Mark modules as async if we find a top level await while parsing; r=mgaudet
***
Modify parser to guard on top level await flag

Differential Revision: https://phabricator.services.mozilla.com/D93681
2020-12-02 12:39:19 +00:00
yulia
6984cf21eb Bug 1519100 - Implement basic stencil changes for top-level await; r=arai
Differential Revision: https://phabricator.services.mozilla.com/D83773
2020-12-02 12:39:11 +00:00
yulia
38febcd9a8 Bug 1519100 - Add capability in GeneratorObject for modules to be suspended; r=arai,mgaudet
***

Differential Revision: https://phabricator.services.mozilla.com/D93523
2020-12-02 13:27:56 +00:00
yulia
649679a82c Bug 1519100 - Create AsyncEmitter to handle shared async behavior between functions and modules; r=arai,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D93487
2020-12-02 12:38:45 +00:00
yulia
3cce92fdf1 Bug 1519100 - Introduce SuspendableContext for async/generators in functions and modules; r=arai,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D95306
2020-12-02 12:38:38 +00:00
yulia
053c334691 Bug 1519100 - Move HandlerFunction from streams into the builtin dir; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D95883
2020-12-02 13:04:56 +00:00
yulia
521140ab44 Bug 1519100 - Add flag for experimental Top Level Await feature; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D97180
2020-12-02 12:38:17 +00:00
Edgar Chen
4d02a166ec Bug 1678349 - Part 2: Suppress additional blur/focus event on OOP iframe; r=hsivonen
for the case that framer calls iframe.focus() on OOP iframe and the OOP iframe
already has the focus.

Differential Revision: https://phabricator.services.mozilla.com/D98304
2020-12-02 13:03:58 +00:00