Commit Graph

545052 Commits

Author SHA1 Message Date
Nicholas Nethercote
c67ffb04c6 Bug 1352575 (part 5) - Remove PluginModuleParent::mIsStartingAsync. r=jimm.
This allows a bunch of other things to be removed too, including
PluginModuleParent::mSurrogateInstances,
PluginModuleChromeParent::sInstantiated, and NS_PLUGIN_INIT_PENDING.

The patch also removes the AsyncPluginInit crash annotation.

--HG--
extra : rebase_source : cadb1d215fd93051c9032ea0a1fb6f1d2fb80c6d
2017-04-18 16:56:43 +10:00
Nicholas Nethercote
86c372f589 Bug 1352575 (part 4) - Remove dom.ipc.plugins.asyncInit.enabled pref. r=jimm.
The feature is in the process of being removed.

--HG--
extra : rebase_source : 7540804ef15db7001dafc854fc35f7c1834d8815
2017-04-18 16:56:43 +10:00
Nicholas Nethercote
3dbe336b54 Bug 1352575 (part 3) - Remove PluginModuleChromeParent::mAsyncInitError. r=jimm.
It's unused.

--HG--
extra : rebase_source : a52c85e601f47b132e5e4fea1d682f7ee4210bfb
2017-04-18 16:56:43 +10:00
Nicholas Nethercote
04ae66367e Bug 1352575 (part 2) - Remove nsPluginTag::mSupportsAsyncInit. r=jimm.
It's not used in any useful way.

--HG--
extra : rebase_source : 195ae6ac95860d229cf07cb0c86351dee32bf9a1
2017-04-18 16:56:43 +10:00
Nicholas Nethercote
a68d1bbb86 Bug 1352575 (part 1) - Remove unused supportsAsyncInit arguments and fields. r=jimm.
The aAllowAsyncInit argument to PluginModuleParent's constructor is unused.
This patch removes it and various other things that are no longer needed once
it is gone.

--HG--
extra : rebase_source : a97f5b83a0f8564fd287a5e920fb24e01b45967e
2017-04-18 16:56:43 +10:00
Lee Salzman
068bbf5940 Bug 1376026 - fix DWriteEnabled usage. r=me 2017-07-06 00:03:58 -04:00
Lee Salzman
edc6db4195 Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel 2017-06-30 14:09:05 -04:00
Lee Salzman
e21d52047e Bug 1376026 - assume DWrite is available on Windows 7 even without the platform update. r=jrmuizel 2017-06-30 13:46:21 -04:00
Cameron McCormack
93c4d245a2 Bug 1353312 - Don't use conditions when caching a struct with no rules. r=dbaron
MozReview-Commit-ID: 2Q1xWcDY10T
2017-07-05 23:23:10 -04:00
Cervantes Yu
2d976788bd Bug 1375281 - Part 3: Get "MEMORY_HEAP_ALLOCATED" asynchronously in TelemetrySession.jsm. r=chutten
TelemetrySession.jsm gets "MEMORY_HEAP_ALLOCATED" by calling nsIMemoryReporter::GetHeapAllocatedAsync()
to get the attribute asynchronously using a callback.

MozReview-Commit-ID: 2PjOU68FanK

--HG--
extra : rebase_source : b113b7962547b8b7bb1209de57f07efb4e71b3ce
extra : amend_source : e1dd39bf52960123f3e63a5e51cf5eb50a5294f5
extra : histedit_source : a778eaebe244bf3c0df62dc9a1c0fa2c1d1a30cf
2017-07-06 11:19:48 +08:00
Cervantes Yu
3ae5186923 Bug 1375281 - Part 2: Implementation of nsMemoryReporterManager::GetHeapAllocatedAsync(). r=erahm,froydnj
Implement nsMemoryReporterManager::GetHeapAllocatedAsync() by dispatching
nsMemoryReporterManager::GetHeapAllocated() to a thread pool and dispatching
the result back to the main thread to run the callback with the requested
attribute.

