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

55714 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce ef74aeb8a8 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI

--HG--
extra : source : f61138f1030e87026eb432e83d36e46c81e55b33
2016-10-06 23:17:44 +13:00
Chris Pearce a52e1adba5 Bug 1308076 - Validate keyids json format. r=smaug
Use a WebIDL dict to define the "keyids" EME init data format, and
then use that to parse and validate incomint "keyids" EME init data
and ensure it's in the expected JSON format, i.e.:

https://w3c.github.io/encrypted-media/format-registry/initdata/keyids.html

This means we now pass the "generateRequest() with too short key ID."
case of encrypted-media-generate-request-disallowed-input.html
(upstream that is, our local copy of that WPT is out of sync).


MozReview-Commit-ID: 6W7j2a9Bg7E

--HG--
extra : source : fed2a26df89a5c2a600a6e6d1ab63ab86706fc45
2016-10-06 17:57:08 +13:00
Chris Pearce 1678efebbf Bug 1308076 - Basic validation of EME initData. r=jwwang
Implement more of MediaKeySession.generateRequest() to validate initData before
passing to CDM.

Also throw TypeErrors when initData is not valid, as per the spec.

Only trivial validation happens here, I'll add more comprehensive validation in
subsequent patches.

MozReview-Commit-ID: 3jTOsJNvRDo

--HG--
extra : source : d023aec75d1ef1486116510efcc31e2b587e6e50
2016-10-06 17:54:36 +13:00
Boris Zbarsky 4d59f9aa76 Bug 1309239. Fix the codegen for a cached DOM getter to not worry about Xrays if the interface doesn't want Xrays (i.e. is not mainthread-exposed). r=baku 2016-10-11 10:32:37 -04:00
Stone Shih 1063903850 Bug 1304315 - [Pointer Event] Make all pointer events's default width/height to 1. f=bevistseng. r=smaug,masayuki. 2016-09-21 16:26:21 +08:00
Carsten "Tomcat" Book 04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Carsten "Tomcat" Book cd1be634c9 merge mozilla-inbound to mozilla-central a=merge 2016-10-11 12:01:35 +02:00
Michelangelo De Simone a35ec87644 Bug 1306779 - Remove DOM/fmradio and related code. r=jst
MozReview-Commit-ID: EAoALauFEco

--HG--
extra : rebase_source : fd3b9963f27f2fd2ae76538eff489d9783eee6a6
2016-10-03 16:22:41 -07:00
J.C. Jones 6981fcdfd8 Bug 1281932 - Fix intermittent u2f tests r=keeler
This is reworking the U2F tests to do two things:

1) Don't run all the tests in one big frame; that makes it hard to tell
   what test is actually dying in Treeherder.
2) Fix the obvious possible test races with the async functions which could be
   causing the intermittent

- Review updates per keeler
- Change inappropriate uses of 'var' to 'let' in u2futil.js (kudos, keeler)
- Rework frame_no_token.html to follow the same pattern as the others
- Catch unexpected messages on the u2f testing harness
- Update 2: Go back to a pre-set number of expected async tests.

MozReview-Commit-ID: 6uLt5O1lUa3

--HG--
rename : dom/u2f/tests/test_frame_appid_facet.html => dom/u2f/tests/frame_appid_facet.html
rename : dom/u2f/tests/test_frame_appid_facet_insecure.html => dom/u2f/tests/frame_appid_facet_insecure.html
rename : dom/u2f/tests/test_frame_appid_facet_subdomain.html => dom/u2f/tests/frame_appid_facet_subdomain.html
rename : dom/u2f/tests/test_frame_register.html => dom/u2f/tests/frame_register.html
rename : dom/u2f/tests/test_frame_register_sign.html => dom/u2f/tests/frame_register_sign.html
extra : rebase_source : 1255bd8ba17a141c3c8205a277c06c483540de90
2016-10-10 17:06:31 -07:00
Phil Ringnalda 8bd6563760 Merge m-c to autoland 2016-10-10 19:12:47 -07:00
Phil Ringnalda 25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky 695f3ad671 Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 13514334ba Bug 946906 part 8. When getting a cacheable property off a DOM Xray, cache it on the Xray's expando object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 13a81b596c Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky fba67a8141 Bug 946906 part 6. Clear the relevant slots on Xray expandos when clearing cached slots on a DOM object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 8070de70a2 Bug 946906 part 5. Use the codegenned JSClass, if available, when creating Xray expando objects. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky bb0814b5d3 Bug 946906 part 4. Codegen Xray expando JSClasses for DOM objects with [Cached] or [StoreInSlot] members. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 7f2945874f Bug 946906 part 3. Create a macro for declaring Xray expando classes, and move the default Xray expand class definition to bindings code. r=bholley 2016-10-10 18:16:25 -04:00
Ehsan Akhgari f3346119eb Bug 1308943 - Remove the code used to notify the soft update in the right app; r=baku
This code was originally added in bug 1225121.
2016-10-10 16:58:33 -04:00
Boris Zbarsky 0b7535dfdc Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly 2016-10-10 15:09:00 -04:00
Boris Zbarsky e5598c42f7 Bug 1269052 part 2. Add IsSecureContext on nsPIDOMWindowInner. r=bkelly 2016-10-10 15:09:00 -04:00
Boris Zbarsky 1b99ad6387 Bug 1269052 part 1. Introduce the WindowOrWorkerGlobalScope mixin in webidl. r=bkelly 2016-10-10 15:09:00 -04:00
Andi-Bogdan Postelnicu 0631839b00 Bug 1308871 - removed dead code from nsXMLContentSerializer::SerializeAttr. r=baku
MozReview-Commit-ID: AxxLN41TvZc

--HG--
extra : rebase_source : 4c1c411f4069a5ce62dfe6ff102ff78475384e9f
2016-10-10 13:14:42 +03:00
Carsten "Tomcat" Book b23a9f71a4 merge mozilla-inbound to mozilla-central a=merge 2016-10-10 11:55:47 +02:00
Brian Birtles b813bcffe5 Bug 1302973 - Store timelines on document; r=smaug
MozReview-Commit-ID: KHtAq0VgPZW

