550353 Commits

Author SHA1 Message Date
Jan de Mooij
6e3b2db2d5 Bug 1386572 - Use cx->tempLifoAlloc instead of a custom LifoAlloc for Baseline compilation. r=bhackett 2017-08-04 11:50:09 +02:00
Jon Coppeard
e4c3df27b3 Bug 1366217 - Discard GC stats if timing inconsistencies are found r=sfink 2017-08-04 10:11:12 +01:00
Stephen Horlander
0e4a2a4a52 Bug 1387254 - Update Firefox Nightly Branding. r=dao
MozReview-Commit-ID: 6S1Xp8nLc9e
2017-08-04 10:53:42 +02:00
Christoph Kerschbaumer
a229e88d11 Bug 1337271 - Convert tests within parser/ to comply with new data: URI inheritance model. r=hsivonen 2017-08-04 09:59:26 +02:00
Ehsan Akhgari
4c8d604bfc Bug 1386485 - Part 5: Avoid manipulating the refcount of all visited nodes in CreateBogusNodeIfNeeded(); r=masayuki 2017-08-04 03:47:14 -04:00
Ehsan Akhgari
4018b56c7c Bug 1386485 - Part 4: Devirtualize and inline EditorBase::IsEditable(); r=masayuki 2017-08-04 03:47:14 -04:00
Ehsan Akhgari
c6b7fe866d Bug 1386485 - Part 3: Devirtualize EditorBase::AsTextEditor()/AsHTMLEditor(); r=masayuki 2017-08-04 03:47:14 -04:00
Ehsan Akhgari
b638df20b4 Bug 1386485 - Part 2: Hoist the body editablity check out of the loop; r=masayuki 2017-08-04 03:47:13 -04:00
Ehsan Akhgari
01af645785 Bug 1386485 - Part 1: Inline EditorBase::IsMozEditorBogusNode(); r=masayuki 2017-08-04 03:47:13 -04:00
Sebastian Hengst
8b02870c1f Backed out changeset fce216e62ff7 (bug 1379525) for failing xpcshell's services/fxaccounts/tests/xpcshell/test_accounts.js. r=backout on a CLOSED TREE 2017-08-04 09:36:14 +02:00
Sebastian Hengst
c9e3da9edf Backed out changeset a4e1205b2d4b (bug 1377283) for linting failure at onboarding.js:984 and failing browser-chrome's browser_onboarding_accessibility.js. r=backout on a CLOSED TREE 2017-08-04 09:32:00 +02:00
Sebastian Hengst
4c40354290 Backed out changeset d0c848b96019 (bug 1377298) 2017-08-04 09:31:09 +02:00
Sebastian Hengst
a27bb5029a Backed out changeset 3eaec2fe0d89 (bug 1377276) 2017-08-04 09:31:04 +02:00
Sebastian Hengst
63c58eea46 Backed out changeset e6ac32ef78d3 (bug 1387057) 2017-08-04 09:30:59 +02:00
Sebastian Hengst
a83f3f3c84 Backed out changeset f21fd8353ea9 (bug 1379525) 2017-08-04 09:25:13 +02:00
Sebastian Hengst
d55e18d804 Backed out changeset b954874c5ced (bug 1379344) for failing reftests 1111753-1.html, 1119117-1b.html and clipped-opacity-containing-unclipped-mixblendmode-ref.html. r=backout on a CLOSED TREE 2017-08-04 09:24:42 +02:00
sotaro
a773ee4276 Bug 1354411 - Rebuild CompositorSessions if WebRender is disabled r=kats
When WebRender creation is failed, WebRender is disabled in gecko. There is a case that WebRenderBridgeParents exist when WebRender is disabled. To handle this, gecko needs to rebuild all CompositorSessions.

There is also a problem related to gfxVars::UseWebRender on compositor thread. If e10s is enabled, but no-gpu process(default on linux and mac), gfxVars::UseWebRender change is soon notified by compositor thread tasks. If WebRender creation failure happens at 2nd WebRender creation, several WebRenderBridgeParents for 1st WebRender could exist. IPC messages from WebRenderLayerManager are normally async, then there is a chance that the WebRenderBridgeParents receive the messages after the gfxVars::UseWebRender change. Further the gfxVars::UseWebRender change in content process could be delayed than WebRenderBridgeParents, then content process does not have a way to stop sending PWebRenderBridge IPC until the change of gfxVars::UseWebRender is received. WebRenderBridgeParent related tasks handle the message, but some tasks are done based on gfxVars::UseWebRender. At this time, gfxVars::UseWebRender returned false on compositor thread, then it cause unexpected result for WebRenderBridgeParent and WebRender. To addres this inconsistent situation, WebRenderBridgeParent related tasks on compositor thread stop to use gfxVars::UseWebRender.
2017-08-04 14:36:41 +09:00
cku
0e18c8bb3c Bug 1386986 - Move nsDisplaySVGEffect::mEffectsBounds to nsDisplayFilter. r=mstange
Put mEffectsBounds in nsDisplyaSVGEffect does not really make sense, since only
nsDisplayFilter need it.

