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

733152 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer f6868ae514 Bug 1672648: Add SiteOriginPrincipal to ContentParent r=nika
Differential Revision: https://phabricator.services.mozilla.com/D95156
2020-11-03 07:25:41 +00:00
Robert Mader a715823143 Bug 1670444 - [Wayland] Some vsyncsource improvements, r=stransky
This implements the following three things:
 - use the frame callback timestamp. While there are few guarantees about
its behaviour, it still seems to make sense to use it assuming: a) the compositor
uses monotonic system time (we do a simple sanity check) b) the compositor is
more likely to run at high priority, thus making the offset from the actual
vsync less jittery c) the timestamp is closer to the actual vsync event,
making it more fitting for how we use it internally
 - implement a very simplistic estimate of the refresh interval.
Since bug 1653737 WR takes an estimated next output time to optimize
for. Until now this was hardcoded to 16.6ms from the last `Now()`. Now
we adjust the value on each interval slightly, making it much more
precise on non-60Hz refresh rates (this certainly can get improved more)
 - Shuffle around mutex looking a bit, making sure we don't hold it
while calling `NotifyVsync()`. That should make it less likely to run
into deadlock conditions.

Depends on D95515

Differential Revision: https://phabricator.services.mozilla.com/D93169
2020-11-03 11:39:18 +00:00
Robert Mader 37e13baa75 Bug 1674758 - [wayland] Prevent vsyncsource from restarting after shutdown, r=stransky
This is necessary to prevent crashes if there are multiple consumers, see e.g. D93173

Differential Revision: https://phabricator.services.mozilla.com/D95515
2020-11-03 11:38:35 +00:00
Kartikaya Gupta 8404c5c2aa Bug 1674482 - Extend existing OOPIF scrolling test to ensure OOPIFs get scrolled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D95581
2020-11-03 15:07:01 +00:00
Andrew Osmond 296ee0064d Bug 1642308 - Fix fract offset calculations for picture cache tile invalidation. r=gw
Our fract offset for the tiles should be a simple mapping of the snapped
device position back to picture space. If no snapping is required, then
the position will be precisely the origin. When using this value to
decide if the position has changed for glyph subpixel offset purposes,
we must consider it in device space, since picture to device space can
be effectively arbitrary.

We update the stored fract offset at which a tile was rendered whenever
we invalidate the whole tile, not just when we detect the fract offset
has changed by a notable amount. This should reduce spurious
invalidations since the tile was actually rendered at a different offset
that we had recorded prior to this patch.

Differential Revision: https://phabricator.services.mozilla.com/D91156
2020-11-03 14:58:54 +00:00
Dmitry Bezhetskov 13d1dc87c1 Bug 1639153 - Part 8: Adapt Cranelift-based Wasm to use ABI-2020. r=lth
This patch makes use of the new "Baldrdash2020" ABI support in Cranelift
to support the "ABI 2020" refactor in the Wasm compiler.

Differential Revision: https://phabricator.services.mozilla.com/D93190
2020-11-03 13:08:58 +00:00
Dmitry Bezhetskov f04c23a0c3 Bug 1639153 - Part 7: Remove Frame::tls. r=lth
We remove Frame::tls and fix prologue/epilogue. Runtime, Ion and Baseline are ready for this move already.

Differential Revision: https://phabricator.services.mozilla.com/D83064
2020-11-03 10:32:55 +00:00
Dmitry Bezhetskov 2348ebd248 Bug 1639153 - Part 5: Remove remaining uses of Frame::tls. r=lth
Here we remove remaining uses of Frame::tls. There are many places where
we use it: in debug frames, in profiling frames, in jit activation, etc.
All these places require short fixes to use our new scheme for getting
tls, so I gathered them together.

Differential Revision: https://phabricator.services.mozilla.com/D83051
2020-11-03 10:28:10 +00:00
Dmitry Bezhetskov 20644f3977 Bug 1639153 - Part 4: Untie frame iteration from Frame::tls. r=lth
Here we replace usage of Frame::tls in frame iteration with GetNearestEffectiveTls.
We also maintain current tls for frame iteration object to not to call GetNearestEffectiveTls everytime.

