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

63674 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen d6d4bcb282 Merge m-c to autoland. a=merge 2017-06-05 09:14:21 -04:00
Ryan VanderMeulen 0a3b9074de Merge inbound to m-c. a=merge 2017-06-05 09:12:18 -04:00
Kris Maglione fb74d7df50 Bug 1356546: Follow-up: Fix rooting hazard warning.
MozReview-Commit-ID: JDDjiEbbErK

--HG--
extra : rebase_source : 48d6fe05597da32517035e6a524f3a143581e4f5
2017-06-05 00:13:15 -07:00
JW Wang 7348b1e4b3 Bug 1367679. P5 - add a gtest to test chaining between different promise types. r=gerald
MozReview-Commit-ID: 8l3clGN3pWd

--HG--
extra : rebase_source : 5c3a7d74649a44e9d86738942bfe58a34f63332f
extra : intermediate-source : 4811c6b4d7c4fb241c633e3c81cc8b032c69386e
extra : source : 620a6593190dbb97df105a5bb1ca5fa48d1c73be
2017-05-27 22:03:57 +08:00
Gabriele Svelto 43c10532d4 Bug 1353168 - Add a crash annotation to distinguish between web, file and extension content processes; r=bsmedberg
This adds the RemoteType annotation to a content crash report so that we can
distinguish between content processes that crashed while running remote, local
or extension code. The annotation is passed along the others to Socorro by the
crashreporter and is also whitelisted for inclusion in the crash ping.

MozReview-Commit-ID: 4avo0IWfMGf

--HG--
extra : rebase_source : 8d03f7e166b5762a5ce7cab13c2101302b4f1d2f
2017-06-01 11:16:11 +02:00
Sebastian Hengst 2d70c955cc merge mozilla-central to autoland. r=merge a=merge 2017-06-05 11:06:54 +02:00
Jean-Yves Avenard 5e8ee8b868 Bug 1345342: Cancel pending requests. r=jya
If the pending first frame decoding was cancelled, the next call to decode could lead to a crash.

MozReview-Commit-ID: 6Q4eKUzqOly

--HG--
extra : rebase_source : 3640a2edd07fdbd4811295c0088a4086ac579b26
2017-06-04 12:03:25 +02:00
JW Wang 26c7227c5e Bug 1370130 - dormant timeout should take precedence over preload='metadata'. r=kaku
We don't want to enter dormant when preload is 'metadata' if the timeout is negative (dormant is disabled).

MozReview-Commit-ID: 4KGAmtkZpH5

--HG--
extra : rebase_source : 86a6c9ca2091289a564abb695fa20d5e5d6678bf
2017-06-05 10:38:43 +08:00
Cameron McCormack 76df568747 Backed out changeset ff724e355b2d (bug 1345342) per jya's request. 2017-06-05 15:58:41 +08:00
Jean-Yves Avenard f5de325f6f Bug 1345342: Cancel pending requests. r=jya
If the pending first frame decoding was cancelled, the next call to decode could lead to a crash.

MozReview-Commit-ID: 6Q4eKUzqOly

--HG--
extra : rebase_source : 620efb39265944998c23c184e831a5b71f9b437f
2017-06-04 12:03:25 +02:00
JW Wang ea2f8c0d3a Bug 1370005. P1 - backout bug 1367679. r=gerald
MozReview-Commit-ID: 4SUCinaz3Cj

--HG--
extra : rebase_source : 2d6f7fec44a8fb4dd3a526ec6bd2cd5737c93727
2017-06-05 14:03:34 +08:00
Brian Birtles e1de2c2e24 Bug 1355349 - Call Servo's add and accumulate methods for SMIL animations; r=hiro
MozReview-Commit-ID: 1vREV73V0Wo

--HG--
extra : rebase_source : 34cd3ae04b19c3b1db01badc0016555ce5296c8c
2017-06-02 15:18:47 +09:00
Brian Birtles 4b967f386d Bug 1355349 - Reformat a ternary operator to match coding style; r=hiro
MozReview-Commit-ID: KUkqXMmzgR8

--HG--
extra : rebase_source : 45a40d595a5e2141144cd222b1236085d8143ef4
2017-06-02 15:16:48 +09:00
Brian Birtles 5273a18628 Bug 1355349 - Drop 'virtual' annotation from overridden methods in nsSMILCSSValueType.h; r=hiro
Our coding style says we should only use one of either 'virtual' or 'override'.
In the next patch I would like to add another override to this header so first
we should tidy up the existing declarations.

MozReview-Commit-ID: AFtMNvNCcNG

--HG--
extra : rebase_source : 60d0e4fc259ff05aa097a4cf2c10b75883b9deed
2017-06-02 15:14:52 +09:00
Brian Birtles 4e2036b283 Bug 1355349 - Treat properties that can't be animated by the Servo backend as unanimatable; r=hiro
If we attempt to call animation-related methods on the Servo backend (e.g.
Servo_ComputedValues_ExtractAnimationValue) and pass a property that is not
(yet) animatable by Servo, it will panic so we should avoid passing these
properties.

