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

736639 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 7a97aae8de Bug 1626278: Stop requiring additional dispatches to STS for ICE ctx teardown. r=mjf
Also some improvements in discipline wrt bare pointers.

Differential Revision: https://phabricator.services.mozilla.com/D97016
2020-11-19 19:08:30 +00:00
Byron Campen [:bwc] d9e2987cba Bug 1626278: Shutdown MediaTransportHandlerSTS on STS shutdown. Also add some logging. r=mjf,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93655
2020-11-19 18:57:42 +00:00
Byron Campen [:bwc] d16631f547 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-11-19 19:20:54 +00:00
Byron Campen [:bwc] 7b6da84c38 Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-11-19 18:57:03 +00:00
Byron Campen [:bwc] 0f1c30e0fa Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-11-19 18:50:25 +00:00
Byron Campen [:bwc] 62f4ec2f1e Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-11-19 18:51:52 +00:00
Byron Campen [:bwc] 6ca5f94584 Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-11-19 18:50:10 +00:00
Byron Campen [:bwc] 7adbc30c40 Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-11-19 18:47:25 +00:00
Byron Campen [:bwc] b755ba26c6 Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-11-19 18:48:54 +00:00
Byron Campen [:bwc] f8ab1fb0f7 Bug 1626278: Test case for MozPromise::AllSettled. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92652
2020-11-19 18:46:22 +00:00
Byron Campen [:bwc] e0c988cd55 Bug 1626278: Implement MozPromise::AllSettled, based on JS Promise API. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91467
2020-11-19 18:50:08 +00:00
Byron Campen [:bwc] 9599563a0c Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-11-19 18:44:02 +00:00
Byron Campen [:bwc] d43568df84 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-11-19 15:12:48 +00:00
Bogdan Tara 636095bb54 Bug 1676345 - Fix clang-format issue CLOSED TREE 2020-12-02 21:18:45 +02:00
Bogdan Tara 225a24f0bc Backed out 3 changesets (bug 1677263, bug 1679460, bug 1679461) for test_focus.xhtml failures CLOSED TREE
Backed out changeset 03db12dabc63 (bug 1677263)
Backed out changeset 75de13448090 (bug 1679460)
Backed out changeset 4f4fd8e7ce93 (bug 1679461)
2020-12-02 21:16:28 +02:00
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