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

55615 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 653c89f1cb Bug 1263665 - Expose reason for libavcodec linking failure - r=jya
FFmpegLibWrapper returns a precise success/failure code.
FFmpegRuntimeLinker uses that to record the most interesting issue and
associated library name (if any).

MozReview-Commit-ID: J7asDfngw5e

--HG--
extra : rebase_source : 206c5bccc1ca2e2284dd836aef4b4781447459b2
2016-09-22 01:59:59 -07:00
Gerald Squelart 206f9a0404 Bug 1263665 - Block libav < 54.35.1 - r=jya
MozReview-Commit-ID: HgTXlDnj2Gw

--HG--
extra : rebase_source : c579cdc2bc0d0cde58da0dd621e8c09f74bc59eb
2016-09-21 00:04:12 -07:00
Andreas Farre 7d049815d5 Bug 1309916 - Add missing namespace qualifier for BlobImpl. r=baku
MozReview-Commit-ID: 1RolRKrrZbc
2016-10-13 09:01:00 +02:00
J.C. Jones 0f6b60fc2f Bug 1297552 - Reorder parts of U2F.cpp r=keeler
MozReview-Commit-ID: L1juEjU6AMJ

--HG--
extra : transplant_source : %7FpE%29%9C%A2%B5%40%8716%16%1C%B7%B56%F5%19VJ
2016-10-06 14:35:57 -07:00
J.C. Jones 4b548ed05e Bug 1297552 - Use MozPromise to run U2F operations in parallel. r=keeler
This patch sets up the U2F system to support multiple nsIU2FToken
"authenticators" simultaneously, such as having both a USB and a Bluetooth Smart
implementation enabled at the same time. It also paves the way to support
timeout interruptions (for Bug 1301793).

- Executes operations across a list of authenticators.
- Uses runnables, via MozPromise and SharedThreadPool.
- Remove nsNSSShutDownPreventionLock from U2F*Task and move to U2F*Runnable
- Review updates
- Some of the review updates from earlier changeset are ... painful to merge
  back before this one, so I'm just tacking them on here.

It's still missing some things, though:
- It's not actually executing the operations in parallel yet, as invoking
  methods on NSSU2FTokenRemote from a worker thread throws exceptions while
  obtaining ContentChild::GetSingleton().

MozReview-Commit-ID: EUdZQesASo2
***
Bug 1297552 - Updates per review r?keeler


MozReview-Commit-ID: EHIWM74tfYG

--HG--
extra : transplant_source : %F9%9E%9E%5B7%19R0%7D%C1%B1%FB%BD%97%26%B2%A3%9CTg
2016-10-12 20:56:56 -07:00
J.C. Jones 4f92cc6d96 Bug 1297552 - Only permit U2F operations in e10s mode r=keeler
- Breaks compatibility with non-e10s windows, as the underlying USB
  implementation from Bug 1298838 won't support non-e10s either.
- Now that U2F doesn't support non-e10s, disable tests if we're not in
  e10s mode.

MozReview-Commit-ID: 5F2323xtXEC

--HG--
extra : transplant_source : v%1Fl%C0%2AJ%26k4%89/%95v%89%12%87%94Y%3Cs
2016-10-07 17:28:52 -07:00
J.C. Jones ec6a7a9491 Bug 1297552 - Perform U2F hash operations more efficiently r=keeler
Moves hash calculations to happen only once per JS-invoked Register/Sign
operation.

MozReview-Commit-ID: FuA95qCl1rG

--HG--
extra : transplant_source : %81%A48%8D%FF%82%89M%A7%C4%11%07%B6%94M%C2U%1FY%E8
2016-10-06 13:07:17 -07:00
Eric Rahm b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm 441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Boris Zbarsky e158454b4e Bug 1309970. Add a way to return frozen arrays to chrome callers with a .contains defined on them, returning the same value as .includes. r=qdot 2016-10-13 22:14:26 -04:00
Michael Layzell d85d6ed949 Bug 1309645 - Stop providing image/jpeg files as a string to websites, r=enndeakin
MozReview-Commit-ID: 1NsWeMk5V5s
2016-10-13 16:58:19 -04:00
Ehsan Akhgari 13850f4183 Bug 1309628 - Hide support for dispatching selection events on the contents of text controls behind a pref; r=mystor
This patch adds a pref to control whether we dispatch the selection
events for changes in the contents of input and textarea text controls.
The spec for this feature hasn't been written yet, and we need to exclude
this part of the selection API from the part we want to ship.
2016-10-13 16:52:07 -04:00
Ehsan Akhgari 430e61c30f Bug 1248148 - Disable firing selection events during HTML editor initialization; r=mystor
This is similar to what we do for the plaintext editor initialization.
2016-10-13 13:46:40 -04:00
Ehsan Akhgari 75d4b96af8 Bug 1306800 - Remove support for app theming; r=myk,baku 2016-10-13 13:23:03 -04:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Boris Zbarsky c2b1b76799 Bug 1309326. Fix the HTML serializer's handling of self-closing tags inside <pre> to correctly keep track of our mPreLevel. r=ehsan
The test change makes sure the test actually tests this codepath. The resulting
test expectation changes are all due to the test now recognizing <pre> as preformatted.
2016-10-13 12:44:20 -04:00
Boris Zbarsky 17ccfd1011 Bug 1306472. Back out bug 1268047, because the spec it tried to implement backs the web. r=smaug 2016-10-13 12:10:23 -04:00
Stone Shih e64b507923 Bug 1304290 - Part 1: Add a helper function to run test in a new window. r=smaug
MozReview-Commit-ID: 4nLTUSbkYlH