--HG--
extra : rebase_source : 7daa2a4202f489308981e9cff02e2d7f3bf92c1e
2016-10-09 22:36:56 +09:00
Ehsan Akhgari 7276f21d9a Bug 1308267 - Part 3: Remove b2g interfaces from test_serviceworker_interfaces.html; r=baku 2016-10-09 17:45:08 -04:00
Ehsan Akhgari e9c3e33c50 Bug 1308267 - Part 2: Remove b2g interfaces from test_worker_interfaces.html; r=baku 2016-10-09 17:44:23 -04:00
Ehsan Akhgari 02de98992a Bug 1308267 - Part 1: Remove b2g interfaces from test_interfaces.html; r=baku 2016-10-09 17:44:23 -04:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Jan-Ivar Bruaroey 6668691c20 Bug 1304597 - Remove hardcoded capabilities on OSX that are no longer used r=jesup
MozReview-Commit-ID: 4vENDI1Q9U1
2016-10-07 11:35:07 -04:00
Sebastian Hengst ec33d1d3c5 Backed out changeset 4865541c610a (bug 1308039) 2016-10-07 21:38:57 +02:00
Sebastian Hengst c69cc39eb3 Backed out changeset cf4c2f956c4c (bug 1308039) 2016-10-07 21:38:50 +02:00
Bill McCloskey 931c2f9bf4 Bug 1308039 - Preempt GC to paint (r=mrbkap) 2016-10-07 12:26:22 -07:00
Bill McCloskey 8a80388d4a Bug 1308039 - Add AutoAssertOnBarrier to painting code (r=mrbkap) 2016-10-07 12:26:20 -07:00
Kartikaya Gupta 8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Kartikaya Gupta 758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Eric Rahm 22057781f4 Bug 1307216 - Remove warning about non-existent plug-in registry key. r=bsmedberg
It's possible the plugin key doesn't exist, there's no need to warn about that.

MozReview-Commit-ID: Law8J9zUHCt

--HG--
extra : rebase_source : d80ac46094c55281490659d622a4cdd8c2a95c86
2016-10-04 10:18:17 -07:00
Kit Cambridge e1271e1b81 Bug 1308590 - Link to references in the Push encryption error strings. r=flod
MozReview-Commit-ID: 9NPmNHoytrc

--HG--
extra : rebase_source : 1d0b8b075d178aab98941190b7177a66442d12ee
2016-10-07 11:48:58 -07:00
Ehsan Akhgari 7cbf03adb5 Bug 1307730 - Disallow CORS fetches when we have an expanded principal; r=bzbarsky
It's not possible to construct a useful Origin header when we have
an expanded principal and are about to perform a CORS fetch.  Therefore,
instead of sending a CORS fetch with an |Origin: null| header, we
must fail the request.
2016-10-07 12:47:11 -04:00
Gerald Squelart 0e173b53b1 Bug 1176218 - p13. Reject Resolutions that are too big for Windows' decoder - r=jya
The WMFDecoderModule can override Supports(TrackInfo) to reject resolutions
that we know are too big for the platform decoder.

MozReview-Commit-ID: dU905wjZcJ

--HG--
extra : rebase_source : 40e5987deeffff652a88264f157391c0dbc0a2da
2016-10-07 15:51:34 +11:00
Gerald Squelart 413e411d7c Bug 1176218 - p12. Use new PDM's Supports(Trackinfo) in MP4Decoder - r=jya
MP4Decoder can translate the new MediaContentType into the relevant TrackInfo
to interrogate PDMs about codec support, with extra information if present.

MozReview-Commit-ID: K0jcYm8pJrp

--HG--
extra : rebase_source : e809824285a85035b81ad7f91406bce6393384f6
2016-10-07 15:51:22 +11:00
Gerald Squelart a583c59045 Bug 1176218 - p11. PDM's Supports(TrackInfo) - r=jya
Add a new method alongside SupportsMimeType, which takes a TrackInfo that may
contain more information that just the MIME type.

Eventually the old SupportsMimeType should be removed, but we keep it for now,
as it is used quite extensively and it would be out of scope of this bug to
totally replace it now.

MozReview-Commit-ID: LJQBvSUB6J2

--HG--
extra : rebase_source : 6f43bf61dc6e51de3714c9a556428c7ba4fd484d
2016-10-07 15:30:30 +11:00
Gerald Squelart c1e9d969fe Bug 1176218 - p10. VideoUtils' CreateTrackInfo*() - r=jya
Create a TrackInfo (VideoInfo or AudioInfo) from a codec MIME type, and
optionally with extra parameters from a MediaContentType.

MozReview-Commit-ID: JfDMQjVgCNT

--HG--
extra : rebase_source : 10eb8f14ce28a74883752c536b2312658bc0cb4d
2016-10-07 17:39:32 +11:00
Gerald Squelart 700d804c16 Bug 1176218 - p9. Pass MediaContentType to MP4Decoder::CanHandleMediaType - r=jya
Just passing the new MediaContentType struct, with no processing changes (yet).

MozReview-Commit-ID: KZ4xkCihPb1

--HG--
extra : rebase_source : e40eb72cc63e0a814306c25ea9b609178517729e
2016-10-01 18:10:18 +10:00
Gerald Squelart 9aaeb961ad Bug 1176218 - p8. Use MediaContentType in DecoderTraits - r=jya
MozReview-Commit-ID: G0Blu5qOpwD

--HG--
extra : rebase_source : dc9a771d1e7b84828903d7d3e72732d8c66752ca
2016-10-01 18:09:50 +10:00
Ryan VanderMeulen 0e77532d02 No bug - Increase the fuzz for fillText-with-filter-opacity-2.html slightly to make Win10 happy.
--HG--
extra : rebase_source : aa4ac567cd64b1f137b8b4a080e3909b67aa6630
extra : histedit_source : 0e31aa085314664a39b7375199668d16e7d312f9
2016-10-06 19:50:42 -04:00
John Dai efa715302c Bug 1275839 - Implement CustomElementsRegistry whenDefined function. r=wchen 2016-10-07 02:16:00 -04:00
Ryan VanderMeulen 38574eeac5 Merge m-c to inbound. a=merge 2016-10-07 09:44:29 -04:00
Ryan VanderMeulen 7ebb50e21d Merge inbound to m-c. a=merge 2016-10-07 09:42:25 -04:00
Phil Ringnalda c21623fc42 Merge m-c to m-i
MozReview-Commit-ID: Kp60wHZauGi
2016-10-06 20:26:20 -07:00
Iris Hsiao e6ab0adc40 Backed out changeset d283c59402ce (bug 1277803)
CLOSED TREE
2016-10-07 11:24:08 +08:00
Iris Hsiao dd43a4748d Backed out changeset 1d88072cf36a (bug 1277803)
CLOSED TREE
2016-10-07 11:23:59 +08:00
Iris Hsiao 596b8e86ce Backed out changeset 76788d4f83ce (bug 1277803)
CLOSED TREE
2016-10-07 11:23:40 +08:00
Phil Ringnalda fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07:00
Yoshi Huang 2a51f65d99 Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Yoshi Huang 00f6846c07 Bug 1301649 - nits for bug 1260931. r=smaug
- use MOZ_ASSERT_IF
- always call inherit function
2016-10-07 17:42:03 +08:00
Yoshi Huang 06ba09a073 Bug 1264137 - Part 3: perform ContentPolicy check if the load is happening on this docshell. r=bz, smaug 2016-10-07 17:40:21 +08:00
Matt Woodrow 67cd537af3 Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow 52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
Randell Jesup 7b209b91b2 Bug 1299324: return error if an audio channel is already open until multi-mic support is done r=jib 2016-10-06 21:40:44 -04:00
Catalin Badea afc2be9e7b Bug 1307900 - Fix spelling mistake in browserElement_Manifestchange.js. r=jdm
MozReview-Commit-ID: 1z8N75jJXLw