Differential Revision: https://phabricator.services.mozilla.com/D83045
2020-11-03 10:25:14 +00:00
Dmitry Bezhetskov a99f833c45 Bug 1639153 - Part 3: Implement the algorithm for obtaining tls and use it for wasm signal handling. r=lth
This is the third part of series of patches to Frame without tls pointer.
Here we preserve initial tls in all entry stubs and then use it to find a proper tls instance for a given frame.

To find the TlsData* for specific frame we start from a entry stub's tls
and then track tls through all possible cross-instance calls. This logic
is implemented in GetNearestEffectiveTls procedure.

Then, we use this new procedure to make singal handling free from Frame::tls.

Differential Revision: https://phabricator.services.mozilla.com/D83044
2020-11-03 10:22:41 +00:00
Dmitry Bezhetskov 5559874442 Bug 1639153 - Part 2: Preserve callee and caller tls'es. r=lth
This is a followup patch for removing Frame::tls.
Now, we are preserving caller's and callee's tls'es for all possible cross-instance calls in the previously allocated abi slots.
We also use preserved tls values to restore the caller's tls in Ion. Baseline doesn't need this because it restores the caller tls from its private stack slot after the call.

Differential Revision: https://phabricator.services.mozilla.com/D82888
2020-11-03 10:20:49 +00:00
Dmitry Bezhetskov ee1a9eaf56 Bug 1639153 - Part 1: Reserve two slots after stack arguments for the future tls preservation. r=lth
We are going to remove Frame::tls and support trampolines for indirect calls, so we need to get rid of using Frame::tls.
In this and the followup patches I will iteratively remove all dependencies of Frame::tls and remove it eventually.

In this patch I changed wasm ABI to allocate two stack slots after stack args to preserve caller's and callee's tls'es in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D82881
2020-11-03 10:18:03 +00:00
Tarek Ziadé 6bc860d7cd Bug 1671330 - create a telemetry layer r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D94809
2020-11-03 14:32:33 +00:00
Jens Hausdorf ee2239fcf2 Bug 1660417 - Make sure CSP policy strings are logged as valid yaml r=freddyb,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D87841
2020-11-03 14:06:13 +00:00
Dorel Luca ce470538d0 Backed out 4 changesets (bug 1670811) for Browser-chrome failures in extensions/test/browser/browser_ext_browsingData_localStorage.js. CLOSED TREE
Backed out changeset d8c8748e2368 (bug 1670811)
Backed out changeset edde0caa4fa2 (bug 1670811)
Backed out changeset 3ce25bc93634 (bug 1670811)
Backed out changeset 2e6562022528 (bug 1670811)
2020-11-03 16:29:56 +02:00
Dorel Luca 44f42d28e4 Backed out 3 changesets (bug 1674436, bug 1674714) for Spidermonkey bustage. CLOSED TREE
Backed out changeset 63e10ddc8381 (bug 1674714)
Backed out changeset 4f88baca65b4 (bug 1674714)
Backed out changeset 2188f200b16a (bug 1674436)
2020-11-03 16:20:13 +02:00
Dorel Luca 9d31e23039 Backed out changeset 6787c96a69c8 (bug 1674433) for newtab failure. CLOSED TREE 2020-11-03 16:15:31 +02:00
Dorel Luca 574445f4f4 Backed out 4 changesets (bug 1674674, bug 1674869) for build bustage in gecko/js/src/frontend/StencilXdr.cpp. CLOSED TREE
Backed out changeset 124f21669453 (bug 1674674)
Backed out changeset d2ae6815200e (bug 1674674)
Backed out changeset a330801f559c (bug 1674674)
Backed out changeset 8e718fb591e8 (bug 1674869)
2020-11-03 16:14:58 +02:00
Geoff Brown 7df7df7e85 Bug 1674736 - [talos] Import Structure and pointer directly from ctypes; r=perftest-reviewers,Gijs,sparky
Differential Revision: https://phabricator.services.mozilla.com/D95603
2020-11-03 13:46:42 +00:00
Gregory Mierzwinski a929a223c5 Bug 1674927 - Disable similarity calculations for huge increase in run time. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D95631
2020-11-03 13:38:54 +00:00
Steve Fink 8272098f37 Bug 1674714 - Be sure to choose a nonzero exit status, if any r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D95550
2020-11-02 19:00:46 +00:00
Nicolas B. Pierron a42e22a561 Bug 1674714 - jsapi-tests: Use the simulator to execute JIT-ed functions when needed. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D95567
2020-11-03 12:36:02 +00:00
Nicolas B. Pierron 2e038cc198 Bug 1674436 - Share Prepare/Execute functions across JIT test cases. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D95384
2020-11-03 12:29:05 +00:00
Tom Schuster ad21606ced Bug 1670811 - Tests for browsingData.remove with cookieStoreId r=extension-reviewers,mixedpuppy,rpl
Depends on D93277