MozReview-Commit-ID: KSvDspZJcMP

--HG--
extra : rebase_source : 9d2f994b40e82e7146358932fbebbc60a4ca01c6
extra : source : cfd8d564c0198239eb029e4984d75a692bd9f9ca
2017-08-03 16:50:06 +08:00
Yura Zenevich
62dc5614eb Bug 1387057 - improved accessibliity of onboarding notification bar. r=mossop
MozReview-Commit-ID: Hx60C142g3u
2017-08-04 01:05:57 -04:00
Yura Zenevich
b2ed131cbd Bug 1377276 - add modal dialog semantics and better accessibility for onboarding overlay dialog. r=mossop, gasolin, rexboy
MozReview-Commit-ID: 9xyhn7jLJqD
2017-08-04 01:05:56 -04:00
Yura Zenevich
fa4926ee67 Bug 1377298 - improve semantics and keyboard accessibility of tour tabs UI in onboarding overlay. r=mossop, gasolin
MozReview-Commit-ID: Iay3mL6RJKF
2017-08-04 01:05:56 -04:00
Yura Zenevich
630e84a80d Bug 1377283 - making Close onboarding dialog button accessible. r=gasolin, mossop
MozReview-Commit-ID: 47rUBS3PoNY
2017-08-04 01:05:56 -04:00
Mark Hammond
4f08809c1f Bug 1387303 - fix test_places_guid_downgrade.js to work correctly in the new async-sync world. r=eoger
MozReview-Commit-ID: 4bmu45qUmFA
2017-08-04 15:00:51 +10:00
David Anderson
b56bbf2305 Change the subdoc invalidation callback to handle overflow. (bug 1345891 part 5, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
aae46b02d1 Handle 3d context bounds overflow in LayerTreeInvalidation. (bug 1345891 part 4, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
2cc63ceef3 Handle invalidation bounds overflow in ContainerLayerMLGPU. (bug 1345891 part 3, r=mattwoodrow) 2017-08-03 21:22:49 -07:00
David Anderson
bb8c6e5f61 Handle bounds overflow in consumers of LayerTreeInvalidation. (bug 1345891 part 2, r=mattwoodrow) 2017-08-03 21:22:48 -07:00
David Anderson
e74ca7f347 Refactor LayerTreeInvalidation::ComputeChangeInternal's signature to handle overflow. (bug 1345891 part 1, r=mattwoodrow) 2017-08-03 21:22:48 -07:00
Tooru Fujisawa
3dad1ac788 Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration. r=shu 2017-08-04 13:04:31 +09:00
Tooru Fujisawa
e7dc33e772 Bug 1379525 - Part 1: Await on the value before yielding or returning inside async generator. r=shu 2017-08-04 13:04:31 +09:00
Mason Chang
7dc5a03ec2 Bug 1386073 Don't set RotatedBuffer's returned DrawTarget transform with omtp. r=dvander 2017-08-03 20:51:30 -07:00
Nicholas Nethercote
4f49ba4241 Bug 1386962 - Remove template code from XPIDL generated header files. r=froydnj.
XPIDL generated header files contain a |#if 0| block for every interface,
providing the skeleton of the class as it must be implemented in C++. This is
potentially useful, but also very verbose.

This patch removes this code. In a Linux64 debug build, this reduces the total
size of the $OBJDIR/dist/include/nsI*.h files from 11,023,499 bytes to
8,442,350 bytes, a 23.5% reduction. It didn't speed up compilation, though.

--HG--
extra : rebase_source : 65e1e46cffe7c831d83c3308d7ce58c801618dda
2017-08-03 17:05:01 +10:00
Ting-Yu Chou
fe98b4e219 Bug 1385181 - Avoid excess copying when return from HashTable::lookupForAdd(). r=luke
MozReview-Commit-ID: F95DCc1wvkE

--HG--
extra : rebase_source : 42edaf41d53e9c7646206cc6ea9c9ce976846eb1
2017-08-01 17:00:39 +08:00
Ehsan Akhgari
22c17c93c9 Bug 1386472 - Only register the AccessibleCaretEventHub when the accessible caret is enabled; r=bzbarsky 2017-08-03 23:06:15 -04:00
Ehsan Akhgari
ce1eea874c Bug 1385182 - Try to avoid dynamic allocations for most arrays created inside nsDisplayList::Sort(); r=mstange 2017-08-03 23:05:26 -04:00
Ehsan Akhgari
8673ee6cd6 Bug 1379344 - Avoid traversing the display list twice inside nsDisplayList::UpdateBounds(); r=mstange 2017-08-03 23:04:48 -04:00
Ehsan Akhgari
fd868a0072 Bug 1387158 - Silence the -Wcomma compiler warnings in Types.h macros iterating over Corners and Sides; r=dholbert 2017-08-03 23:04:47 -04:00
Yoshi Huang
c39a8b9f4f Bug 1340974 - To make data-url.html pass. r=smaug
The original test in [1] will throw Syntax error, due to we strip whitespace in
[2]. The test 'else postMessage(..)' will become 'elsepostMessage(...)'
and cause ReferenceError: elsepostMessage is not defined. So I added {}
to fix the error.

Also in the last test [3], it will trigger error handler in the testing
framework, and the TestHarness will fail if there's an error thrown. So I
added 'setup({allow_uncaught_exception:true});' to fix this.

[1]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/testing/web-platform/tests/workers/data-url.html#53
[2]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/netwerk/protocol/data/nsDataHandler.cpp#92
[3]: http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/testing/web-platform/tests/workers/data-url.html#56
2017-08-04 10:58:01 +08:00
Wes Kocher
e371c2bbf3 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: AHCROxMdKPB
2017-08-03 18:13:23 -07:00
Wes Kocher
2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Wes Kocher
2ac35c1849 Merge autoland to central, a=merge
MozReview-Commit-ID: 3z14qa3d9bt
2017-08-03 17:01:15 -07:00
Mike Hommey
a38177ad5a Bug 1386920 - Use a versioned dependency on GCC to build clang. r=gps
The lesson learned from bug 1356926 and bug 1386588 is that the version
of gcc used to build clang matters, and that we can't bind the version
we use to build clang to the version we use to build Firefox.
2017-08-04 06:07:43 +09:00
Mike Hommey
0dd063a9dd Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey
03806583f5 Bug 1356926 - Enable stylo on static analysis builds. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey
bfb16d4b7f Bug 1356926 - Use the same clang as normal builds for static analysis. r=gps
In practice, this upgrades from clang 3.8 to 3.9.
2017-08-04 06:07:42 +09:00
Mike Hommey
118fd76cf0 Bug 1356926 - Make all stdc++compat symbols weak. r=froydnj
In some cases, we can end up linking some things with
--static-libstdc++. The notable (only?) example of that is for the
clang-plugin, and that happens because it gets some of its flags from
llvm-config, which contains --static-libstdc++ because clang itself is
built that way.

When that happens, the combination of --static-libstdc++ and
stdc++compat breaks the build because they have conflicting symbols,
which is very much by design.

There are two ways out of this:
- avoiding either -static-libstdc++ or stdc++compat
- work around the symbol conflicts

The former is not totally reliable ; we'd have to accurately determine
if we're in a potentially conflicting case, and remove one of the two in
that case, and while we can do that for the cases we explicitly know
about, that's not future-proof, and might fail just as much in the
future.

So we go with the latter. The way we do this is by defining all the
std++compat symbols weak, such that at link time, they're overridden by
any symbol with the same name. When building with -static-libstdc++,
libstdc++.a provides those symbols so the linker eliminates the weak
ones. When not building with -static-libstdc++, the linker keeps the
symbols from stdc++compat. That last assertion is validated by the
long-standing CHECK_STDCXX test that we run when linking shared
libraries and programs.

That still leaves the symbols weak in the final shared
libraries/programs, which is a change from the current setup, but
shouldn't cause problems because when using versions of libstdc++.so
that do provide those symbols, it's fine to use the libstdc++.so version
anyways.
2017-08-04 06:07:42 +09:00
Ehsan Akhgari
cf4e6a817c Bug 1386411 - Part 7: Inline EditorBase::GetSelection(); r=masayuki 2017-08-03 17:06:31 -04:00
Ehsan Akhgari
dd8fbce0c9 Bug 1386411 - Part 6: Add a more efficient nsISelectionController::GetSelection() API for retrieving native Selection objects; r=bzbarsky
This API avoids needless refcounting and QueryInterface overhead.
2017-08-03 17:05:24 -04:00
Ehsan Akhgari
ad87011a1d Bug 1386411 - Part 5: Make BaseEditor::GetSelectionController() return nsISelectionController*, and inline it; r=masayuki
This method can be extremely hot, so we need to remove all sources of XPCOM
overhead from it.  This includes the usages of weak pointers (thanks to the
previous parts), refcounting, and QueryInterface.

I kept the callers hold the selection controller alive by assigning the
return value to an nsCOMPtr in places where the methods called on it could
have a remote chance of messing with the lifetime of objects.
2017-08-03 17:05:22 -04:00
Ehsan Akhgari
697fb3f83d Bug 1386411 - Part 4: Don't store the document as a weak reference on EditorBase; r=masayuki
This one also doesn't need to be a weak reference, and can be a strong
reference that the cycle collector knows about instead.
2017-08-03 17:05:21 -04:00