--HG--
extra : rebase_source : 0d7884362358b6e6d94b75f01c6c856b7cf7741f
2016-10-05 15:18:56 -04:00
Kilik Kuo 55bf555b74 Bug 1303922 - Part 2: Remove KeyStatusChanged/ForgetKeyStatus IPDL messages. r=cpearce
MozReview-Commit-ID: Flx2SQI7lM0

--HG--
extra : transplant_source : %40p%5C%C3%06%D0m%0C/%7B%0C%5B%A2%93o%F6%A1%1B%00%7D
2016-10-04 17:19:53 +08:00
Kilik Kuo 4d162fcd4a Bug 1303922 - Part 1: Make EME keystatuschanged information notified in batch. r=cpearce
MozReview-Commit-ID: IeExaQ62qTF

--HG--
extra : transplant_source : t%D4%AFxu%D6%40%F8hU%D2%94%D4q8q%EDy%08-
2016-10-04 17:18:46 +08:00
Phil Ringnalda ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Alastor Wu 10174cc9eb Bug 1308119 - replace nsIAudioChannelAgent with AudioChannelAgent. r=baku
Since I want to use more agent's functions in MediaElement and I don't think these functions need to be exposed on IDL level. (for other languages binding)

Therefore, I want to use AudioChannelAgent directly in MediaElement.

MozReview-Commit-ID: 43FvDeLpZPt

--HG--
extra : rebase_source : 78741d791eb66cfb6223866ce823f217e3438fdb
2016-10-07 10:35:01 +08:00
Alastor Wu c861a7e452 Bug 1302084 - the error checking should have highest priority. r=baku
MozReview-Commit-ID: 9QC5CG7p28M

--HG--
extra : rebase_source : dfbe93739c2dbe6b8e6640fd9ef54a8c1f4dd040
2016-10-06 12:07:33 +08:00
Alastor Wu 0331c39ab1 Bug 1303554 - part2 : remove the b2g specific checking in IsCurrentlyPlaying(). r=baku
MozReview-Commit-ID: 5kUJc24uEIH

--HG--
extra : rebase_source : b1b059a0b3d579f301d3aa9bde336ecf86fadd02
2016-10-05 10:07:54 +08:00
Alastor Wu 94f2fcca3d Bug 1303554 - part1 : notify start-playing after having enough data. r=baku
Regression by bug1262053 because of removing the current playing checking.
It would cause that the media control on Fennec shows too early and some media
elements would also generate the media control even it doens't have available
source.

Therefore, I think we still need to add this checking back.

MozReview-Commit-ID: 1m1ywmLmpSe

--HG--
extra : rebase_source : 30741b0e7bf1bb15349caaf1ecbcdad8cd92dcc3
2016-10-05 10:07:49 +08:00
Hiroyuki Ikezoe 22ccc8580a Bug 1308369 - Use longer duration to avoid intermittent failure. r=birtles
MozReview-Commit-ID: 1PVKWIPm23B

--HG--
extra : rebase_source : a38ca5ec5651842e65ef3866d5f2bfb83c904cf1
2016-10-07 10:48:56 +09:00
Gerald Squelart 1176084978 Bug 1176218 - p7. Hide CanHandle{Media|Codecs}Type - r=jya
These methods don't need to be exposed anymore.
They are still used in the cpp, so we keep them there as static functions.

MozReview-Commit-ID: F1BxEFzj7Re

--HG--
extra : rebase_source : 458b92a2b8987007ed68f32bbf26eaf4cf46742f
2016-09-26 16:01:59 +10:00
Gerald Squelart 2ac92a119f Bug 1176218 - p6. Move ShouldHandleMediaType down the cpp - r=jya
Just moving a function, it will help review upcoming changes in the next patch.

MozReview-Commit-ID: Ilbhinse9C6

--HG--
extra : rebase_source : 1a62ac51fbb33c5cc19f58b34ede28e91fa96d0a
2016-09-26 16:02:59 +10:00
Gerald Squelart 72c393635b Bug 1176218 - p5. Use DecoderTraits::CanHandleContentType in MediaSource - r=jya
Replace both uses of nsContentTypeParser with MediaContentType.

MozReview-Commit-ID: KV7ze3ASRf3

--HG--
extra : rebase_source : b3d102b02fa671d0a42d70ae7fe66bdd51ac5d86
2016-09-29 23:10:15 +10:00
Gerald Squelart 05ae515444 Bug 1176218 - p4. Use DecoderTraits::CanHandleContentType in HTMLMediaElement - r=jya
MozReview-Commit-ID: IQFvgI6h1tE

--HG--
extra : rebase_source : 11bcd26aaf0fd74fb02416b1d0c9b4c2b5d73345
2016-09-26 13:31:57 +10:00
Gerald Squelart cc9b7da0e1 Bug 1176218 - p3. Add DecoderTraits::CanHandleContentType - r=jya
Instead of taking MIME&codecs strings, CanHandleContentType takes an
MediaContentType, which can be used to access these and other parameters.

MozReview-Commit-ID: 14Cg6JoQS0g

--HG--
extra : rebase_source : 85b8e852f004b2728b06831c43b33ee4e7aebe52
2016-09-26 16:43:16 +10:00
Gerald Squelart 80a0086ece Bug 1176218 - p2. New MediaContentType class to parse content type string - r=jya
Collect all parsed parameters in a handy MediaContentType structure.

MozReview-Commit-ID: DlnilsmO1eP

--HG--
extra : rebase_source : 823717a46e698342dce0f9e0b5bbfab21281297d
2016-10-07 17:38:44 +11:00
Gerald Squelart f600196067 Bug 1176218 - p1. Constify nsContentTypeParser::Get... methods - r=froydnj
GetType() and GetParameter() don't actually modify the nsContentTypeParser
object, so we can make them const.
It makes it possible to pass the parser as a const-ref, which I think makes
sense as getters (even those doing some actual work) are usually const.

MozReview-Commit-ID: 9vmqKbmt8y8

--HG--
extra : rebase_source : d07371c8cdcf116952bffafad0cd6cda78f59b20
2016-10-04 16:19:15 +11:00
Kilik Kuo 34516e1303 Bug 1308121-Handle unrecognized content type parameter when trying to get supported capability. r=cpearce
MozReview-Commit-ID: GqSjn6BjhTi