An alternative, is to make methods like
Servo_ComputedValues_ExtractAnimationValue fallible by having them first check
if the passed-in value is animatable and return null in that case. That too, is
probably worth doing (call sites like KeyframeEffectReadOnly::EnsureBaseStyle
that assume it is fallible could assert that the result is non-null since,
provided that property is animatable, the method should still be fallible) but
refusing to animate these properties from the start is cleaner so we just do
that for now.

MozReview-Commit-ID: ESYcbkTtfXG

--HG--
extra : rebase_source : 60e4469d0883c49b77118f9235f0f4b369f6cd3f
2017-06-02 15:14:43 +09:00
Brian Birtles 3325a83ce8 Bug 1355349 - Use Servo's zero values to fill in missing SMIL animation endpoints; r=hiro
MozReview-Commit-ID: 3WLDIlfnJcD

--HG--
extra : rebase_source : c4392aeaa07e030c147610ca7f96fbda363c030a
2017-06-05 10:28:17 +09:00
Sebastian Hengst 5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Florian Quèze 8429e47547 Bug 1369345 - Remove messageWakeupService, r=nalexander. 2017-06-02 22:54:46 +02:00
Boris Zbarsky 0396c9b2f2 Bug 1369367. DOM callbacks can now store a null object; teach codegen to handle that. r=qdot 2017-06-02 16:37:02 -04:00
Randell Jesup ae21d19935 Bug 1353030: document use of WrapRunnable(this) r=cpearce
MozReview-Commit-ID: Fb3KjsI9tE3
2017-06-02 16:36:34 -04:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Jim Chen c611475410 Bug 1369107 - 3. Don't use GeckoAppShell.getContext for plugin code; r=snorp
Use getApplicationContext or GeckoApp.getPluginContext instead of
getContext so we can get rid of ContextGetter.

MozReview-Commit-ID: B8tTPeZ5gvt
2017-06-02 16:13:41 -04:00
Jim Chen 378c61c98f Bug 1369108 - 1. Introduce optional device permission step; r=jesup
Right before `MediaManager::EnumerateRawDevices` posts its enumeration
task to the background thread, add the option to send out a
"getUserMedia:ask-device-permission" notification, whose purpose is to
give frontend UI a chance to ask for device permissions (e.g. permission
to enumerate cameras on Android).

The subject parameter of the notification is an `nsIRunnable` task,
which is passed back to `MediaManager`, after receiving permission,
through the `getUserMedia:got-device-permission` notification. The
notification listener then posts the task and enumeration proceeds as
before.

MozReview-Commit-ID: IhRXTdIplvN
2017-06-02 16:11:53 -04:00
Randell Jesup 16390d923a Bug 1367578: Don't use PR_LogPrint() for logging now that we use LazyLog r=drno
MozReview-Commit-ID: K1KVCtpEPTZ
2017-06-02 15:50:05 -04:00
Kyle Machulis 2902c3f037 Bug 1337058 - Remove FindPlugins IPC message; r=bsmedberg
MozReview-Commit-ID: GQVHEeQp1dx

--HG--
extra : rebase_source : d421a613434be2bcca1120cfffb92ed9f20ba9d4
2017-06-01 15:33:23 -07:00
Masayuki Nakano d3789d2d6b Bug 1369419 GetMessage() and PeekMessage() shouldn't be used directly as far as possible r=jimm
In TSF mode, application should retrieve messages with ITfMessagePump::GetMessage() or ITfMessagePump::PeekMessage() since TSF/TIP may handle the message before or after the host application handles it.

This patch rewrites the API users with WinUtils::(Get|Peek)Message() which use ITfMessagePump if it's available.

MozReview-Commit-ID: LwHIgp7SxLH

--HG--
extra : rebase_source : aa5750af9812f9b107c29546cbee6f9eede6ebfa
2017-06-02 12:02:35 +09:00
Sebastian Hengst b523ccd931 Backed out changeset 4fe99b113fff (bug 1369840) 2017-06-03 10:11:25 +02:00
Sebastian Hengst ee709cb070 Backed out changeset b7bcbc5c1b92 (bug 1369840) 2017-06-03 10:11:17 +02:00
Nils Ohlmeier [:drno] 9406837246 Bug 1367930: adjust ssrc's and encondings as simulcast answerer. r=bwc
MozReview-Commit-ID: EPdIWF5nn7u

--HG--
extra : rebase_source : 5301c7541f1f2d2eeac37f5b0545ad83e71d8e46
2017-05-27 00:04:55 -07:00
Jean-Yves Avenard 5b7e2de861 Bug 1367128: P3. Plumb in new eviction methods with MSE demuxer. r=gerald
MozReview-Commit-ID: HULNEfD3tRJ