--HG--
extra : rebase_source : 7e3de68f808a8c248feae0b85f44eac191809b92
extra : histedit_source : 82dc7190b9436f2ac6c730176dff0aac7cd35070
2016-09-21 14:46:44 +08:00
Andrea Marchesini e865eab7d6 Bug 1308956 - Get rid of MessagePortList - part 2 - files removed, r=smaug 2016-10-13 15:19:52 +02:00
Andrea Marchesini b88af2e644 Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug 2016-10-13 15:19:24 +02:00
Sotaro Ikeda 39fa68003d Bug 1309802 - Supress warning r=jya 2016-10-13 06:10:31 -07:00
Andrea Marchesini 793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Andrea Marchesini 913b042e06 Bug 1309832 - Remove warning message in nsHostObjectProtocolHandler.cpp, r=smaug 2016-10-13 13:43:21 +02:00
Gijs Kruitbosch bece3c3421 Bug 1308090, r=jrmuizel
MozReview-Commit-ID: A0wlb1qtk9r

--HG--
extra : rebase_source : c3bc7fc3fffc7f3d321aea9c0f7c582f55d3bfc7
2016-10-06 15:59:15 +01:00
Carsten "Tomcat" Book 85979d0405 Merge mozilla-central to mozilla-inbound 2016-10-13 11:58:40 +02:00
Carsten "Tomcat" Book 802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
Jean-Yves Avenard 393d5d4fe1 Bug 1305876: P3. Make function members const. r=gerald
MozReview-Commit-ID: 6R9Y9ofjKp8
2016-10-13 18:59:17 +11:00
Jean-Yves Avenard eb41ff60cb Bug 1305876: P2. Do not modify internal data when calculating buffered ranges. r=gerald
MozReview-Commit-ID: 29WJozhIrEP
2016-10-13 18:59:17 +11:00
Jean-Yves Avenard b835f66b3a Bug 1305876: P1. Add diagnostic assert to more easily identify issue. r=gerald
MozReview-Commit-ID: BJhHLHRhnQw
2016-10-13 18:59:17 +11:00
Hiroyuki Ikezoe ff84f76fce Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

Note about no-stacking-context-(opacity|transform)-removing-animation-in-delay.html
Before this patch we don't create any stacking context for animations overridden
by !important rules, but after this patch we do create a stacking context for
such animations.  As a result, in the test case we did paint a stacking context
in the first rAF callback and then in the second rAF callback we did clear the
painted stacking context. Unfortunately sometimes the second rAF callback was
called prior to clear the stacking context on the compositor because of
compositor delay. To avoid this situation, we have to wait for MozAfterPaint
instead of rAF callback.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-13 16:54:25 +09:00
Steven Englehardt f4e92ab657 Bug 1277803 - Part 5 : A test to verify the loadingPrincipal of favicon loads. r=ckerschb 2016-10-13 15:44:00 +08:00
Tim Huang b05fe5b871 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-13 15:43:56 +08:00
Tim Huang 372ec56ff4 Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-10-13 15:43:54 +08:00
Cameron McCormack c1f0ee12ba Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT

--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack 58c32a9088 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn

--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08:00
Ehsan Akhgari 960c84d107 Bug 980586 follow-up: Remove PContentDialog.ipdl
This is a remnant of the patch originally landed.  The file is unused.
2016-10-12 20:59:03 -04:00
JW Wang d30c88bef8 Bug 1309111 - Some macros are not expanded correctly by MSVC. r=gerald
MozReview-Commit-ID: BGJXOgslSt8