Differential Revision: https://phabricator.services.mozilla.com/D93332
2020-11-03 13:18:58 +00:00
Tom Schuster db38ffdd23 Bug 1670811 - browsingData.remove cookieStoreId support for next-gen localStorage and indexedDB r=rpl
Depends on D93276

Differential Revision: https://phabricator.services.mozilla.com/D93277
2020-11-02 20:46:22 +00:00
Tom Schuster 32c7705e76 Bug 1670811 - Unify indexedDB and localStorage code r=rpl
Depends on D93275

Differential Revision: https://phabricator.services.mozilla.com/D93276
2020-11-02 20:46:14 +00:00
Tom Schuster 3d2496e8a9 Bug 1670811 - Basic browsingData.remove cookieStoreId support for clearing cookies r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93275
2020-11-02 21:00:14 +00:00
Dão Gottwald c872e1bc9f Bug 1674433 - Add ability to hide the top site section's title. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D95342
2020-11-03 13:17:00 +00:00
Jeff Muizelaar ff58e7d381 Bug 1674956 - Make lut_interp_linear safe. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D95653
2020-11-03 11:37:16 +00:00
Karl Dubost 9643ae012b Bug 1663978 - Import v17.0.0 webcompat addon sources. r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95691
2020-11-03 13:02:23 +00:00
Ted Campbell c4edb684fb Bug 1674674 - Transcode HashNumber for ParserAtoms. r=arai
Include the HashNumber in XDR data so we don't need to recompute it and can
speed up interning of these known-to-be-unique ParserAtoms.

Differential Revision: https://phabricator.services.mozilla.com/D95466
2020-11-03 06:04:59 +00:00
Ted Campbell 6589619b1b Bug 1674674 - Use HashSet::putNew when interning ParserAtom for XDR. r=arai
We currently assert that XDR'd ParserAtoms are unique, but still use the
slightly slower lookupForAdd APIs. Instead, the patch uses putNew which
avoids an extra comparison on hash collisions.

Also greatly simplify the Char16LE case which is only used for XDR and can
safely assume no static strings or non-wide atoms are passed.

Differential Revision: https://phabricator.services.mozilla.com/D95465
2020-11-03 06:04:52 +00:00
Ted Campbell e1b9b4e584 Bug 1674674 - Remove ParserAtomsTable::internLatin1Seq. r=arai
This is the same code as internChar16Seq if we chose the right
parameterization, so simplify the code a little.

Differential Revision: https://phabricator.services.mozilla.com/D95464
2020-11-03 06:04:44 +00:00
Ted Campbell de332e84a7 Bug 1674869 - Cleanup XDRScriptStencil to improve perf. r=arai
Now that XDR checks for correct endianness, we can use codeBytes for more
complex structures. We also move the function to StencilXdr namespace.