--HG--
extra : rebase_source : ad96f8d40ff8efcbb86e1b1acb41f9d91dc3920d
2017-06-02 21:16:33 +02:00
James Willcox 5dee9f6c40 Bug 1367287 - Release video surface when decoder is shut down r=jolin
MozReview-Commit-ID: GgWYSzBx7ZF
2017-06-02 10:14:12 -05:00
Randell Jesup 712586b20b Bug 1369724: Fix setting size for fake H264 codec r=jya
From bug 1341285

MozReview-Commit-ID: E6g6phiQC5H
2017-06-02 09:59:36 -04:00
Carsten "Tomcat" Book c63e6d4789 Merge mozilla-central to mozilla-inbound 2017-06-02 14:32:35 +02:00
Ethan Lin ba7509a7c8 Bug 1358055 - Add reftest flags for background color layer to make try passed. r=kats 2017-06-02 18:21:07 +08:00
Andrea Marchesini 1cb008c2f2 Bug 1369314 - Get rid of nsScriptSecurityManager::GetAppCodebasePrincipal, r=bholley 2017-06-02 11:05:28 +02:00
Andrea Marchesini 884d9efc73 Bug 1369316 - Get rid of nsIPrincipal.unknownAppId, r=bholley 2017-06-02 11:05:28 +02:00
Andrea Marchesini 29a8affb92 Bug 1369354 - Avoid deadlock in IPCBlobInputStreamStorage::GetStream when IPCBlobInputStreamChild actor is used on the parent process, r=smaug 2017-06-02 11:05:27 +02:00
Andrea Marchesini 31b48170ed Bug 1368296 - Renaming WorkerProxyToMainThreadRunnable::RunBackOnWorkerThread to RunBackOnWorkerThreadForCleanup and improving the description for this method, r=asuth 2017-06-02 11:05:27 +02:00
Carsten "Tomcat" Book 72ff833516 Backed out changeset 12e990a89018 (bug 1369538) for causing new intermittent leak in browser_devices_get_user_media_in_frame.js 2017-06-02 10:37:59 +02:00
Jean-Yves Avenard 8acff71452 Bug 1369382: Don't make hard assertion that the queued sample is a keyframe. r=kaku
When seeking, we go to the first IDR prior the seek target. However, if the MP4 sample table is invalid the frame returned may not be an IDR.

It is an error for that frame to not be a keyframe, so we do want to have way to detect them through logging. Change assertion to a soft assertion for that purpose.

MozReview-Commit-ID: EMgwRo1mYMp

--HG--
extra : rebase_source : 363a7e148db166b2130a7862a49f03d419d3fe22
2017-06-01 16:07:27 +02:00
Jean-Yves Avenard a9142498ec Bug 1360006: Whitelist VP9 decoder to intel GPU only. r=mattwoodrow
We enable by default the VP9 hardware decoder on intel GPU.

MozReview-Commit-ID: FzMzbpZErjQ

--HG--
extra : rebase_source : f34c969f7dda1ef24224e982f31d5e43cfae7cc0
2017-06-01 22:17:56 +02:00
Wes Kocher 9782406dd8 Backed out 4 changesets (bug 1365419) for android mochitest failures in test_bug583533.html a=backout
Backed out changeset d82aa6aec2c1 (bug 1365419)
Backed out changeset 9aafdd1ca0bd (bug 1365419)
Backed out changeset 261eecf8497f (bug 1365419)
Backed out changeset 1d9b50fadc05 (bug 1365419)

MozReview-Commit-ID: HkhXf1Dkkbk
2017-06-01 18:39:21 -07:00
Wes Kocher 2b3f76f494 Merge inbound to central, a=merge
MozReview-Commit-ID: AWwXRG9NEWV
2017-06-01 17:26:55 -07:00
Ryan VanderMeulen d85c7f6cc3 Merge m-c to inbound. a=merge 2017-06-01 16:45:03 -04:00
Ryan VanderMeulen 187f1f3dfe Merge inbound to m-c. a=merge 2017-06-01 16:43:30 -04:00
Ryan VanderMeulen 30d19a2167 Backed out changeset 26e9faf36fc0 (bug 1368490) for bustage on a CLOSED TREE. 2017-06-01 13:19:30 -04:00
Jan Varga bcf0c87a3a Bug 1356824 - Don't clear mWaitingFactoryOp without holding a self reference in (Open|Delete)DatabaseOp::NoteDatabaseClosed(). r=btseng
Remove now useless self reference in OpenDatabaseOp::SendResults(). Add comments for how to call
FactoryOp::Run() safely and also add comments to all the call sites. This prevents a self destruction
while Run() (or a method that is called by Run()) is still being executed. Also fix
TransactionDatabaseOperationBase which also calls Run() directly in NoteContinueReceived().

--HG--
extra : rebase_source : dcc5f6e7e2974e8e0730687dd0dedac9d3e60060
2017-06-01 13:08:52 -04:00
Oriol ece0618ecc Bug 1369246 - Check if window pointer is null before attempting to call a method. r=baku 2017-06-01 06:45:00 -04:00