--HG--
extra : rebase_source : 9aa4f67b99c376d1b525e72ef60b3cdcdaa68b4d
2016-10-07 00:45:27 +08:00
Richard Barnes ea829544cd Bug 1308951 - Add a pref to whitelist specific domains as SecureContexts r=ckerschb,jcj
MozReview-Commit-ID: AxihCLsBNRw

--HG--
extra : rebase_source : bd2800c65af839ef67f4ca9a841f08884ac9c539
2016-10-10 11:32:24 -04:00
Dan Minor 3133a6e0d7 Bug 1291715 - Add pref for DTMF; r=jib,smaug
MozReview-Commit-ID: Kl6xNKvif8K

--HG--
extra : rebase_source : 0497774c5febcd0a61eb78b22d0aeaa6e460ebbe
2016-09-20 07:10:17 -04:00
Dan Minor 7e187ca258 Bug 1291715 - Add mochitest for DTMF; r=jib
MozReview-Commit-ID: 4acq5uMLxe9

--HG--
extra : rebase_source : c9eb56f65858ee43f9defa63d11ad9a049b629a8
2016-09-29 15:05:33 -04:00
Kit Cambridge a69ba96059 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb

--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
Kit Cambridge fb5b58f401 Bug 1301469 - Handle exceptions thrown by `PushCrypto.decodeMsg` as decryption errors. r=mt
Previously, errors thrown by `decodeMsg` and `getCryptoParams` would
bubble up to the catch handler in `receivedPushMessage`, causing us to
report "ACK_NOT_DELIVERED" instead of "ACK_DECRYPTION_ERROR" in the ack
sent to the server.

MozReview-Commit-ID: FZFzYdebQGy

--HG--
extra : rebase_source : b21f15cc9ac12ff11496d4f63ee531c021bd7a29
2016-10-05 08:56:55 -07:00
Jean-Yves Avenard 8ad335efb0 Bug 1305347: [MSE] Break removal loop early when possible. r=gerald
MozReview-Commit-ID: 2Pl3drov8tT

--HG--
extra : rebase_source : ccf512533b71315400bf5db77147d47a4e342162
2016-10-06 17:32:39 +11:00
Dan Minor 9999c967d0 Bug 1291715 - Add RTCDTMFSender to PeerConnection.js; r=jib
MozReview-Commit-ID: 4vm6c5Chjof

--HG--
extra : rebase_source : 712b188c1b1f5cf599a2cda28aaa70914b652a83
2016-09-29 13:26:04 -04:00
Dan Minor 621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Andi-Bogdan Postelnicu 454d1e68fa Bug 1308208 - remove redundant null check from GridLines::SetLineInfo. r=baku
MozReview-Commit-ID: 55lIk7Klh4I

--HG--
extra : rebase_source : b60609990e5a9c88cb9a6227af1f210cf1333ca1
2016-10-06 19:05:46 +03:00
Carsten "Tomcat" Book 06332a09b7 Merge mozilla-central to autoland 2016-10-06 12:29:44 +02:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Ting-Yu Lin bc5a26efde Bug 1307252 - Hide the carets when the selection is made by select all. r=kanru,kats
The mochitest for clipboard still needs the mozbrowsercaretstatechanged events,
so we disable "layout.accessiblecaret.hide_carets_for_mouse_input".

MozReview-Commit-ID: CD03lmjwUa9

--HG--
extra : rebase_source : 530d241764d55ed6507f993511c74cf820195283
2016-10-05 15:46:36 +08:00
JW Wang cb38cbf0c1 Bug 1308066 - remove mLowDataThresholdUsecs. r=kikuo
MozReview-Commit-ID: ZM2v6rsX2U

--HG--
extra : rebase_source : 7ed0c0ab322a7aef65c81fd768829e25f0ef1d5e
2016-10-05 16:17:17 +08:00
JW Wang bee52b4e3b Bug 1308065 - move mBufferingWait into BufferingState. r=kikuo
MozReview-Commit-ID: 9xs2OKcmg95

--HG--
extra : rebase_source : 00ad9a85c83f346d7a32e8f6e1a762e06a44b1a4
2016-10-05 16:15:17 +08:00
dhouse@mozilla.com a7ad6a382a Bug 1307904 - "received" r=jdm
MozReview-Commit-ID: GM6IyKELMiO

--HG--
extra : rebase_source : aa0176500658e5cc9e00c080d08bbbc13e745bdd
2016-10-05 13:24:16 -06:00
Ethan Glasser-Camp 320a1b9240 Bug 1307898 - Fix typo, r=jdm
MozReview-Commit-ID: kKrJ66cEGB

--HG--
extra : rebase_source : 559b7b51e8abab0edab79420fe54cf6376cd54ab
2016-10-05 15:19:10 -04:00
Brad Werth 85d6a9d42e Bug 1307896 - Fixed spelling of "receive" in the assert messages. r=jdm
MozReview-Commit-ID: HdHQFV9yXG3

--HG--
extra : rebase_source : 9058c573ad5a41931e67fbe8d3ea84e7a5a6f67e
2016-10-05 12:16:02 -07:00
JW Wang 4e27fc1b6b Bug 1307699. Part 9 - replace mCurrentSeek with mSeekJob. r=kaku
MozReview-Commit-ID: KJVP7BExVEm

--HG--
extra : rebase_source : a090ebc066a3cae2ee4ba8ca1dc5d2e7e1f224fa
2016-10-05 15:33:44 +08:00
JW Wang 011da0beb5 Bug 1307699. Part 8 - move mCurrentSeek into SeekingState. r=kaku
MozReview-Commit-ID: LXzyK4U01VG

--HG--
extra : rebase_source : 7db01e3f68d57a0d0890b6032ab93d92cf9b1372
2016-10-05 15:25:56 +08:00
JW Wang 4723b76a55 Bug 1307699. Part 7 - remove null-checks for mSeekTask which is guaranteed to be non-null by Enter(). r=kaku
Also we don't nullify mSeekTask in Exit() because the state object will be deleted soon after Exit().

MozReview-Commit-ID: 9wTJ5yiZbhD

--HG--
extra : rebase_source : 88a0f6aecc32b0a36949048c68cb34a27192a361
2016-10-05 15:18:31 +08:00
JW Wang d621001b59 Bug 1307699. Part 6 - remove comments that are no longer valid. r=kaku
MozReview-Commit-ID: 3HYk4raLgDh

--HG--
extra : rebase_source : 4485f674814a71774f8af96a27aab76c82edeb9c
2016-10-05 15:15:57 +08:00
JW Wang 24c5c9be4b Bug 1307699. Part 5 - move mSeekTask into SeekingState. r=kaku
MozReview-Commit-ID: AdVCoOPDG4F

