Commit Graph

713771 Commits

Author SHA1 Message Date
Matthew Gregan
3d04faf512 Bug 1646576 - Update audioipc to c04a660a. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D80123
2020-06-18 03:56:54 +00:00
Jared Wein
c356c753ea Bug 1644625 - Populate Features.toml with an intial set of Experimental Features. r=Gijs,heycam,kvark,jbauman
Differential Revision: https://phabricator.services.mozilla.com/D79026
2020-06-18 01:19:52 +00:00
longsonr
30697d85fe Bug 1645753 - Add color as a mapped attribute for gradient stops r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D79665
2020-06-18 00:34:23 +00:00
Hiroyuki Ikezoe
77bf0111ce Bug 1467765 - Sample off-main-thread animations on the render backend thread in case of WebRender. r=kats
Now CompositorAnimationStorage::GetAnimatedValue() and SetAnimatedValue()s
are called on the sampler thread in case of WebRender, are called on the
compositor thread in case of non WebRender, so we drop assertions of
IsInCompositorThread check there. A mLock.AssertCurrentThreadOwns call in
each function should make sure the function gets called on the
sampler/compositor thread with acquiring the lock.

One caveat in this change is that in case we try to get an animation value via
nsIDOMWindowUtils.getOMTAStyle(), we do sample animations on the _compositor_
thread and we never call UpdateDynamicProperties, which means if it gets called
in testing refresh driver mode, visual results will differ from what the value
returned by the getOMTAStyle should look like. But it should be fine because we
disallow using any chrome priviledge APIs in reftests and also we will never use
the testing refresh driver mode in the reftest harness. Also in mochitests the
visual results' differences might make people confusing if the person can notice
it, but in principal getOMTAStyle() is designed to get computed animating values
so that it doesn't matter what the visual result is.

Differential Revision: https://phabricator.services.mozilla.com/D79982
2020-06-17 23:47:20 +00:00
Hiroyuki Ikezoe
5ac8e30f29 Bug 1467765 - Factor out resetting previous time stamp stuff. r=kats
|mPreviousFrameTimeStamp| will be moved into the sampler for OTMA in the next
commit though.

Differential Revision: https://phabricator.services.mozilla.com/D79981
2020-06-17 23:32:22 +00:00
Hiroyuki Ikezoe
b974ebc500 Bug 1467765 - Factor out clear animation resources stuff. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79980
2020-06-17 23:32:10 +00:00
Mihai Alexandru Michis
dd5e04a92b Backed out changeset cc9bea1151d3 (bug 1645219) for causing failures in netinet/sctp_usrreq.c
CLOSED TREE
2020-06-18 05:07:54 +03:00
Eric Rahm
ba9b93f039 Bug 1646543 - Replace blacklist with more appropriate names. r=xpcom-reviewers,nika
This removes variants of "blacklist" from the xpcom directory. The preference name "network.file.path_blacklist" is left in place and will need a more thorough plan for removal. Instances of `MOZ_ASAN_BLACKLIST` remain as well and should be replaced in a larger modifcation of the `#define` in the mfbt component.

Differential Revision: https://phabricator.services.mozilla.com/D80098
2020-06-17 23:55:46 +00:00
Glenn Watson
0f92ede9c2 Bug 1646279 - Remove primitive opacity collapse support. r=Bert,kvark
The code to support collapsing a picture with a single primitive
and an opacity filter into a primitive + opacity binding is
no longer an important optimization, due to picture caching.

Removing this old optimization also reduces complexity during
scene building, and slightly simplifies batching and picture
cache dependency tracking.

Differential Revision: https://phabricator.services.mozilla.com/D79975
2020-06-18 00:01:44 +00:00
Brindusan Cristian
8246b23171 Backed out changeset a59280f412c0 (bug 1633737) for crashtest assertion failures at nsGridContainerFrame.cpp. CLOSED TREE 2020-06-18 04:16:09 +03:00
Emilio Cobos Álvarez
011d524740 Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
We're converting to nscoord in some places unnecessarily, reducing the
precision of the computed value we return.

This makes some tests unnecessarily fail if we change the base of
nscoord.

Differential Revision: https://phabricator.services.mozilla.com/D79996
2020-06-18 00:42:47 +00:00
Jeff Gilbert
71aeba305c Bug 1635293 - Cherry-pick ANGLE fix: Update tex cache even if new type is InvalidEnum. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D79755
2020-06-15 22:07:44 +00:00
Mike Conley
50337644a0 Bug 1643874. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D79472
2020-06-12 14:30:29 +00:00
Lars T Hansen
71371b98b6 Bug 1644550 - Clean up rematerialization of constants during multi-return shuffle. r=bbouvier,wingo
Differential Revision: https://phabricator.services.mozilla.com/D79102
2020-06-17 13:24:18 +00:00
Andrew Osmond
b33277b10b Bug 1450353. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D79303
2020-06-11 23:13:09 +00:00
Dan Minor
737ca9006d Bug 1639734 - Restore check that sink is registered in AddOrUpdateSink; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D78723
2020-06-08 19:14:06 +00:00
Byron Campen [:bwc]
f0925b9486 Bug 1645219: Repurpose DataChannelShutdown into DataChannelRegistry (which gives us some weak-pointer-like semantics) r=ng
Differential Revision: https://phabricator.services.mozilla.com/D79375
2020-06-16 00:17:10 +00:00
Valentin Gosu
f1f9d94272 Bug 1641303 - Use query and ref lengths if available r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77418
2020-06-17 08:29:21 +00:00
James Teh
02ae717477 Bug 1630208 part 4: Re-enable accessible/tests/browser/hittest/browser_test_zoom_text.js. r=yzen
The intermittent leak has been fixed, so we can now re-enable this.

