Commit Graph

252018 Commits

Author SHA1 Message Date
Nate Hughes
475f3612b1 Bug 1136727 - Validate pseudo-header fields in HTTP/2. r=hurley 2015-07-08 13:24:07 -07:00
Tooru Fujisawa
e973910f37 Backed out changeset b9b555396153 (bug 1181063) 2015-07-09 17:53:33 +09:00
Masayuki Nakano
66bc91dddb Bug 1181714 nsTextStore should store previous focused document manager until new document manager actually gets focus r=m_kato 2015-07-09 17:30:07 +09:00
Tooru Fujisawa
3f6a421004 Bug 1181151 - Fix Registers::GetName typedef issue with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
3bec725281 Bug 1181152 - Make Trampoline-mips.cpp compile with clang. r=rankov 2015-07-09 17:26:12 +09:00
Tooru Fujisawa
8c46222b26 Bug 1181063 - Use mozilla::IsNaN and mozilla::IsInfinite in Simulator-vixl.cpp. r=Waldo, r=sstangl 2015-07-09 17:26:12 +09:00
Jon Coppeard
fac3fdf014 Bug 1181306 - Skip compacting phase when finishing an incremental GC non-incrementally r=terrence 2015-07-09 08:38:00 +01:00
JW Wang
2267a813eb Bug 1181504. Part 2 - remove MediaDecoderStateMachine::mAudioStartTime. r=kinetik. 2015-07-09 11:07:57 +08:00
JW Wang
6cfa022619 Bug 1181504. Part 1 - add assertions to MediaDecoderStateMachine::GetAudioClock(). r=kinetik. 2015-07-09 11:07:27 +08:00
Chris Pearce
5f5c753dbd Bug 1174593 - Null check context compartment in GetCurrentJSStack(). r=bholley 2015-07-09 19:29:17 +12:00
Chris Pearce
a56cd9db3b Bug 1181454 - Give up checking for Adobe EME plugin files if e10s is on until we get a proper fix. r=edwin 2015-07-09 19:29:13 +12:00
Jose Antonio Olivera Ortega
2a6adebd4c Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. Test. r=baku 2015-07-09 09:26:04 +02:00
Jose Antonio Olivera Ortega
2becb751d9 Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. r=baku 2015-07-09 09:25:55 +02:00
Boris Zbarsky
3bc95b7aa6 Bug 1181747 followup. Also need to adjust the assert in the test. 2015-07-09 02:49:10 -04:00
Boris Zbarsky
7d8173071e Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley 2015-07-09 02:41:43 -04:00
Boris Zbarsky
de55ddcd67 Bug 1181747. Remove uses of mozRequestAnimationFrame from add-on SDK. r=wkocher 2015-07-09 02:41:31 -04:00
Mark Goodwin
2845785c4e Bug 1159155 - Add telemetry probe for SHA-1 usage - some tests (r=keeler) 2015-07-09 07:22:32 +01:00
Mark Goodwin
fc2d7be9e8 Bug 1159155 - Add telemetry probe for SHA-1 usage (r=keeler) 2015-07-09 07:22:29 +01:00
Jean-Yves Avenard
b625ffc87b Bug 1181894: Always create a PlatformDecoderModule in CDMWrapper. r=cpearce
Not all tracks may be encrypted, as such we need a default PDM in order to decode non-encrypted data.
2015-07-09 16:18:05 +10:00
Makoto Kato
f1701ab7c8 Bug 1179695 - Remove mWasAsync from WidgetQueryContentEvent. r=masayuki,nchen 2015-07-09 15:09:56 +09:00
Xidorn Quan
93aa4a72d8 Bug 1180443 - Consider whitespace collapse when calculating intrinsic isize of ruby. r=dbaron 2015-07-09 16:05:26 +10:00
Phil Ringnalda
e96bb3a6ed Back out 2 changesets (bug 1178988) for b2g emulator opt xpcshell failure in test_ocsp_url.js
CLOSED TREE