Differential Revision: https://phabricator.services.mozilla.com/D95587
2020-11-03 12:39:11 +00:00
Dimi Lee 226e9214a2 Bug 1672936 - Do not show "report a detection problem" in Safe Browsing malware interstitial page r=flod,fluent-reviewers,gcp
Differential Revision: https://phabricator.services.mozilla.com/D94574
2020-11-03 10:44:31 +00:00
Miko Mynttinen 773fdfabdb Bug 1667942 - Disable a spammy warning r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D95535
2020-11-03 09:13:21 +00:00
Miko Mynttinen e312ab88d1 Bug 1674766 - Remove DisplayListChecker r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D95531
2020-11-02 20:04:37 +00:00
Valentin Gosu 6b00235dd5 Bug 1673590 - Move TRR handling logic from nsHostResolver to TRRQuery r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94822
2020-11-03 10:41:51 +00:00
Andrey Bienkowski ffe82f7865 Bug 1674986 Fix a comment in devtools/client/inspector/shared/test/head.js r=rcaliman DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95681
2020-11-03 11:35:31 +00:00
Marco Bonardo 08716c9980 Bug 1670253 - Tab-to-search doesn't work as expected by the user on some engines. r=adw
Allow autofill to fill partial search providers domains so that, for example,
en.wikipedia.org can be filled by typing "wiki".

Differential Revision: https://phabricator.services.mozilla.com/D95277
2020-11-03 10:11:38 +00:00
Dragana Damjanovic bcc4efa90a Bug 1674316 - Better separate NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY when dispatching transactions r=necko-reviewers,valentin
- add allowHttp3 attribute to nsIHttpChannelInternal, it is used for easy testing and it will be used for Bug 1674111
 - add test for NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY
 - add HTTP3 test for altSvc and the cert verifiacation

Differential Revision: https://phabricator.services.mozilla.com/D95256
2020-11-03 10:21:17 +00:00
Cristina Coroiu 72d7b11420 Bug 1607636 - disable browser_dbg-inline-preview.js for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95449
2020-11-03 10:11:31 +00:00
Cristina Coroiu 2f525116da Bug 1671794 - disable browser_tab_replace_while_loading.js on win for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95448
2020-11-03 10:17:15 +00:00
stransky 3081c62a8e Bug 1674982 [Wayland] Revert frame callbacks timeout due to OOM crashes, r=jhorak
Wayland protocol does not include a mechanism how to inform compositor about deleted frame callbacks.
We delete a callback only locally on client side and it remains active at server (compositor) side.

When large amount of callbacks is accumulated at server Firefox is closed due to OOM
so we need to keep frame callback on local side untill is fired and don't create a new one.

Differential Revision: https://phabricator.services.mozilla.com/D95678
2020-11-03 09:53:51 +00:00
Julian Descottes ea5444d838 Bug 1674721 - [devtools] Log a meaningful failure message when attempting to run ToolboxTask on ASAN builds r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D95500
2020-11-03 10:05:08 +00:00
Butkovits Atila 2062d3e610 Bug 1654971 - disable browser_toggleMode_2.js on linux for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D95447
2020-11-03 10:01:16 +00:00
David Major 5fde4e00e2 Bug 1674907 - Clean up C++17 ifdefs in TestNoRefcountedInsideLambdas.cpp r=static-analysis-reviewers,sg
I'll need to update this file for clang-12, and in order to prevent the need for adding more of these ifdefs, let's just assume they are true and remove the checks. Our codebase has been on C++17 for a while now.

Differential Revision: https://phabricator.services.mozilla.com/D95592
2020-11-03 09:25:50 +00:00
Henrik Skupin 6e8527f840 Bug 1649094 - [geckodriver] Release version 0.28.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95074
2020-11-03 09:31:21 +00:00
Henrik Skupin ae095ec86d Bug 1649094 - [geckodriver] Update of release documentation for 0.28.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95073
2020-11-03 09:34:30 +00:00
Henrik Skupin 9bcfe67ea4 Bug 1649094 - [webdriver] Release version 0.42.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95072
2020-11-03 03:51:29 +00:00