Differential Revision: https://phabricator.services.mozilla.com/D79782
2020-06-17 18:42:48 +00:00
James Teh
9d61ef8210 Bug 1630208 part 3: Clean up the remote XPC document accessible cache on shutdown. r=yzen
The cache should already be empty by this point unless there's a bug, but we should still clean up regardless.
Also, the hashtable itself was previously never cleaned up even if it was empty.

Differential Revision: https://phabricator.services.mozilla.com/D79781
2020-06-17 18:42:30 +00:00
James Teh
6a5821c667 Bug 1630208 part 2: Drop events for DocAccessibleParents which are already shut down. r=yzen
We can receive IPC events after a DocAccessibleParent is shut down if the BrowserParent is in the process of being destroyed (probably the tab closed) but there are still events in the IPC queue.
Most Recv*Event methods in BrowserParent check mShutdown, but a few don't.
For the events that don't, if the event is for a document, we'll successfully fire the platform event, and then successfully get and cache an xpcAccessibleDocument.
However, that xpcAccessibleDocument will never be removed from the cache because it's already shut down, so NotifyOfRemoteDocShutdown (which would normally remove it from the XPC cache) won't get called.
This results in a leaked object.
Thus, it's important that all Recv*Event methods drop the event if mShutdown is true.
This patch adds that check to the methods which didn't have it already.

Differential Revision: https://phabricator.services.mozilla.com/D79780
2020-06-17 18:40:42 +00:00
James Teh
dffc53d36b Bug 1630208 part 1: Assert that we don't add a shut down DocAccessibleParent to the remote XPC cache in DocManager::GetXPCDocument. r=yzen
We really want to know about this because the document will never be removed from the cache, since NotifyOfRemoteDocShutdown (which would normally remove it from the XPC cache) won't get called.

Differential Revision: https://phabricator.services.mozilla.com/D79779
2020-06-17 18:37:58 +00:00
Brindusan Cristian
f93d2c823e Backed out changeset 2011f0091ccf (bug 1646336) for dt failures at browser_accessibility_print_to_json.js. CLOSED TREE 2020-06-18 03:17:34 +03:00
Emilio Cobos Álvarez
28c68306b3 Bug 1646546 - Port the style crate to rust 2018. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D80101
2020-06-17 23:40:30 +00:00
Emilio Cobos Álvarez
7b1b460d78 Bug 1646546 - Fix some manual occurrences of try(). r=boris
Depends on D80099

Differential Revision: https://phabricator.services.mozilla.com/D80100
2020-06-17 22:27:45 +00:00
Emilio Cobos Álvarez
b774002cf9 Bug 1646546 - Switch all callsites of try() to try_parse() in the style crate. r=boris
Fully automated via:

  $ rg -l '\.try\(' | xargs sed -i 's/\.try(/.try_parse(/g'
  $ cd servo/components/style && cargo +nightly fmt

Differential Revision: https://phabricator.services.mozilla.com/D80099
2020-06-17 22:27:37 +00:00
Sebastian Hengst
3e467664b3 Bug 1645562 - correct parenthesis in cross-origin-opener-policy/access-reporting tests. DONTBUILD 2020-06-18 01:25:08 +02:00
Emily McDonough
4b9ef7886e Bug 1633737 - Fix asserts and array accesses for oversized grid tracks with repeat-auto r=emilio
Handle grid track lists that are too large in CalculateRepeatFillCount. Check
for repeat tracks that begin or end past the maximum track limit in
InitRepeatTracks, and handle the possible size mismatch in nsComputedDOMStyle.

This may result in there being fewer than the maximum number of tracks again
after removing empty tracks in a repeat(auto-fit), but only limiting the track
count after removing empty tracks would leave the number of repeat tracks
unbounded (or require a separate limit on just the repeat track count).

Differential Revision: https://phabricator.services.mozilla.com/D76191
2020-06-17 23:25:14 +00:00
Dale Harvey
06c7cbc976 Bug 1631898 - Handle Normandy installed system search extensions. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D74489
2020-06-17 23:07:39 +00:00
Mitchell Hentges
bfb8185ee4 Bug 1645445: Perform case-insensitive path-patching in Sentry r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D80113
2020-06-17 23:03:33 +00:00
Logan Smyth
c155b4c86d Bug 1646017 - Promise.any errors should not assume async stack data is available. r=jorendorff,anba
This test assumed that AggregateError stack traces would include frames from
across the asynchronous boundary, which is not guaranteed to be the case. This
test originally passed because Promise.any was only enabled on Nightly and
the Nightly release had the "javascript.options.asyncstack" pref enabled by
default, which guaranteed that async frames were guaranteed to be captured.