Backed out changeset 2c5d5eb434b9 (bug 1178988)
Backed out changeset 936d991c4cbc (bug 1178988)
2015-07-08 22:49:12 -07:00
Phil Ringnalda
2b52060034 Back out 6e49d0bf0819 (bug 1169639) for hazard build failures
CLOSED TREE
2015-07-08 19:56:40 -07:00
Ting-Yu Lin
907ddc6d00 Bug 1181424 - Add pref nglayout.debug.invalidation to all.js. r=mattwoodrow
By doing so, we can easily toggle this preference in about:config.
2015-07-07 19:49:00 +08:00
Jean-Yves Avenard
147a590aaf Bug 1181439: Include init segment range when calling NotifyDataArrived. r=cpearce 2015-07-09 11:06:07 +10:00
Jean-Yves Avenard
dbad274e64 Bug 1180403: P2. Prevent crash when shutting down. r=cpearce 2015-07-09 11:06:07 +10:00
Jean-Yves Avenard
2f751fffd0 Bug 1180403: P1. Ensure buffered index is up to date. r=cpearce 2015-07-09 11:06:07 +10:00
Andrea Marchesini
00307929f0 Bug 1181528 - nsISimpleEnumerator.h is needed by nsDocument.cpp, r=smaug 2015-07-09 01:36:35 +01:00
Andrea Marchesini
7df0c76d82 Bug 1181595 - Improve null checks in MessagePort::RemoveDocFromBFCache, r=smaug 2015-07-09 01:34:37 +01:00
Ted Mielczarek
8c993ef449 bug 890026 - Add mozcrash.kill_and_get_minidump r=jimm 2013-07-31 10:41:33 -04:00
Chris Manchester
03bff54a5c Bug 1181732 - Fix invocations of gen_test_packages_manifest.py to create destination directory before attempting to write output file. r=glandium 2015-07-08 13:51:32 -07:00
Brian Birtles
df99d6e31d Bug 1150810 part 16 - Add tests for AnimationTimeline.getAnimations(); r=jwatt 2015-06-15 11:05:43 +09:00
Brian Birtles
728332e869 Bug 1150810 part 15 - Add a comment about need to store more than just relevant animations; r=jwatt
We'll likely address this as part of bug 1151731 when we sample animations from
their timeline.
2015-06-15 11:05:43 +09:00
Brian Birtles
b3b286bc91 Bug 1150810 part 14 - Don't return animations targetting pseudo-elements; r=jwatt 2015-06-15 11:05:43 +09:00
Brian Birtles
8e773aba10 Bug 1150810 part 13 - Sort the result of AnimationTimeline::GetAnimations; r=jwatt 2015-06-15 11:05:43 +09:00
Brian Birtles
1044b8c708 Bug 1150810 part 12 - Flush styles in AnimationTimeline::GetAnimations(); r=jwatt 2015-06-15 11:05:43 +09:00
Brian Birtles
b6e612666f Bug 1150810 part 11 - Add some assertions to AnimationTimeline::GetAnimations; r=jwatt 2015-06-15 11:05:43 +09:00
Brian Birtles
f967d3dad9 Bug 1150810 part 10 - Add AnimationTimeline::GetAnimations; r=jwatt; r=smaug
This patch also removes the (commented-out) play() method from the
AnimationTimeline.webidl since it has been removed from the spec.
2015-06-15 11:05:43 +09:00
Brian Birtles
b28f292a64 Bug 1150810 part 9 - Add relevant animations to timeline; r=jwatt
We only store relevant animations on the timeline. Relevant animations are
any animations that are running or yet to run ("current animations") or
which have finished but are still applying a fill mode ("in effect animations").

AnimationTimeline.getAnimations() only ever returns relevant animations so
this is the minimum set we need to keep track of. Keeping track of any more
than this would prevent us from garbage-collecting any no longer relevant
animations since we keep a strong reference to this animations.

