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

51592 Коммитов

Автор SHA1 Сообщение Дата
Mantaroh Yoshinaga 943f1fd84b Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
MozReview-Commit-ID: Kf7PzzAH9Tj

--HG--
extra : rebase_source : 29f8eb0a6f3a624ff9c5af07f558bd5522847844
2016-06-29 10:59:35 +09:00
Carsten "Tomcat" Book 261fe13dcd merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Carsten "Tomcat" Book b043df6724 Backed out changeset a2c87cb66cce (bug 1281115) for causing frequent timeouts in test_ResumeAfterClearing_mp4.html 2016-06-28 13:53:10 +02:00
Wes Kocher c73d13f1bb Merge m-c to fx-team, a=merge 2016-06-27 14:09:55 -07:00
Wes Kocher a5dca92e10 Merge inbound to central, a=merge 2016-06-27 14:04:56 -07:00
Wes Kocher cd463132d8 Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
bechen 727ebe7fcf Bug 1277192 - Correct the association between Cue and TextTrack. r=rillian
MozReview-Commit-ID: 2B2swKL4iM2

--HG--
extra : transplant_source : %C9%C2%EE%A9%2A%FA%80v%7D%B2s%01%B4%A5%B4%98%F2z%06%D0
2016-06-27 10:41:20 +08:00
Andreas Farre 6e8409f046 Bug 1282375 - Add missing namespace qualifiers. r=baku
MozReview-Commit-ID: DUtnCS8xeFn
2016-06-27 02:47:00 +02:00
Alfredo Yang b1e6bc8fcb Bug 1282014: check duration when set seek target. r=jwwang
MozReview-Commit-ID: 9ktjaL07sFA

--HG--
extra : rebase_source : 3e80bf8f8b84bb022a3023a40235c14c900cd7bc
2016-06-24 16:00:45 +08:00
Mantaroh Yoshinaga 34329c9de8 Bug 1267510 part 6 - Add animation test of gecko dependent. r=birtles
MozReview-Commit-ID: 1ZnXUCECMiH

--HG--
extra : rebase_source : 8614f8416b005e9a8157427e6d31427461e4431f
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga 055d720954 Bug 1267510 part 4 - Modify WebIDL of DocumentTimeline. r=smaug
The specification of DocumentTimeline interface is as follow.
https://w3c.github.io/web-animations/#the-documenttimeline-interface

MozReview-Commit-ID: jmcJPiVK9i

--HG--
extra : rebase_source : 9ceb4cd2211fa08ee51742fbe659aba6864cff86
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga 5b4de2dcff Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
MozReview-Commit-ID: CqqDlHQsm0p

--HG--
extra : rebase_source : 6f6f4583ffa57a4375af62c64a76081902b1f361
2016-06-27 08:09:32 +09:00
Mantaroh Yoshinaga a9ead4dd43 Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
MozReview-Commit-ID: Kf7PzzAH9Tj

--HG--
extra : rebase_source : 1cb1ff9f06c778d55f8a4a6beedccba946a31fbc
2016-06-27 08:09:31 +09:00
Christoph Kerschbaumer 25f6f710d7 Bug 1100181 - CSP: Enforce connect-src when submitting pings. r=arroway 2016-06-24 15:25:11 +02:00
Olli Pettay b8eb7f0a9e Bug 1274806, got NS_ERROR_UNEXPECTED error when I call range.extractContents() for DOM element with iframe , r=mats 2016-06-27 01:16:27 +03:00
Arthur Edelstein 54c8149d55 Bug 1281949 - When resisting fingerprinting, spoof screen.orientation
When privacy.resistFingerprinting is enabled, make sure that
screen.orientation.angle -> 0 and
screen.orientation.type -> "landscape-primary"

Also refactors screen.mozOrientation.

