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

44266 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 8e099726c1 Backed out changeset 069d6c54f461 (bug 1045891) for test failures like child-src-cross-origin-load.sub.html 2015-11-02 10:38:11 +01:00
Carsten "Tomcat" Book 30ff2fd956 Backed out changeset 26e162e72ae1 (bug 1045891) 2015-11-02 10:37:52 +01:00
Carsten "Tomcat" Book deb9310786 Backed out changeset 895c42544609 (bug 1045891) 2015-11-02 10:37:51 +01:00
dlee f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
John Lin 2f883c5504 Bug 1199809 - Make a copy of output buffer after flush(). r=sotaro 2015-11-01 23:25:00 +01:00
John Lin 7c5a9241cb Bug 1199809 - Refactor: use RAII to help manage output buffer lifecycle. r=sotaro 2015-10-29 21:14:00 +01:00
John Lin c405c5b4c1 Bug 1199809 - Don't schedule decoder I/O task when there will be more input. r=bwu 2015-10-29 21:14:00 +01:00
John Lin 62176cd8f0 Bug 1199809 - Create native window early to avoid race condition. r=jya
If AsyncAllocateVideoMediaCodec() run faster enough, mNativeWindow will be created after codecReserved() is called and we'll configure decoder w/o native window.
2015-10-29 21:14:00 +01:00
John Lin c806e89190 Bug 1199809 - Reset last decoded frame time on looper thread to avoid race condition. r=jya 2015-10-29 21:14:00 +01:00
John Lin 33bad36665 Bug 1199809 - Remove all references to unused task queue. r=jya 2015-10-29 21:14:00 +01:00
Boris Chiou 61c4d08674 Bug 1108055 - Part 4: Add ComputedTiming mochitests. r=birtles
Add test_animation-computed-timing.html in css-animations and
css-transitions.

--HG--
extra : rebase_source : 7bfee6909c7d929399cbdb2a2c462000b6215228
2015-11-02 00:37:00 +01:00
Boris Chiou 2c0d38d0d8 Bug 1108055 - Part 3: Implement GetComputedTiming method. r=birtles
Implement KeyframeEffectReadOnly::GetComputedTiming().

--HG--
extra : rebase_source : eae0dc0887bf559924ad96cead438d0e7eab9081
2015-10-23 00:48:00 +02:00
Boris Chiou b2d9321540 Bug 1108055 - Part 2: Refine ComputedTiming. r=birtles
Do some minor revisions in struct ComputedTiming.
1. Use Nullable<double> mProgress, so remove the static const kNullProgress.
   The generated ComputedTimingProperties dictionary uses "Nullable" variable,
   so we replace the origin type in ComputedTiming to make it more consistent
   with that in ComputedTimingProperties dictionary.
2. Use scoped enums for AnimationPhase.

--HG--
extra : rebase_source : 31280c867a30e7bcdcfe831cbc72ca08c8ddc762
2015-10-19 00:38:00 +02:00
Boris Chiou ba5bbe41ce Bug 1108055 - Part 1: Add ComputedTimingProperties dictionary. r=smaug
Add two dictionaries into AnimationEffectReadOnly.webidl:
1. AnimationEffectTimingProperties
2. ComputedTimingProperties
And then re-generate this class.

--HG--
extra : rebase_source : 81b2a3c08453cabcb2ac1334e6d4bde2c1bafeea
2015-10-13 22:17:00 +02:00
Kyle Machulis b8d7a7349c Bug 1218952 - Add support for object tags to youtube telemetry tracking; r=cpeterson 2015-10-30 16:03:00 +01:00
Gerald Squelart ccb6be36b4 Bug 1214018 - p4: Use machine_id_mac in GMPLoader - r=cpearce
Having HASH_NODE_ID_WITH_DEVICE_ID #defined is enough for GMPLoader to start
using the Mac version of GetRawMachineId.

Note: The stack (that may contain information gathered during GetRawMachineId)
is not erased, so it could theoretically be possible for a compromised GMP to
find out some sensitive user information. Another bug will deal with this.
2015-10-29 16:27:00 +01:00
Gerald Squelart c72882e4b1 Bug 1214018 - p3: Modify machine_id_mac for FF build - r=cpearce
Necessary routines were extracted from other files in:
6c3bf03265/
(otherwise a lot of code would have had to be imported, most of which would be
unused anyway.)
These extracted routines were reduced to only the actually-used code.