MozReview-Commit-ID: 9jj1UYqu5KD

--HG--
extra : rebase_source : a3620c6313b3253c41adff8d67c77a347240891b
extra : amend_source : 1732a5e4390fadbc597b6a61dc7d51e892f8441e
extra : histedit_source : b892d2046a07fe00368e8f1976394dc1f4c2f496
2017-07-06 11:19:40 +08:00
Cervantes Yu
9b7ab955c8 Bug 1375281 - Part 1: Add getHeapAllocatedAsync() to nsIMemoryReporter.idl. r=erahm
nsIMemoryReporter::getHeapAllocatedAsync() is added to get attribute
'heapAllocated' asynchronously.

MozReview-Commit-ID: 96KyZpCeTG1

--HG--
extra : rebase_source : 5c27b26788a3a96821ce054911dda8ce2932007d
extra : amend_source : fcb923dac2dfa9d7aa5bf520d38c5bb11f0d60e9
extra : histedit_source : 83ae65c153f7cef6c6529296838a9d9aa367219e
2017-07-06 11:19:32 +08:00
sotaro
e171eb9a00 Bug 1376896 - Fix AnimatedValue leak at CompositorAnimationStorage during OMTA r=kats 2017-07-06 12:06:41 +09:00
Robert Strong
e399950e74 Bug 1378033 - Don't try to register timers during shutdown in nsUpdateTimerManager.js. r=mhowell 2017-07-05 19:03:48 -07:00
Wes Kocher
bfc45b98b9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9XdoB5MuVz6
2017-07-05 17:17:41 -07:00
David Anderson
7b27fc5e03 Use greyscale instead of subpixel AA for complex intermediate surfaces. (bug 1366618, r=milan)
--HG--
extra : rebase_source : 95cb64f3b7de631411bc16d109d4b3cade1eea33
2017-07-05 15:43:58 -07:00
Wes Kocher
2fff726ced Backed out changeset 8eb0c588a43e (bug 1378218) for frequent win debug xpcshell failures in test_sanitizer.js a=backout
MozReview-Commit-ID: EsfsviyLVbw

--HG--
extra : source : b7373e1df03eac30bca7b882a352a7282775059e
2017-07-05 15:08:13 -07:00
Wes Kocher
288405ee34 Merge inbound to m-c a=merge
MozReview-Commit-ID: LpxvieHR7VH
2017-07-05 17:10:43 -07:00
Wes Kocher
b2b6270f16 Merge autoland to central, a=merge
MozReview-Commit-ID: aTamJCbp5v
2017-07-05 16:45:19 -07:00
Jonathan Kew
a2ac9a50b5 Bug 1377534 - Optimize gfxFontconfigFontEntry::GetAspect by using OS/2 metrics directly if available. r=lsalzman 2017-07-05 20:18:51 +01:00
Nathan Froyd
9af0cd2f31 Bug 1377971 - followup - don't explicitly link to libm on Windows; r=bustage
On Windows, libm is just rolled into the CRT, so there's nothing special
we need to do here.