--HG--
extra : rebase_source : 02c2ae4aab3e083ea25b660e263d0f96583c7b14
2016-10-05 14:59:24 +08:00
JW Wang 52c66ad894 Bug 1307699. Part 4 - move DiscardSeekTaskIfExist() into the exit action of SeekingState. r=kaku
MozReview-Commit-ID: 9FDgZLHg8Wj

--HG--
extra : rebase_source : a9bd00682c8de6dae29a5ca0e9e5fd7988341cfe
2016-10-05 14:47:13 +08:00
JW Wang 96d4a513a3 Bug 1307699. Part 3 - move SeekCompleted() into SeekingState. r=kaku
MozReview-Commit-ID: BNeIC69LEtu

--HG--
extra : rebase_source : c80e18486eb65de18c17602e2305d59dbf071ebe
2016-10-05 14:39:26 +08:00
JW Wang 92b36d6e4d Bug 1307699. Part 2 - move mSeekTaskRequest into SeekingState. r=kaku
MozReview-Commit-ID: 8FrGqEDgclk

--HG--
extra : rebase_source : e0f437d9372e5ade1a3a0e98e808a163d130c10f
2016-10-05 14:28:26 +08:00
JW Wang fe89153acd Bug 1307699. Part 1 - move OnSeekTaskResolved/OnSeekTaskRejected into SeekingState. r=kaku
MozReview-Commit-ID: 7n9MSGxduZK

--HG--
extra : rebase_source : 7ee888ea5152e8ee3e9a06ea4c90ee2ee741ca79
2016-10-05 14:22:54 +08:00
Jean-Yves Avenard 5205ad7fdd Bug 1307013: Error once number of errors reach threshold. r=gerald
MozReview-Commit-ID: L6hI7CRSCCF

--HG--
extra : rebase_source : bf2cdba33e552e0aacc49a2c767352659bda1145
2016-10-06 16:31:35 +11:00
Jean-Yves Avenard 4a7fd611df Bug 1301869: P1. Only add SPS/PPS on the first keyframe. r=cpearce
When we add SPS/PPS NAL in front of each keyframe data, this somehow makes the WMF decoder to misbehave and to always return an invalid timestamp.

MozReview-Commit-ID: 2SzTiwP0ii1

--HG--
extra : rebase_source : b499c83d504df772e6d722053630ff4d92306d4f
2016-10-06 11:38:52 +11:00
Bryce Van Dyk 1d5b357b30 Bug 1307016 - Have puppeteer __str__ encode fields to ascii. r=maja_zf
At least some of the environments the tests are running in do not appear to play
nice with non-ascii characters. Some of the jenkins runs are currently unhappy
due to this. This patch sees that all fields are encoded as ascii with
non-compatible characters replaced.

MozReview-Commit-ID: 6qSCyUujMLE

--HG--
extra : rebase_source : bb19b261b10aeb9bb9a47a2d47fefc7604000430
2016-10-03 11:56:50 +13:00
Aaron Klotz 5a833e9437 Bug 1304449: Part 2 - Modify ContentParent to obtain/release MSAA ids; r=jimm
MozReview-Commit-ID: 4FJVpe3I1Qt

--HG--
extra : rebase_source : a3376503157afdb4f6b2ed0dd808287a61554852
2016-09-26 16:17:58 -06:00
Xidorn Quan cd39706e9b Bug 1306696 part 3 - Exit fullscreen in non-e10s when no fullscreen request is proceeded. r=smaug
MozReview-Commit-ID: AKCwRqAImc6

--HG--
extra : rebase_source : 4658c04e2977247cada192a990d87c32eaa44833
extra : source : ddb10aa484cc28f5b4b3913e32baad8d0419fb79
2016-10-06 10:48:32 +11:00
Phil Ringnalda 0e26fa186a Backed out changeset 3851e5f51530 (bug 1299489) for unfathomable bustage of Linux32 debug test_peerConnection_capturedVideo.html
CLOSED TREE

MozReview-Commit-ID: I6HSmVRtucs
2016-10-05 19:25:24 -07:00
Michael Layzell 025811ca63 Bug 1299489 - Change nsTArray to use a custom iterator based on index instead of pointers to improve iterator invalidation safety of ranged for loops, r=froydnj
MozReview-Commit-ID: CahPOcRYvES
2016-10-05 11:54:51 -04:00
Steven Englehardt 1925944f12 Bug 1277803 - Part 5: Add a test to verify the loadingPrincipal of favicon loads. r=ckerschb 2016-09-13 00:33:00 -04:00
Tim Huang fc8ead3f01 Bug 1277803 - Part 2: Make favicons loaded through XUL:image use the correct principal. r=Gijs, r=tnikkel 2016-10-04 19:53:00 -04:00
Cykesiopka 79f483a3ad Bug 1308890 - Make use of ScopedAutoSECItem in CryptoKey.cpp. r=rbarnes
ScopedAutoSECItem is useful for getting rid of this pattern:
> ScopedSECItem item(SECITEM_AllocItem(nullptr, nullptr, 0));

While this pattern works, ScopedAutoSECItem is slightly superior in that it
doesn't unnecessarily cause a SECItem to be allocated from the heap. Moreover,
this moves us further away from Scoped.h, which is deprecated.

MozReview-Commit-ID: B30MNTHzzTc

--HG--
extra : rebase_source : 8d6dea205fc8800a46104b48c670eff250a4731a
2016-10-14 10:36:54 +08:00
bechen 2e9466d27e Bug 1308862 - Null check for the innerWindow. r=jwwang
MozReview-Commit-ID: DXrN3cnqV7U

--HG--
extra : rebase_source : a77e55182e9265ebec8a42d3770df7c41c69b286
2016-10-12 17:26:20 +08:00
Sebastian Hengst 3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Sebastian Hengst 2bd34f750f Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
MozReview-Commit-ID: D207i9boeTJ