Based on https://trac.torproject.org/18958
2016-06-24 09:53:00 -07:00
Paul Adenot 5e9d303d47 Bug 1269741 - Allow resuming a suspended AudioContext in the same event loop run. r=karlt
MozReview-Commit-ID: L7WlO96d2vh
2016-06-27 14:17:38 +02:00
Boris Chiou 2768dbb547 Bug 1244590 - Part 9: Update spacing in SetTarget. r=birtles
Handle these cases:
1. When creating null-target effect whose spacing mode is "paced":
 - Fall back to distribute spacing. This case is already included by previous
   patches.

2. When setting a target to null:
 - Apply distribute spacing.

3. When style context is null.
 - Fall back to distribute spacing.

4. When setting a new valid target:
 - Use this new target as the context element and re-calculate the computed
   offsets. This case is already included by previous patches.

MozReview-Commit-ID: 1zhSOAylnZb

--HG--
extra : rebase_source : e2988f433f395a398090dc08f262b0154de3dc50
2016-05-11 15:34:58 +08:00
Boris Chiou 0a3a365c73 Bug 1244590 - Part 8: Rewrite GetStyleContext code. r=birtles
Do a simple refactor, so we can reuse the getter of nsStyleContext.

MozReview-Commit-ID: 4BQ7f8HuFns

--HG--
extra : rebase_source : 37bbf6af795484c5d80d308683e4fcdfe23c7a1a
2016-05-11 11:41:20 +08:00
Boris Chiou 34e916b2cb Bug 1244590 - Part 7: Calculate paced spacing. r=birtles
Calculate the paced spacing for each Keyframes by the context element. Use the
algorithm in the spec.

MozReview-Commit-ID: HFWQwoKhKWt

--HG--
extra : rebase_source : 40112eb1f722179cfc0a4ccbd188e22bc7af9b9b
2016-05-27 18:09:06 +08:00
Boris Chiou 95267f5a26 Bug 1244590 - Part 6: Refactor the calculation of StyleAnimationValue. r=birtles
We want to reuse the StyleAnimationValues of properties of each keyframe when
applying spacing and building animation property segments, so refactor this
part.

MozReview-Commit-ID: 8G56C3BU3FR

--HG--
extra : rebase_source : 73b6d374ac8bd25645d1b1b2f15f4e778b3ec949
2016-05-25 17:10:53 +08:00
Boris Chiou 10a18165f4 Bug 1244590 - Part 5: Make the default value of computed offsets be -1. r=birtles
When we apply paced spacing, we have to check if there are still null computed
offsets after applying paced spacing to paceable Keyframes because the
calculation of distance may be failed or some Keyframes are not paceable in
the specific range. Therefore, using -1 would be easier to check it.
Also, add a const, kComputedOffsetNotSet, to represent this invalid value.

MozReview-Commit-ID: GPhj7cdiX2W

--HG--
extra : rebase_source : 8c4e7769c454fe50eb1cc08db63866dcc4ed62e5
2016-05-12 16:00:47 +08:00
Boris Chiou 8c0079ef08 Bug 1244590 - Part 4: Rewrite ApplyDistributeSpacing. r=birtles
Rename it to ApplySpacing, and let it handle both distribute and paced mode.

MozReview-Commit-ID: 2kGA6LMHUsz

--HG--
extra : rebase_source : ebd5566392b1ea6a4a445ff7c3ed81cdc94bdded
2016-05-10 17:40:53 +08:00
Boris Chiou 03d90dd78b Bug 1244590 - Part 3: Parse spacing. r=birtles
We only support spacing mode from Web Animations API, so add a simple parser and
use it only from the API. In this patch, parse spacing mode from the constructor
and throw TypeError if we have any parse error.

MozReview-Commit-ID: 9H7g80IcZfZ

--HG--
extra : rebase_source : e1bc781ff0f20a1a38c04e672832ec013edc549d
2016-05-13 16:38:25 +08:00
Thomas Nguyen ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Boris Chiou 09edce9d1d Bug 1244590 - Part 2: Retrieve KeyframeEffectOptions from constructor. r=birtles
MozReview-Commit-ID: DtkJ6eLj4tl