Landing this on a CLOSED TREE
2017-07-05 14:38:52 -04:00
Sebastian Hengst
2f135bc235 Backed out changeset 7fbe19a6f88e (bug 1365601) as requested by bobowen for c3 failures. r=backout 2017-07-05 20:24:26 +02:00
Sebastian Hengst
a02286b777 Backed out changeset 6035f7b2a12c (bug 1365601) 2017-07-05 20:23:26 +02:00
Nathan Froyd
c4db85fbe1 Bug 1378440 - part 2 - add mach cargo check; r=rillian
Cargo recently introduced the `cargo check` command for shortening the
edit-compile cycle when working on large programs.  Since we don't
really support invoking `cargo` directly, let's wire up this command to
`mach`.  Gecko developers can then `mach cargo check` to ensure their
changes typecheck.
2017-07-05 14:19:31 -04:00
Nathan Froyd
d73da35d6b Bug 1378440 - part 1 - make Cargo invocation macro more generic; r=rillian
All the machinery we set up for `cargo build` is equally useful for
other commands, such as `cargo check`.  Let's refactor things so that
it's easy to reuse said machinery for `cargo check`.
2017-07-05 14:19:31 -04:00
Wes Kocher
4632c0896b Backed out changeset 3e43abb01f45 (bug 1373223) at developer's request a=backout
MozReview-Commit-ID: CVfr2m11xw1
2017-07-05 11:19:21 -07:00
Ryan VanderMeulen
5e1e8d2f24 Backed out changeset 261d61f4eeec (bug 1356701) for causing bug 1378339. 2017-07-05 12:58:39 -04:00
ffxbld
fe457a38af No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-07-05 08:47:53 -07:00
ffxbld
04c83f2603 No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-07-05 08:47:50 -07:00
Jason Laster
691e57fbfc Bug 1376135 - Upgrade debugger frontend v0.7.0 (6/24). r=jdescottes 2017-07-05 08:38:00 -04:00
Nathan Froyd
2c6c66c145 Bug 1377971 - part 3 - honor LIB_IS_C_ONLY in more cases; r=glandium
We currently only honor LIB_IS_C_ONLY for cases where we set a
LIBRARY (and, implicitly, REAL_LIBRARY) and FORCE_SHARED_LIB.  For many
libraries, such as the libraries from NSS, we never set LIBRARY, which
leads to not setting REAL_LIBRARY, which leads to not honoring
LIB_IS_C_ONLY.  This practice has not been harmful thus far (except
perhaps linking in more things than necessary to our NSS shared
libraries), but on some platforms, linking with the C++ compiler will
drag in more things than we would like.

Consulting LIBRARY first should not be necessary; checking
FORCE_SHARED_LIB should be enough to tell us if we're building a shared
library for the purposes of honoring LIB_IS_C_ONLY.
2017-07-05 14:05:10 -04:00
Nathan Froyd
d2ffb5fefc Bug 1377971 - part 2 - link libavutil and libavcodec with libm; r=rillian
Both of these libraries call into libm for various reasons, but by
linking with the C++ compiler on most platforms, they never had to
declare their dependency on libm.  Future changes will make these
libraries link with the C compiler, which won't automatically link with
libm, so we need to make the dependency explicit prior to that change.
2017-07-05 14:05:10 -04:00
Nathan Froyd
2bed06130d Bug 1377971 - part 1 - make C++ linking for Linkable ignore shared libraries; r=glandium
We have a flag set on all Linkables, cxx_link, denoting whether there's
anything being linked into them that requires C++.  We do this even when
we link against shared libraries that required C++.  But if these
libraries don't export C++ interfaces, there's no reason that the things
linking against them should require C++.  Therefore, ignore shared
libraries when making the determination of whether an object requires
C++ or not.
2017-07-05 14:05:10 -04:00
Carsten "Tomcat" Book
b72c4833d5 merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
Bevis Tseng
ac00d80880 Bug 1378298 - Make TabChildGlobal override DispatcherTrait using TabChild::TabGroup(). r=billm 2017-07-05 16:23:23 +08:00
David Major
8f2fab9547 Bug 1378442 - Move Win64 profiler hooks to profiler_start. r=mstange 2017-07-05 18:45:31 -04:00
David Anderson
2c24b3d088 Ignore container layer batches that don't have an intermediate surface. (bug 1377936, r=mattwoodrow) 2017-07-05 15:39:46 -07:00
David Anderson
f914e078f9 Implement asynchronous OMTP behind a pref. (bug 1377060 part 2, r=mchang)
--HG--
extra : rebase_source : b9c49b6c0e80e2bc94a94dee2ddaae4ad985f9ec
2017-07-05 15:19:52 -07:00
David Anderson
6cf29dbc0e Refactor PaintThread for async painting. (bug 1377060 part 1, r=mchang)
--HG--
extra : rebase_source : 4a3601108175cc2f091800f123461187282ca31f
2017-07-05 15:19:47 -07:00
Jocelyn Liu
ffb43e0faf Bug 1367694 - Mochitest for resetting details.shippingOptions when there are duplicate option IDs. r=baku 2017-07-05 15:16:47 -07:00
Jocelyn Liu
809522fb3a Bug 1367694 - Set payment request's shippingOption and shippingType attributes when creating it. r=baku
Per spec, given details and options parameters of PaymentRequest constructor,
1) if details.shippingOptions exists and IDs of all shipping options are unique,
   request's shippingOption will be set to the last selected option's ID.
   Otherwise, set request's shippingOption to null.
