Commit Graph

29044 Commits

Author SHA1 Message Date
Brian Birtles
552dde3df1 Bug 927349 part 25 - Test cancelling of players; r=heycam 2014-12-25 16:28:24 +09:00
Brian Birtles
8072edc65e Bug 927349 part 24 - Add a test that empty animations still start; r=heycam 2014-12-25 16:28:24 +09:00
Brian Birtles
5313657ff2 Bug 927349 part 23 - Wait on player.ready on test_running_on_compositor.html; r=jwatt 2014-12-25 16:28:24 +09:00
Brian Birtles
e94d9a97ea Bug 927349 part 22 - Make AnimationPlayer wait for animations to be rendered before starting; r=jwatt
This patch (finally!) introduces the delayed start behavior. It updates
AnimationPlayer::DoPlay to put animations in the PendingPlayerTracker from
where they are triggered.

This patch also updates nsTransitionManager to set the animation's source
before calling Play as otherwise the AnimationPlayer won't be able to access
the pending player tracker (which it locates by navigating AnimationPlayer ->
Animation (source content) -> target element -> composed doc -> pending player
tracker). In future, when we support setting the AnimationPlayer.source property
we will make this more robust so that the order in which these steps are
performed doesn't matter.

This patch also updates a couple of tests to reflect the fact that
AnimationPlayer will now return the pending state.
2014-12-25 16:28:24 +09:00
Phil Ringnalda
d24a57bdfd Backed out 4 changesets (bug 1116821, bug 1110928) for Windows OOMs
CLOSED TREE