--HG--
extra : rebase_source : 77d4fc6a22d2504191c81bba0bbc72387e65ba2a
2016-05-05 18:50:16 +08:00
Boris Chiou c55ea50fab Bug 1244590 - Part 1: Introduce KeyframeEffectParams. r=birtles
Add a new file, KeyframeEffectParams.h, and define the basic data
members nsString for the spacing mode.
Also, add one more argument, const KeyframeEffectParams&, to the
constructors of KeyframeEffect(ReadOnly).

MozReview-Commit-ID: I7LYlnv6LLb

--HG--
extra : rebase_source : 9aebb7b9659588674c2a954eb2ce62c827bc9830
2016-05-05 15:41:03 +08:00
Paul Adenot a3c568891c Bug 1269741 - Test. r=karlt
MozReview-Commit-ID: 9dl3e5eTOKV
2016-05-04 14:25:52 +02:00
Paul Adenot 05d76a6ef9 Bug 1281408 - Nullcheck `mInputPort` in MediaStreamAudioSourceNode to prevent crashing when getting memory reports after the underlying MediaStream has been destroyed. r=pehrsons
MozReview-Commit-ID: 7OzFPmLVJA5

--HG--
extra : rebase_source : 50af142059a0d45521f42cf00c8f22344ffa72ec
2016-06-22 18:20:46 +02:00
Alexandre Lissy 1d8ace6878 Bug 1282571 - Followup of 1281748 Remove BlobSet.h r=baku
MozReview-Commit-ID: 92TmpwWdVmU

--HG--
extra : rebase_source : fbdf4ba38fc9de283d7e328efd9671fe13426925
2016-06-27 23:22:10 +02:00
Chih-Yi Leu c2c58e120e Bug 1221730 - Update mochitest. r=qdot
--HG--
extra : rebase_source : 981798b3dc3020ad4c4fea717e6dba4ec67fe57f
2016-06-28 00:27:00 +02:00
Chih-Yi Leu 810f0727b1 Bug 1221730 - Postpone singleton release in GamepadPlatformService::MaybeShutdown. r=baku
--HG--
extra : rebase_source : 4031bb8e791fa1c915261f3b2eaece28ebadb283
2016-06-28 00:27:00 +02:00
Chih-Yi Leu 8733310923 Bug 1221730 - Change GamepadServiceTest into webidl. r=qdot, r=baku
--HG--
extra : rebase_source : 8e04725e80467a17d1a1a775f791782abe842c1b
2016-06-28 00:26:00 +02:00
Chih-Yi Leu 42a49e9e8c Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
--HG--
extra : rebase_source : 5ad6d31a770d0d7b1b10d6aebf693ed24fc956ca
2016-06-28 00:25:00 +02:00
Chih-Yi Leu a9d436891b Bug 1221730 - Remove Observers in Windows gamepad backend. r=qdot
--HG--
extra : rebase_source : 476ae0a01288f613325967287fd68b5f52771550
2016-06-28 00:25:00 +02:00
Christoph Kerschbaumer 24fbc29c99 Bug 1188642 - Use channel->ascynOpen2 in dom/base/nsObjectLoadingContent.cpp r=smaug 2016-06-28 09:37:55 +02:00
Alfredo Yang dc6aa95260 Bug 1281115: add SetSeekThreshold for ffmpeg. r=jwwang
MozReview-Commit-ID: 4Vfkz0dGgEk

--HG--
extra : rebase_source : ccb706cc7ff0c7389c43c785aaad3de3bafaa6fd
2016-06-21 16:13:57 +08:00
Brian Birtles 7dbb4e5cf3 Bug 1276688 part 2 - Add tests for entries array handling when ComputeValues fails; r=heycam, r=smaug
MozReview-Commit-ID: DIQyt7f91an
2016-06-28 16:10:10 +09:00
Dan Glastonbury 3224020227 Bug 1281632 - P6: Extract parameters to GMPAudioDecoder into struct. r=gerald
MozReview-Commit-ID: 7UXY5uEQUtj