--HG--
extra : rebase_source : 390031b8a74ba145008328129079dcb0dee5a6c1
2016-09-28 21:10:32 +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
Carsten "Tomcat" Book 750b23e14d Merge mozilla-central to mozilla-inbound 2016-10-05 17:07:19 +02:00
Carsten "Tomcat" Book 38abad8db7 Backed out changeset c743f069da42 (bug 1307747) for test failures in test_blob_sliced_from_child_process.html 2016-10-05 17:06:29 +02:00
Carsten "Tomcat" Book 3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Kan-Ru Chen e18f79eb18 Bug 1283563 - Followup - properly finish test in case timeout is really flaky. r=me
MozReview-Commit-ID: 9XkB9dExF7Y
2016-10-05 16:33:22 +08:00
Jon Coppeard 38b109439a Bug 1307372 - Avoid triggering mCallback read barrier in CallbackObject::CallbackKnownNotGray r=mccr8 2016-10-05 10:09:24 +02:00
Kan-Ru Chen bdfa3e49c9 Bug 1283563 - Change geo.wifi.url BASE_URL based on test type. r=jdm
MozReview-Commit-ID: CbyHe017B25
2016-10-05 11:53:43 +08:00
Kan-Ru Chen 244b68ec56 Bug 1283563 - Add mochitest/geolocation/chrome.ini back. r=jdm
MozReview-Commit-ID: IH7RkPaumCk
2016-10-05 11:53:43 +08:00
Boris Zbarsky 010d3de058 Bug 1307115. Improve error reporting on name collisions in webidl. r=qdot 2016-10-04 23:42:06 -04:00
Jessica Jong b0f67cfa5f Bug 1295402 - Implement the min and max attribute for <input type=week>. r=smaug
--HG--
extra : rebase_source : d32e2eb25e54343491278a60ed1561581b5d2b56
2016-09-25 19:33:00 -04:00
Bill McCloskey f478d1188c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 20:34:54 -07:00
Brian Birtles d70d0c2bd5 Bug 1302949 - Skip calling CalculateCumulativeChangeHint; r=heycam
There are a few pieces missing before we can do this with Servo. Since this
only enables an optimization for off-screen animations we should skip this
for now so it doesn't block animations from running.

MozReview-Commit-ID: GecHWQZYxpK

--HG--
extra : rebase_source : c0330b104afb4b970569c0cb650315e633b7e796
extra : histedit_source : db91b37d3370c9b766976b42b0701f6e0ec56159
2016-09-16 11:35:59 +09:00
Brian Birtles 33c4f00dda Bug 1302949 - Compute StyleAnimationValue objects from servo declaration blocks; r=heycam
MozReview-Commit-ID: 6Am1FRC9uV0

--HG--
extra : rebase_source : 570ed28437ecaa22ac7571a9b47388e8abd0cb96
extra : histedit_source : 04443b7b7d89296b8498a5e657b1e7eeb3105dc8
2016-09-16 11:08:44 +09:00
Brian Birtles 620aaf6580 Bug 1302949 - Parse animation values with Servo backend; r=heycam
MozReview-Commit-ID: 4UW1fIIjvdi

--HG--
extra : rebase_source : edeaec568446897c5005640d63390ec5bf3751d2
extra : histedit_source : e7498ae2f573a3766fbf7686f1c6cdcc64ca3280
2016-09-16 10:24:05 +09:00
Brian Birtles 4f94caf471 Bug 1302949 - Skip invalid animation values; r=heycam
For animation values parsed using the Servo backend that are invalid,
we simply end up with an empty declaration block (and we fill in |mValue|
with the string so we can later serialize it).

MozReview-Commit-ID: 6ruwJGVzRla

--HG--
extra : rebase_source : 83e415febf10cf90631fd7a1b447921822a44bc0
2016-09-16 09:58:35 +09:00
Brian Birtles a803b5ac49 Bug 1302949 - Serialize specified keyframe values; r=heycam
MozReview-Commit-ID: 9BSkci1kqU6

--HG--
extra : rebase_source : b0532e144b3208d79e1e26ce3bff9a20c896abad
2016-09-16 09:26:48 +09:00
Brian Birtles 8de1442b19 Bug 1302949 - Store Servo declaration block in keyframe values; r=heycam
MozReview-Commit-ID: I09XpkU8bT0

--HG--
extra : rebase_source : 2403ee41f8a71261705eca0f6e5fd250dfc5c007
2016-09-15 16:26:07 +09:00
Wes Kocher a0ecf84551 Merge m-c to inbound, a=merge 2016-10-04 17:42:22 -07:00
Wes Kocher 5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Chris Pearce efc3fcbec9 Bug 1307595 - Fixup bad merge conflict resolution from Bug 1300654/8eef5d2cc850. r=partial-backout
8eef5d2cc850 in Bug 1300654 incorrectly resolved a merge conflict and backed
out part of the fix for Bug 1280829. Relanding.

MozReview-Commit-ID: 6DIkUrc9R4t
2016-10-05 13:12:03 +13:00
Tom Schuster 774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Nathan Froyd 0269018b2e Bug 1304722 - don't define nsCString constants in VideoUtils.h; r=mattwoodrow
Doing this causes a separate copy of each string to be included in each
compilation unit that includes VideoUtils.h, and since global
nsLiteralCString objects require a static constructor, injects static
constructors into all those compilation units as well.  Moving the
object definitions to a source file and leaving the declarations in the
header makes everything work as expected.
2016-10-04 16:38:52 -04:00
Bill McCloskey b83db28a45 Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey eddd80027c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 15:28:14 -07:00
Wes Kocher a2cfb52087 Backed out 3 changesets (bug 1307501) for xpcshell failures a=backout
Backed out changeset b05f555321b7 (bug 1307501)
Backed out changeset 58e4d007f2a5 (bug 1307501)
Backed out changeset 113aa49cbb98 (bug 1307501)
2016-10-04 14:55:29 -07:00
Benjamin Smedberg 1b2d2396c0 Bug 1307501 part B followup - remove no-longer-needed variable to solve -Werror=unused-variable build bustage on a CLOSED TREE 2016-10-04 16:52:36 -04:00
Benjamin Smedberg 54a7ad7fcd Bug 1307501 part B - don't read old versions of pluginreg.dat. Long ago we took great pains to read this backwards-compat because plugin enabled/click-to-play state was recorded here. But that has been recorded in prefs since Firefox 22, so now we can safely just treat this as a disposable cache. r=qdot
MozReview-Commit-ID: 1QBEBuXiesh

--HG--
extra : rebase_source : 0f55dec7c96612e8bac069106eea29d1ad13860e
2016-10-04 13:22:07 -04:00
Benjamin Smedberg e71e90698f Bug 1307501 - Flash plugin isn't enabled in nightly because this check was using the description instead of the name. r=stupidly obvious
MozReview-Commit-ID: EJmdQfYhGp9