2) if options.requestShipping is ture, set request's shippingType to
   options.shippingType. Otherwise, set request's shippingType to null.
2017-07-05 15:16:43 -07:00
Wes Kocher
e017248619 Backed out changeset 8eb0c588a43e (bug 1378218) for frequent win debug xpcshell failures in test_sanitizer.js a=backout
MozReview-Commit-ID: EsfsviyLVbw
2017-07-05 15:08:13 -07:00
Geoff Brown
f16762036f Bug 1378251 - Upload Windows TC build crash dumps as artifacts; r=ted
The MINIDUMP_SAVE_PATH had been set incorrectly in these jobs. Now it
is set to the taskcluster upload directory, so when a crash dump is
produced, the .dmp and .extra files are uploaded and made available
as artifacts.
2017-07-05 16:02:41 -06:00
Wes Kocher
1a83241dad Backed out 3 changesets (bug 1372433) for stylo assertions in ServoRestyleManager.cpp a=backout
Backed out changeset 3abe2b5f8b24 (bug 1372433)
Backed out changeset cbb550def80d (bug 1372433)
Backed out changeset 78b5ca196c54 (bug 1372433)

MozReview-Commit-ID: H6t8LpY3FHX
2017-07-04 22:32:54 -07:00
Joanmarie Diggs
6b905b817a Bug 1358462 - Elements with role="region" and no accessible name should be mapped according to host language. r=MarcoZ
Perform a sanity check in Accessible::ARIATransformRole() for the
internal REGION role: If there is no accessible name, transform
the ARIA role into the native host language role. Also perform
a sanity check when getting the AXSubrole in macOS: If the roleAtom
is nsGkAtoms::region, only return AXLandmarkRegion if the internal
role is REGION.
2017-07-04 18:24:00 -04:00
Honza Bambas
6c67bff8a5 Bug 1368110 - Create child redirect target (new) channel using parent target channel's original URI. r=jduell, r=bz 2017-07-05 11:24:00 -04:00
Ryan Hunt
25c8269307 Bug 1377814 - Don't schedule an empty transaction on an APZ focus sequence number update. r=botond
MozReview-Commit-ID: 3SERspy0w9s

--HG--
extra : rebase_source : c0f4e1e0c4f3db2aa827cd1dd0692461bf02d060
extra : amend_source : 46c66f36ce0865ba5d3a6c1b9f4a9764595db447
2017-07-05 16:20:40 -05:00
Mats Palmgren
bc8aad6edb Bug 1377490 - Make nsWindow 'final' to possibly devirtualize some calls. r=jimm
MozReview-Commit-ID: 6woRy5Wkogy
2017-07-05 23:14:48 +02:00
Mats Palmgren
489c03b415 Bug 1378481 - Assign 'roundingError' in the default branch too, to avoid a maybe-uninitialized compiler warning. r=dholbert
MozReview-Commit-ID: CQk1PBaflct
2017-07-05 23:07:11 +02:00
Mats Palmgren
a31659e209 Bug 1377910 - Don't bother calling DisassociateRequestFromFrame if the frame doesn't have the HasImageRequest bit since it's a no-op in that case. r=dholbert
MozReview-Commit-ID: 4LlIFN7tARr
2017-07-05 23:07:11 +02:00