--HG--
extra : rebase_source : 1f947526ab0bfafe8e7859627473ba578cdb4f87
2016-06-28 17:56:56 +12:00
Dan Glastonbury 55f422c73a Bug 1281632 - P5: Extract parameters to GMPVideoDecoder into struct. r=gerald
MozReview-Commit-ID: UICBFgDHBm

--HG--
extra : rebase_source : b411444ccc7fce9587fa43a0dcefac46cfe98486
2016-06-28 17:56:56 +12:00
Dan Glastonbury 8df918b09d Bug 1281632 - P4: Add VideoInfo ctor that takes nsIntSize. r=gerald
MozReview-Commit-ID: 1n4MdfoQtDY

--HG--
extra : rebase_source : bc9a410fb11f7f29c6287e39fd08f86c6a8e390a
2016-06-28 17:56:55 +12:00
Dan Glastonbury 406306643a Bug 1281632 - P3: Move EMEAudioDecoder/EMEVideoDecoder ctors. r=gerald
MozReview-Commit-ID: 1Q90g3ehkXf

--HG--
extra : rebase_source : d9c6fe463e5808ae3c9dd3849cfd5ae807824d95
2016-06-28 17:56:55 +12:00
Dan Glastonbury 5de2ec4fa5 Bug 1281632 - P2: Reduce GMPAudioDecoder/GMPVideoDecoder ctor count. r=gerald
This means we expose fewer constructors, and the definition is in the .cpp file
so changing it won't cause lots of things to recompile.

MozReview-Commit-ID: DY7UCYfOb25

--HG--
extra : rebase_source : b753c87d00cafc897749d9d7a550ee0cccb59ddf
2016-06-28 17:56:55 +12:00
Dan Glastonbury 1b2a65cfc3 Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.

This makes it easier to add more arguments to the Create*Decoder calls in future.

MozReview-Commit-ID: 9LZlcfRVz6A

--HG--
extra : rebase_source : ce3f0c7d0784b96267728697ff5d535ccb8ee7a6
2016-06-28 17:56:55 +12:00
Phil Ringnalda 141b0f62f3 Back out 9b419a38b9c9 (bug 1280507) for breaking offscreencanvas on Windows (even more than its usual broken state) 2016-06-27 22:48:17 -07:00
Matthew Gregan 5abc4a0cdb Bug 1282592 - Fix compile error in nsDOMWindowUtils::GetSupportsHardwareH264Decoding when building without MP4 support. r=cpearce 2016-06-28 15:02:09 +12:00
Morris Tseng 8f2f91c668 Bug 1247977 - Log detailed error message when FakeBlackTexture creation fail. r=jgilbert
MozReview-Commit-ID: EqmsZfIE1be
2016-06-28 10:37:38 +08:00
peter chang 24e5309e4d Bug 1281991 - Clean up WebGLSync objects before WebGL context lost, r=jgilbert
MozReview-Commit-ID: 8JnoRPetpKQ

--HG--
extra : rebase_source : dafaaa68f640b7b71bcdc0028a70cabb65270e08
2016-06-23 17:01:36 +08:00
Sotaro Ikeda f35a68e9f9 Bug 1282341 - Add ImageContainer::ClearCachedResources() r=nical 2016-06-27 18:25:01 -07:00
Jeff Gilbert bd1dee4c86 Bug 1280507 - Simplify context loss handler. - r=jrmuizel
Use a self-referential RefPtr instead of manual AddRef/Release.
Reuse DisableTimer for when a worker is dead.

MozReview-Commit-ID: E1Cv9M7rbe2
2016-06-27 20:36:28 -04:00