--HG--
extra : rebase_source : 50283ef2d86b6b4436486995bbb1da8c1f188b2c
2016-10-04 12:35:34 -04:00
Wes Kocher 0e4be21df4 Backed out changeset 2a5aeed15578 (bug 1052045) for test_bug596511.html failures a=backout 2016-10-04 13:35:36 -07:00
Nathan Froyd c6166bd03a Bug 1307483 - remove mProtocolCallStack from PluginModuleChromeParent; r=jimm
The last useful references to this were removed in bug 1250046, when we
deleted Shumway-specific IPC support.  All this code is doing now is
taking up space.
2016-10-05 00:04:32 -04:00
Bevis Tseng d3bd0e0c64 Bug 1300454 - SendAbort() to parent after IDBTransaction is aborted in INITIAL state. r=janv 2016-10-04 15:40:11 +08:00
Tom Puttemans 91df1c0ac2 Bug 1052045 - Fix <select> validity status for listboxes and for non-placeholder empty valued options. r=bz 2016-10-03 20:26:53 +02:00
Andreas Farre 436c00e869 Bug 1307473 - Fix missing namespace errors. r=smaug
MozReview-Commit-ID: LkT0SV8DcU0
2016-10-04 08:20:00 -04:00
Carsten "Tomcat" Book 4234840e31 Backed out changeset 8d4af898e0ae (bug 1263665) for bustage on a CLOSED TREE
--HG--
extra : amend_source : 0bdc073366827ad951b04f54a54e2556ff668201
2016-10-05 16:12:36 +02:00
Carsten "Tomcat" Book ed5e52accb Backed out changeset 1c3b31f14fd4 (bug 1263665) 2016-10-05 16:12:19 +02:00
Carsten "Tomcat" Book 66da579106 Backed out changeset ad8023a69963 (bug 1263665) 2016-10-05 16:12:18 +02:00
Carsten "Tomcat" Book f907696c77 Backed out changeset 5db740625292 (bug 1263665)
--HG--
extra : rebase_source : c288221771dfe66ac860504e7c8fa5e51abc6775
2016-10-05 16:05:06 +02:00
Brad Lassey 75da566dc9 bug 1298083 - Don't hide blocklisted Flash from navigator.plugins r=bsmedberg 2016-10-05 09:46:45 -04:00
Gerald Squelart 0599e78abf Bug 1263665 - media.libavcodec.allow-obsolete=true bypasses blocking - r=jya
If "media.libavcodec.allow-obsolete" is set to true, the checks for older
libavcodec library versions are ignored.

MozReview-Commit-ID: HBhHfFomsrr

--HG--
extra : rebase_source : 2f42348018b19d20be64001df737b342e1813274
2016-10-04 23:52:45 -07:00
Gerald Squelart 91add09a0d Bug 1263665 - DecDoc handling of libavcodec linking issues - r=jya r=smaug
If libavcodec is present but cannot be used, Decoder Doctor sends a distinct
notification to better help the user find the issue.

MozReview-Commit-ID: IGXPIY1b8AS

--HG--
extra : rebase_source : 101937fe8786296443b04d32983ccf260b23742a
2016-09-22 00:06:45 -07:00
Gerald Squelart 1dffba39a5 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 : b5151c58d0aeb49a73c5541184d86f1b8343e63f
2016-09-22 01:59:59 -07:00
Gerald Squelart dd59731ee4 Bug 1263665 - Block libav < 54.35.1 - r=jya
MozReview-Commit-ID: HgTXlDnj2Gw

--HG--
extra : rebase_source : c52db93ab0d89ce8040cc81c0660fcdb639b4688
2016-09-21 00:04:12 -07:00
Andrea Marchesini 1657aa4418 Bug 1307747 - Remote Blob should use the real size of the blob and not what available from the inputStream, r=smaug 2016-10-05 14:33:35 +02:00
Ben Tian e2f03e4b07 Bug 1264769 - Patch 2: Dispatch loadstart event for image loading, r=hsivonen
--HG--
extra : rebase_source : 8d10beb495f631364a95c4247e31cae2b04c6f63
2016-10-05 10:06:27 +08:00
Thomas Wisniewski 50934d0360 Bug 931389 - remove CanvasRenderingContext2D.mozDash/mozDashOffset. r=gw280, r=baku
--HG--
extra : rebase_source : 2192c147822a28796e24532b0df10a38a5481a55
2016-10-04 11:53:57 -04:00
Kartikaya Gupta a640f97b00 Bug 1306603 - Remove rest of mozpasspointerevents code as it is not needed any more. r=kanru
MozReview-Commit-ID: 5N3hUq2lGuU
2016-10-05 08:27:02 -04:00
Kartikaya Gupta 2478ce37cb Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
JW Wang e3bfff82b5 Bug 1307356 - Move MDSM::DecodeFirstFrame() into DecodingFirstFrameState. r=kikuo
MozReview-Commit-ID: 9zL76KjBhF7

--HG--
extra : rebase_source : fa9e3a22bb9f13ad33275ce7258d21b7d5e13443
2016-10-04 15:03:30 +08:00
JW Wang bb286ff881 Bug 1307055. Part 2 - remove unnecessary pref settings and unused functions. r=cpearce
MozReview-Commit-ID: IQHrWAwrMMZ

--HG--
extra : rebase_source : 04e5c65b386270e1231e6720f1635f19c0a58e24
2016-10-03 15:20:31 +08:00
JW Wang 2f12a9ac63 Bug 1307677. Part 6 - don't access mMaster after InitiateSeek() which will delete the current state object. r=kaku
MozReview-Commit-ID: HABL22OiLnJ

--HG--
extra : rebase_source : fadaf464539430e2a39090a3fd06d8e1235e011a
2016-10-04 17:29:10 +08:00
JW Wang e636236a90 Bug 1307677. Part 5 - move most code of InitiateSeek() into the entry action of SeekingState. r=kaku
MozReview-Commit-ID: 5vHjMoURAXc

--HG--
extra : rebase_source : 8bf71103627d601a89273cffd19a78d2e02851d3
2016-10-04 17:18:49 +08:00
JW Wang 35107b4c29 Bug 1307677. Part 4 - prepare to move most code of InitiateSeek() into the entry action of SeekingState. r=kaku
Note we can't call SetState() because we might need to seek again in the SEEKING state.

MozReview-Commit-ID: 7KYhV5SLbXF

--HG--
extra : rebase_source : 111bfada8126b3a6a1c0034ad9f5e6883a360ea1
2016-10-04 17:05:39 +08:00
JW Wang 9ead74a43f Bug 1307677. Part 3 - move |mCurrentSeek.mPromise.Ensure| out of InitiateSeek(). This makes it easier to move more code into SeekingState. r=kaku
MozReview-Commit-ID: Id4PprPtJdX

--HG--
extra : rebase_source : e21c791f1ec88187f02b7079d6bfcfcf00de91e4
2016-10-04 16:55:59 +08:00
JW Wang c9a0e7e263 Bug 1307677. Part 2 - add some assertion to DecodingFirstFrameState::HandleSeek(). r=kaku
MozReview-Commit-ID: 2RbAHFocwGy

--HG--
extra : rebase_source : bdade231e93f60a5841c5871ff3275fadf6f6a59
2016-10-04 16:36:42 +08:00
JW Wang 954a7a882f Bug 1307677. Part 1 - move some code from Seek() to various state objects. r=kaku
MozReview-Commit-ID: Gf51NiU9pZ