Now that bug 1601179 has landed, this is no longer the case because the realm
is required to be a debuggee before async frames will be included in the trace.

Differential Revision: https://phabricator.services.mozilla.com/D79936
2020-06-17 21:27:38 +00:00
alwu
81c718b3b3 Bug 1585231 - enable 'browser_delay_autoplay_media_pausedAfterPlay.js' when Fission is enabled. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D79769
2020-06-17 20:34:03 +00:00
Mitchell Hentges
afebc69970 Bug 1646099: Scrub hostname from sentry events r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D80112
2020-06-17 22:52:04 +00:00
Gijs Kruitbosch
272fe15123 Bug 1644863 - include CSS, HTML and localization (ftl, properties, dtd) files in the whitespace linter, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D79204
2020-06-17 22:46:42 +00:00
Gijs Kruitbosch
19220a3149 Bug 1644863 - fix trailing whitespace and windows line endings in locale files, r=fluent-reviewers,flod,Pike
Differential Revision: https://phabricator.services.mozilla.com/D79203
2020-06-17 22:46:22 +00:00
Gijs Kruitbosch
222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Gijs Kruitbosch
d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Gijs Kruitbosch
67234feea3 Bug 1257155 - make mach run create console output by default on windows so dump/printf works in the parent process, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80095
2020-06-17 22:39:37 +00:00
Hiroyuki Ikezoe
cde94b34ea Bug 1646263 - Introduce a lock in CompositorAnimationStorage. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79949
2020-06-17 22:39:50 +00:00
Hiroyuki Ikezoe
8c6ba30865 Bug 1646263 - Make internal-only methods of CompositorAnimationStorage private. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79948
2020-06-17 22:39:42 +00:00
Hiroyuki Ikezoe
282639cf63 Bug 1646263 - Move the non WebRender version of SampleAnimations into CompositorAnimationStorage. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79947
2020-06-17 22:39:40 +00:00
Hiroyuki Ikezoe
35f57c1650 Bug 1646263 - Add CompositorAnimationStorage::CollectWebRenderAnimations. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79946
2020-06-17 22:39:35 +00:00
Hiroyuki Ikezoe
2c54786097 Bug 1646263 - Move the WebRender version of AnimationHelper::SampleAnimations into CompositorAnimationStorage. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79945
2020-06-17 22:39:33 +00:00
Hiroyuki Ikezoe
4af8413479 Bug 1646263 - Separate CompositorAnimationStorage from AnimationHelper.[cpp,h]. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79944
2020-06-17 22:38:30 +00:00
Hiroyuki Ikezoe
2259081765 Bug 1646263 - Use a proper name for NS_NewRunnableFunction in APZSampler. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79943
2020-06-17 22:38:13 +00:00
Hiroyuki Ikezoe
ca5e547627 Bug 1646263 - Drop nsTArray.h from APZSampler.h. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79942
2020-06-17 22:38:00 +00:00
Kannan Vijayan
b307e7031d Bug 1645845 - Add ParserAtomsTable, parser atoms types, common parser names table, and base parser atoms implementation. r=mgaudet,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D79714
2020-06-17 22:31:35 +00:00
Emilio Cobos Álvarez
24a7deb2a4 Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
We're converting to nscoord in some places unnecessarily, reducing the
precision of the computed value we return.

This makes some tests unnecessarily fail if we change the base of
nscoord.

Differential Revision: https://phabricator.services.mozilla.com/D79996
2020-06-17 22:30:14 +00:00
Mike Hommey
f764089a91 Bug 1643258 - Avoid the use of the __cxa_thread_atexit_impl symbol. r=froydnj
When linking a weak symbol in an object against a library where the
symbol is provided with a version, the final binary gets a weak versioned
symbol reference.

It turns out weak versioned symbols still make the dynamic linker need
the symbol version, even if all symbols needed with that version are
weak.

Practically speaking, that means with bug 1634204, we now end up with
a weak versioned symbol reference to __cxa_thread_atexit_impl with
version GLIBC_2.18, and glibcs without the symbol can't fulfil that
version, even though the weak symbol is the only thing we need from that
version.

This means the check_binary changes in bug 1634204 are too
relaxed, so we revert them (although we keep the easier to read
conditions in check_dep_versions).

We also introduce a hack in stdc++compat.cpp (although it's not
technically entirely about libstdc++ compat) so that we avoid the weak
symbol reference while keeping the intended baseline for libstdc++ and
glibc.

Differential Revision: https://phabricator.services.mozilla.com/D79773
2020-06-17 03:16:08 +00:00
Mike Hommey
6dfdcc363a Bug 1643258 - Disable stdc++ compat on base-toolchain builds. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D79940
2020-06-17 22:28:59 +00:00