base::StringPrintf was only used to stringify a few hex values, this particular
use was easier to reimplement in a small loop rather than trying to extract the
whole printf suite.

base::UTF8toUTF16 is not needed, as we just return bytes. So internally a
std::string (containing UTF8) is used and its contents transferred to the
output buffer.
2015-10-29 20:20:00 +01:00
Gerald Squelart eb62c4044b Bug 1214018 - p2: Import machine_id_mac.cc from Chromium repo - r=cpearce
Retrieved from:
6c3bf03265/rlz/mac/lib/machine_id_mac.cc
2015-10-29 20:19:00 +01:00
Gerald Squelart b5784fbd39 Bug 1214018 - p1: Using vector to pass machine id - r=cpearce
GetRawMachineId was returning its generated data through a 'string16', which on
Windows was conveniently equivalent to a std::wstring.

However on Mac, wstring uses 32-bit characters, so in order to comply with the
string16 interface, a lot of non-trivial code would have to be imported and
vetted.

Also, in the end GMPLoader::Load passes this string16 to SHA256_Update() as a
sequence of bytes, the actual type of the data is lost!

So to simplify this work, GetRawMachineId will now return its data through a
vector of bytes, and the platform-dependent implementations may use whatever
data type they want internally.

The Windows GetRawMachineId actually returns the same data in this vector, so
it stays compatible with the previous code.
2015-10-29 16:25:00 +01:00
Kate McKinley d4da8266d4 Bug 1045891 - CSP 2 child-src implementation r=ckerschb 2015-10-28 16:32:27 -07:00
Kate McKinley 38bf8db214 Bug 1045891 - Tests for child-src r=ckerschb 2015-09-30 15:26:25 -07:00
Kate McKinley b10d0d0f16 Bug 1045891 - CSPDictionary change for child-src directive r=bholley 2015-09-30 15:25:19 -07:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan 00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan 7c373233ed Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : KjCvQzulwP3
extra : rebase_source : 01aae50d1ee8304e56d3d1e21a7c65c2f9060a72
2015-10-30 18:37:03 +13:00
JW Wang ef41bf18de Bug 1219984. Part 2 - add support for multiple arguments. r=kinetik. 2015-11-02 10:48:01 +08:00
JW Wang eb17eba41a Bug 1219984. Part 1 - remove EventPassMode::Both. In order to support multiple arguments, all arguments must be either moved or copied. r=kinetik. 2015-11-02 10:47:59 +08:00
JW Wang ea5e45da36 Bug 1219169. Part 2 - move MediaDecoderStateMachine::OnTaskQueue() to private. r=jya. 2015-11-02 10:36:50 +08:00
JW Wang 89a23d426c Bug 1219169. Part 1 - Remove AbstractMediaDecoder::OnStateMachineTaskQueue(). r=jya. 2015-11-02 10:36:48 +08:00
Jean-Yves Avenard bd9b321d2d Bug 1219134: P4. Properly assign the decoded sample duration. r=edwin
We default to the previous logic if for some unlikely condition we couldn't find the frame's duration (using the last input frame's duration)
2015-11-02 12:18:42 +11:00
Jean-Yves Avenard c21fe67619 Bug 1219134: P3. Properly set the keyframe flag. r=edwin
We were incorrectly setting the keyframe flag of the last input sample rather than of the decoded one.
2015-11-02 12:18:41 +11:00
Jean-Yves Avenard 3787f2d9e5 Bug 1219134: P2. Use LibAV/FFmpeg logic to detect invalid pts. r=edwin
The logic was extracted from LibAV cmdutils.c. FFmpeg provides an API for that (av_frame_get_best_effort_timestamp()) unfortunately this isn't provided by LibAV.
So copy the logic instead in order to keep compatibility with the two forks.
2015-11-02 12:18:40 +11:00
Jean-Yves Avenard fe233d60f5 Bug 1219134: P1. Fix pts calculation in FFmpeg video decoder. r=edwin
This is the primary reason why we got no pts returned (pts were set to 0) when using early version of LibAV. Apparently you are expected to set the pts when allocating the buffer of a frame.
This is undocumented, but both LibAV and FFmpeg do so internally. So do the same.
2015-11-02 12:18:40 +11:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Brian Birtles 67a7daaa2f Bug 1216846 - Don't update hold time when completing a pause if it is already set; r=heycam
The Animation.pause() method operates asynchronously since, if the animation is
currently running on the compositor, we should wait for the animation to stop
on the compositor before establishing the pause time. Otherwise, if the
compositor is ahead of the main thread and we use the main thread's notion of
the current time to establish the pause time, the animation will jump backwards
when we take it off the compositor.

This pause time is represented using the "hold time".

However, when we have a finished animation, its current time is not advancing
but rather its current time is fixed to its end time. This too is represented
using the hold time. As a result, if we pause a finished animation we should
not update its hold time (by calculating the current time from the start time)
but just continue to use the existing hold time. This is true of any other
situation where we might have set the hold time before or during pausing.
2015-11-02 08:33:58 +09:00
Karl Tomlinson bb8a93dc33 bug 1217625 remove unused MessageQueue() and document message queue thread access r=padenot
--HG--
extra : rebase_source : f28aa4521c0d9c7b323a9f280e5c3be367594b18
2015-09-17 17:08:10 +12:00
Karl Tomlinson aecb657d3f bug 1217625 remove declarations of undefined methods r=padenot
--HG--
extra : rebase_source : 415301098f40103aaa1fb5986c12101b8e8009b7
2015-10-22 16:46:06 +13:00
Karl Tomlinson 6f17ae280f bug 1187785 bind frequencyIndex by value instead of reference
to test all indices, not the last one several times.

--HG--
extra : rebase_source : 8176094474ddfefcc4e021f772a211577b5ec3f8
2015-10-30 10:07:14 +13:00
Karl Tomlinson 08b9621b96 bug 1220042 make AlignedTArray base class inheritance private r=jwwang
because base class methods will not be safe with different Elements() and
Length() methods.

--HG--
extra : rebase_source : 7616f0eb12e1d8098620682f6eb9b4c5f40f873f
2015-10-29 22:58:10 +13:00
Bill McCloskey 019e2bad98 Bug 1151112 - 'Sending message that cannot be cloned. Are you trying to send an XPCOM object?' seen when unlocking phone. r=ferjm 2015-11-01 12:10:56 +01:00
Jeff Walden 790d87d4be Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
--HG--
extra : rebase_source : b412e298217a2857bf34b73b1128c97cc047e6af
2015-10-30 16:14:32 -07:00
Jeff Muizelaar 39da8cb22b Bug 1219027. Fix unbinding transformfeedback when deleting it. r=djg
I believe this was the original intention of the code.
This fixes deletion conformance tests.
2015-10-27 18:01:29 -04:00
Phil Ringnalda ac9b0f76d1 Back out changeset 6c239220f990 (bug 1207546) on desperate last-ditch suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve 2015-10-31 15:01:09 -07:00
Phil Ringnalda 67fb9eeb55 Back out changeset 5e23a96f0b4f (bug 1219027)on suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve 2015-10-31 14:14:23 -07:00
Phil Ringnalda 9e4744cd33 Bug 1219842 followup, redisable dom/plugins/test/mochitest/test_crashing.html on debug e10s until its assertion problem is dealt with 2015-10-31 13:53:31 -07:00
Phil Ringnalda fef220b6d5 Bug 1219842 followup, redisable dom/events/test/test_bug967796.html on e10s since it fails a lot 2015-10-31 13:48:58 -07:00
Phil Ringnalda cb269c3076 Back out changeset 81b802b69a74 (bug 1213154) for Linux/Mulet webgl reftest failures
CLOSED TREE
2015-10-31 11:58:18 -07:00
Ben Kelly cd7a409e01 Bug 1219852 P2 Report non-response values passed to FetchEvent.respondWith(). r=bz 2015-10-31 10:34:20 -07:00
Ben Kelly 6eedccec9c Bug 1219852 P1 Extract common JS values for rejected respondWith() promises. r=bz 2015-10-31 10:34:20 -07:00
Jeff Muizelaar 0e971a32ac Bug 1219027. Fix unbinding transformfeedback when deleting it. r=djg
I believe this was the original intention of the code.
This fixes deletion conformance tests.
2015-10-27 18:01:29 -04:00