--HG--
extra : rebase_source : 11a677fa7cbf6698950b4d20265aa16c698eed8b
2016-10-04 16:33:40 +08:00
JW Wang 15fc2d73c6 Bug 1306813 - Don't puslish events to mOnOutput after DecodedStream::Stop() is called. r=pehrsons
Because the TaskQueue of MDSM will shut down soon and TaskQueue::Dispatch() will fail (via mOnOutput.Notify()).
We reset mStream in Forget() on the TaskQueue thread of MDSM so NotifyOutput() can check it
and ensure mOnOutput.Notify() always happen before DecodedStream::Stop().

MozReview-Commit-ID: 4sCXk1KAfCC

--HG--
extra : rebase_source : 1ec50a86fa1519c4fc8caa1087f2794411aa23b0
2016-10-04 14:54:23 +08:00
Kaku Kuo 79e4f601c0 Bug 1306945 - remove the check of mPlayState in the MDSM::VisibilityChanged(); r=jwwang,kamidphish
MozReview-Commit-ID: JBJJ7dPt64i

--HG--
extra : rebase_source : 27b738832ffda283d931f5f5d27b43ed9f2f5d3a
2016-10-04 16:10:13 +08:00
JW Wang 0eaf8d3e06 Bug 1307063. Move MDSM::MaybeFinishDecodeFirstFrame() into DecodingFirstFrameState. r=kikuo
MozReview-Commit-ID: LVLjImUQf26

--HG--
extra : rebase_source : 1990080c2888b2e384f74c24246ffc93f70fc3f8
2016-10-03 17:18:38 +08:00
Wes Kocher b4e6b8fba5 Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Tim Huang 85a1cb6b99 Bug 1277803 - Part 1: Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-09-07 00:38:00 -04:00
Josh Matthews 85e4080b27 Bug 1307185 - Ensure image loads don't short-circuit if the element changed trees since the last load. r=echen 2016-10-04 13:50:33 -04:00
Jessica Jong b3014cc00b Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00
Ethan Lin 123014d901 Bug 1305963 - Add reftests for mozCurrentTransform and mozCurrentTransformInverse. r=nical 2016-10-03 19:14:00 -04:00
Andi-Bogdan Postelnicu 5b2a91df8c Bug 1309150 - prevent dead code in WorkerPrivateParent<Derived>::Freeze when looking for frozen shared workers. r=mrbkap
MozReview-Commit-ID: 5iPQwosRAxW

--HG--
extra : rebase_source : e59689490eab0f0b2153fad2db29badec3909640
2016-10-11 11:33:31 +03:00
Andreas Pehrson 4c1c6df40c Bug 1284577 - Always insert the debug canvas first for visibility in screenshots. r=padenot
MozReview-Commit-ID: KxJLRDfzczz

--HG--
extra : rebase_source : 5f0a0315ebb6ccdea38b7650b1246920a94f7cab
2016-09-29 10:37:04 +02:00
Milan Sreckovic cc08d3d97e Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ

--HG--
extra : rebase_source : 4531fc96899f1a2f6524289d5db1054345e0e5f4
2016-09-30 13:54:22 -04:00
Andi-Bogdan Postelnicu 343284f983 Bug 1309484 - initialise mPendingTextTrackChange in all constructors of TextTrackList. r=cpearce
MozReview-Commit-ID: JZQJfJK99Vl

--HG--
extra : rebase_source : 4f9526fe380896db7017381faa1b27089020749f
2016-10-12 10:40:48 +03:00
Sebastian Hengst 0f952f34dd Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/presentation. r=schien
MozReview-Commit-ID: 1tTdMntEo54

--HG--
extra : rebase_source : 6337b60928644891cd7f4e6fe3018c7eda5fa978
2016-09-29 19:53:44 +02:00
Sebastian Hengst ca9181b9de Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/push. r=kitcambridge
MozReview-Commit-ID: 2MbQ54EgOjh

--HG--
extra : rebase_source : f116c1563e6ec290a9be798af49363989b87311d
2016-09-29 19:53:44 +02:00
Carsten "Tomcat" Book 6df735c3b7 Merge mozilla-central to autoland 2016-10-04 12:03:18 +02:00
Carsten "Tomcat" Book 02f4754fbc merge mozilla-inbound to mozilla-central a=merge 2016-10-04 11:58:07 +02:00
Phil Ringnalda 6a7decdac1 Backed out changeset cf588a950083 (bug 1306235) for failures in at least test_xhr_progressevents.html and test_blobconstructor.html
MozReview-Commit-ID: HJlw9w1quhu
2016-10-03 23:30:44 -07:00
Nils Ohlmeier [:drno] 6f030a6694 Bug 1306782: remove B2G from WebRTC mochitest.ini. r=dminor
MozReview-Commit-ID: LACslRHbQFp

--HG--
extra : rebase_source : ab1fd30345073e3b07499bcaf09f2e806ba4c8bc
2016-09-30 16:49:26 -07:00
Eric Rahm e5be6e71b3 Bug 1307223 - Don't warning multiple times about WMF dlls failing to load. r=cpearce
We already report failure in |LoadDlls| on the initial failure to load, there's
no need to warn more than once per session.

MozReview-Commit-ID: FhsR2ZaMSLT

--HG--
extra : rebase_source : ae7d94af5c9d9253b82b2d45dc6967b5b21c6492
2016-10-03 14:02:15 -07:00
JW Wang cec63270ac Bug 1307022. Part 5 - move some code from OnNotDecoded() to various state objects. r=kaku
MozReview-Commit-ID: 1VFK80k6dg2

--HG--
extra : rebase_source : fe071cce91e4bd0b93d43e113cefba2376699a06
2016-09-30 17:27:31 +08:00
JW Wang 73014c126f Bug 1307022. Part 4 - move some code from OnVideoDecoded() to various state objects. r=kaku
MozReview-Commit-ID: 1Et6W4b78fG

--HG--
extra : rebase_source : 83ddbcb888cf9671c812f81930477857cec94520
2016-09-30 16:53:33 +08:00
JW Wang 57ec42f164 Bug 1307022. Part 3 - Use raw pointers to avoid unnecessary ref-counting. r=kaku
MozReview-Commit-ID: 4PsJjpvWAZW

--HG--
extra : rebase_source : 18be903eb3c23bf7950f0f72e1a19779481518a7
2016-09-30 16:51:12 +08:00
JW Wang 5c5d5f9583 Bug 1307022. Part 2 - move some code from OnAudioDecoded() to various state objects. r=kaku
MozReview-Commit-ID: OgboEaJBdj

--HG--
extra : rebase_source : 579823df012e5b41c8c07dcbb8e4c0b4a10509cb
2016-09-30 16:45:48 +08:00