Backed out changeset 9d593597df5f (bug 1110928)
Backed out changeset d68c75986335 (bug 1110928)
Backed out changeset 21d807074550 (bug 1110928)
Backed out changeset ca77252e50dd (bug 1116821)
2015-01-04 21:12:19 -08:00
Christoph Kerschbaumer
88c83107b4 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Andrew McCreight
23afe7c9b0 Bug 1110928, part 3 - Try to pass a relevant zone to PokeGC. r=smaug
This means the browser will do less full GCs.
2015-01-04 17:46:50 -08:00
Andrew McCreight
a8c632a6f8 Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.
2015-01-04 17:46:50 -08:00
Andrew McCreight
80929ad07e Bug 1116821 - Don't PokeGC in SetNewDocument. r=smaug 2015-01-04 17:46:49 -08:00
Andrew McCreight
ce936251a4 Bug 1088268 - Use a switch statement in DOMGCSliceCallback. r=smaug 2015-01-04 17:46:49 -08:00
Phil Ringnalda
83787edc3c Backed out 7 changesets (bug 1018320)
Backed out changeset 2ef1c26d77d3 (bug 1018320)
Backed out changeset bce9ed290ddd (bug 1018320)
Backed out changeset 8c01c134e40f (bug 1018320)
Backed out changeset 46353577ef7a (bug 1018320)
Backed out changeset edf5737d6e0e (bug 1018320)
Backed out changeset c6fcdd1c681f (bug 1018320)
Backed out changeset 5e26604cc6e0 (bug 1018320)
2015-01-04 08:40:27 -08:00
Jason Orendorff ext:(%2C%20Till%20Schneidereit%20%3Ctill%40tillschneidereit.net%3E)
6f2c5ad18c Bug 911142 - Make the "length" property of function objects configurable. r=Waldo.
Thanks to Till Schneidereit for a bunch of test fixes.
2014-09-29 11:38:53 -05:00
Andrea Marchesini
94a6a86c31 Bug 1018320 - RequestSync API - patch 7 - reject promise when an exception is thrown, r=fabrice 2015-01-04 10:37:24 +01:00
Andrea Marchesini
205679b3f7 Bug 1018320 - RequestSync API - patch 6 - Manager API, r=ehsan 2015-01-04 10:37:18 +01:00
Andrea Marchesini
e0c9ad5d76 Bug 1018320 - RequestSync API - patch 5 - mozSetMessageHandlerPromise, r=fabrice 2015-01-04 10:37:11 +01:00
Andrea Marchesini
058b8f3dc5 Bug 1018320 - RequestSync API - patch 4 - sendAsyncMessage used to schedule tasks, r=ehsan 2015-01-04 10:37:03 +01:00
Andrea Marchesini
57b7a2f9e4 Bug 1018320 - RequestSync API - patch 3 - a Promise return value from sendAsyncMessage, r=fabrice 2015-01-04 10:36:58 +01:00
Andrea Marchesini
786ed5edbb Bug 1018320 - RequestSync API - patch 2 - Wifi Only, r=ehsan 2015-01-04 10:36:53 +01:00
Andrea Marchesini
93d0f41a19 Bug 1018320 - RequestSync API - patch 1 - webIDL and basic logic, r=ehsan 2015-01-04 10:36:46 +01:00
Phil Ringnalda
577013867e Merge m-i to m-c, a=merge 2015-01-03 20:02:33 -08:00
Phil Ringnalda
71a156373f Merge b-i to m-c, a=merge 2015-01-03 17:42:36 -08:00
Phil Ringnalda
67b447c1c7 Merge f-t to m-c, a=merge 2015-01-03 17:23:54 -08:00
Kyle Machulis
f036a00453 Bug 1117252 - Re-enable settings mochitests that were disabled by bug 1113199; a=test-only 2015-01-03 11:15:51 -08:00
Carsten "Tomcat" Book
8586519a65 Merge mozilla-central to b2g-inbound 2015-01-02 14:15:38 +01:00
Carsten "Tomcat" Book
a661b33faa merge mozilla-inbound to mozilla-central a=merge 2015-01-02 13:53:24 +01:00
Phil Ringnalda
2c514abe69 Bug 1116664 - test_crash_nested_loop.html really does intermittently intend to use a flaky timeout, r=ehsan 2014-12-31 22:27:10 -08:00
Ehsan Akhgari
e94c27dbc9 Bug 1117196 - Stop asserting |this| in AudioNodeStream; r=roc
recent clang gives the following warning on these:
'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2015-01-03 12:22:16 -05:00
Ehsan Akhgari
df1f59a183 Bug 1107592 follow-up: Add a missing include for Optional to fix the non-unified build bustage 2015-01-02 18:06:58 -05:00
Ehsan Akhgari
7011ee1731 Bug 1113449 - Assert that nsCORSListenerProxy is properly initialized before it is used; r=sicking
This will hopefully prevent the likes of bug 1080987 from happening again.
2015-01-02 17:56:43 -05:00
Ehsan Akhgari
f8fbd19e8b Bug 1117040 - Mark virtual overridden functions as MOZ_OVERRIDE in SVG DOM code; r=longsonr 2015-01-02 17:51:17 -05:00
Daniel Holbert
5da4b98e9d Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas 2015-01-02 14:46:53 -08:00
Boris Zbarsky
1525c9e29b Bug 1107592 part 2. Allow chrome JS to directly throw content DOMExceptions that will propagate out to the web script. r=peterv 2015-01-02 17:08:33 -05:00
Boris Zbarsky
b805566e95 Bug 1107592 part 1. Implement a DOMException constructor. r=peterv 2015-01-02 17:08:33 -05:00
Boris Zbarsky
b2c4383ca2 Bug 1117131. Output the JS hooks for our cache-clearing stuff for [Pure] properties on JS-implemented objects even if we have no interface object, since these live on instances. r=mccr8 2015-01-02 17:08:33 -05:00
Tom Tromey
e0a375122b Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Wes Kocher
ac8b2c0ce1 Merge m-c to b2g-inbound a=merge 2014-12-31 13:12:51 -08:00
Fabrice Desré
5b6a38dfbc Backout bug 1098210 (2bd2fad9eac0) for suspicion of smoke test breakage. r=me 2014-12-31 12:30:31 -08:00
Wes Kocher
d2137aa03d Merge b2g-inbound to m-c a=merge 2014-12-31 11:43:47 -08:00
Phil Ringnalda
5cc5a1f24c Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Robert O'Callahan
8e9731d8d6 Bug 1109644. Fix bustage on a CLOSED TREE 2014-12-31 15:44:00 +13:00
Robert O'Callahan
11ba996bc6 Bug 1109644. Part 6: Remove aLastEndTime parameter from NotifyPull. r=jesup
--HG--
extra : rebase_source : 47c950d1b1d03a8de279f2ac361b8dcd4ab0f801
2014-12-30 14:54:03 +13:00
Robert O'Callahan
a9f4b72862 Bug 1109644. Part 5: Make MediaEngineTabVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : ee34171ed4297afa90fb14c7cf655a8d22a30dca
2014-12-30 14:54:02 +13:00
Robert O'Callahan
b0225d4050 Bug 1109644. Part 4: Make MediaEngineGonkVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : 0899d9e42cd42b2ab4ef1d0d4cf600ccc7f49a3f
2014-12-30 14:54:02 +13:00
Robert O'Callahan
720b09430e Bug 1109644. Part 3: Make MediaEngineDefaultVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : d2285dad46e5b089b49e5ddce12564d5518c45a3
2014-12-30 14:54:02 +13:00
Robert O'Callahan
88cf3c7e13 Bug 1109644. Part 2: Make MediaEngineWebRTCVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : a1b716900bba01b5af1057e03bdc6360e327174b
2014-12-30 14:54:02 +13:00
Robert O'Callahan
265386ac32 Bug 1109644. Part 1: Create SourceMediaStream::GetEndOfAppendedData to reliably track how much data has been appended to a SourceMediaStream's track. r=jesup
--HG--
extra : rebase_source : 385ad9b704d35df7b70a75afe807e363e0929476
2014-12-30 14:54:01 +13:00
Cameron McCormack
26febeb99d Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Cameron McCormack
f3b4838e87 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack
6399b44e53 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack
fc345d527c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00