--HG--
extra : rebase_source : a62efe2e0653f009a7010e5c95dcbb09bed2213b
extra : source : f8a392e8034e1ca216aaf7084f860b0a03e021eb
2016-10-11 13:28:56 +08:00
JW Wang dd4edf6409 Bug 1307725. Part 8 - move DonePrerolling{Audio,Video} into DecodingState. r=kikuo
MozReview-Commit-ID: I173Qo7hH9X

--HG--
extra : rebase_source : 5d23e1c4599953644098b852cc6e413b554cc9ee
extra : source : c6f967679de1d4c6595de0bd8f27add588af5a6d
2016-10-05 17:40:01 +08:00
JW Wang 2484a7a911 Bug 1307725. Part 7 - move mIsPrerolling into DecodingState. r=kikuo
MozReview-Commit-ID: kHNnGepY53

--HG--
extra : rebase_source : 9f826ff50bfa6c8f282e18bd90d658dac64082c5
extra : source : ae8c423b9095e9ff71b9854bb865451f54e9c949
2016-10-05 17:30:38 +08:00
JW Wang 315755870d Bug 1307725. Part 6 - move mIsPrerolling out of MDSM::DumpDebugInfo(). r=kikuo
MozReview-Commit-ID: 3BkJIRcW5oV

--HG--
extra : rebase_source : 88a3ad0826af41564543811de1e0adfd072c2d69
extra : source : ba8d9d4ef2058de81aaeb9e6ce661d50cd90af43
2016-10-05 17:28:13 +08:00
JW Wang 8d17e94aef Bug 1307725. Part 5 - move the check of mIsPrerolling out of MaybeStartPlayback(). r=kikuo
Note CompletedState doesn't need to check this flag because prerolling should be done when entering the COMPLETED state.

MozReview-Commit-ID: 4Z7mFYf7wdR

--HG--
extra : rebase_source : fba2f8dfb7544225531e8b816154205d42cf9784
extra : source : 3335ed64b39859a2211017a5794ff46da2ce605c
2016-10-05 17:21:47 +08:00
JW Wang 6281d1257d Bug 1307725. Part 4 - move MaybeStopPrerolling() into DecodingState. r=kikuo
MozReview-Commit-ID: JiedugPhOMU

--HG--
extra : rebase_source : ec9f7e8c9d1291c64a2353ce9e00bf0cb5758c59
extra : source : 3e4313fc7b0f31f84faa64008103e9cc3b378f13
2016-10-05 17:15:27 +08:00
JW Wang e32e3565ca Bug 1307725. Part 3 - add StateObject::HandleWaitingForData to handle NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA. r=kikuo
MozReview-Commit-ID: 9SO9cwVMQK7

--HG--
extra : rebase_source : 098fe3aa4caa0b6f8f5a678a5cb220c8adfe3bbc
extra : source : 9677486f5f15509c721f2b496e1a7f6cc7b9a0bf
2016-10-05 17:11:41 +08:00
JW Wang 7b87fa2df9 Bug 1307725. Part 2 - handle prerolling in DecodingState::HandleEndOfStream() and move it to the public section. r=kikuo
MozReview-Commit-ID: DMlLV8KLXvQ

--HG--
extra : rebase_source : ece3213b5c2c1179bb1ec7bacb6fc7989a5702bb
extra : source : 871ad4af55ba397aa71508e404753c4057924f93
2016-10-05 17:07:55 +08:00
JW Wang 19ec826989 Bug 1307725. Part 1 - add StateObject::HandleAudioCaptured() to handle audio capture. r=kikuo
MozReview-Commit-ID: JoBQSte4MML

--HG--
extra : rebase_source : 93797079202f53f3bf6ade898ec0177e274e09d2
extra : source : a9a8e198d82df3c1d95d8e5ba67a4096028c77a7
2016-10-05 17:03:08 +08:00
JW Wang b387fd9352 Bug 1308603 - add some assertions to debug crash. r=kaku
MozReview-Commit-ID: DpWRbgwIzla

--HG--
extra : rebase_source : 07e54af87c5d9f13cdf05dad8d3e112bc2dc08cc
extra : source : 7761cbb3e9aae1756bc4cbc2acc6452c7e3d40a2
2016-10-11 11:11:42 +08:00
Jan-Ivar Bruaroey cfc1a09d64 Bug 1308605 - Fail with OverconstrainedError on bad constraint. r=jesup
MozReview-Commit-ID: JJ1Y3G5b1wl

--HG--
extra : rebase_source : 0ac85ff7c2438aef4ea9e6230fb3816148993fb6
2016-10-12 17:31:20 -04:00
Wes Kocher 2337995bb0 Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
Wes Kocher 2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Wes Kocher 3770ad1b24 Merge inbound to m-c a=merge 2016-10-12 14:23:33 -07:00