The reason we keep a strong reference is that if an animation is attached to
a timeline, even if there are no references to it from script or markup it
needs to be kept alive in order to dispatch events or resolve promises. An
irrelevant animation however is not going to do either of these things without
outside intervention so we don't need to keep it alive.
2015-06-15 11:05:43 +09:00
Brian Birtles
986793f780 Bug 1150810 part 8 - Add AnimationTimeline::AddAnimations/RemoveAnimations; r=jwatt 2015-04-28 16:41:09 +09:00
Brian Birtles
12879b1348 Bug 1150810 part 7 - Add Animation::SetTimeline; r=jwatt 2015-04-28 17:21:58 +09:00
Brian Birtles
ad5ac012b2 Bug 1150810 part 6 - Rename Timeline() to GetTimeline(); r=smaug
This is in anticipation of adding Animation::SetTimeline(). Once we set the
timeline out of band, there's a chance that getting it could return null so
this patch makes the WebIDL and method name reflect that.
2015-04-28 16:25:07 +09:00
Brian Birtles
d3efa42100 Bug 1150810 part 5 - Handle Timeline() returning null; r=jwatt 2015-04-28 12:49:12 +09:00
Brian Birtles
cd630f438e Bug 1150810 part 4 - Store global on Animation; r=smaug, jwatt
The connection between an Animation and an AnimationTimeline is optional. That
is, it is possible to have an Animation without an AnimationTimeline. Until now
we have often just assumed the timeline will be set but eventually we need to
support the possibility of the timeline being null. Indeed, later in this patch
series we will set the timeline out-of-band (i.e. not in the constructor) using
SetTimeline which opens up the possibility that timeline will be null for
a period of time.

This patch paves the way for having an optional timeline by storing the global
used for, e.g. creating promises, on the Animation object itself.
2015-04-28 15:48:35 +09:00
Brian Birtles
70ca5ce014 Bug 1150810 part 3 - Make IsPossiblyOrphanedPendingAnimation return true when there is no rendered doc; r=jwatt
This appears to be an existing bug.
2015-04-28 15:47:45 +09:00
Brian Birtles
128bbb53ef Bug 1150810 part 2 - Replace references to DocumentTimeline with AnimationTimeline; r=jwatt
This is needed not only for supporting other kinds of timelines, but also for
when we come to implement SetTimeline(AnimationTimeline* aTimeline).
2015-04-28 11:29:13 +09:00
Brian Birtles
3b62eec6f6 Bug 1150810 part 1 - Move DocumentTimeline methods up to AnimationTimeline; r=jwatt
This is not strictly necessary yet but we will want to implement methods
like GetAnimations() on the base class, AnimationTimeline, so we may as well do
that now rather than adding that code to DocumentTimeline and moving it later.
2015-04-28 11:17:10 +09:00
Brian Birtles
c4f8b27475 Bug 1171817 part 16 - Always cancel transitions before removing them; r=dbaron
Earlier in this patch series we added an assertion to the destructor for
CSSAnimation and CSSTransition to check that the owning element has been
cleared when the animation is destroyed.

This assertion fails, however, for transitions because there are a two
code paths where a transition may be destroyed without being cancelled.
This patch adjusts those two code paths to ensure transitions are always
cancelled before being destroyed.
2015-07-09 08:05:16 +09:00
Brian Birtles
7d4395728f Bug 1171817 part 15 - Factor out common code for comparing owning elements into a separate class; r=dbaron 2015-06-09 11:13:54 +09:00
Brian Birtles
a44ee78b26 Bug 1171817 part 14 - Add AnimationPtrComparator class; r=dbaron
Having created composite ordering methods for the different kinds of animations
this patch adds a Comparator class so that they can be used to sort an
array of such animations.

This patch uses this Comparator object to sort the results returned by
Element.getAnimations. For this case, the order in which we create animations
and transitions happens to almost perfectly correspond with the composite
ordering defined so that no sorting is necessary.

One exception is that some -moz-* transitions may be created after transitions
that they should sort before when sorting by transition property. In this
case the sorting added in this patch should ensure they are returned in the
correct sequence.

Unfortunately, we can't easily test this since the test files we have are
intended to be cross-browser (where -moz-* properties won't be supported).

Once we implement AnimationTimeline.getAnimations (bug 1150810) we'll have
a better opportunity to test this sorting. For now, the added tests in this
patch just serve as a regression test that the sorting hasn't upset the
already correct order (and an interop test in future once we move them to
web-platform-tests).
2015-06-09 11:13:54 +09:00