Commit Graph

241176 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
6723c48492 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Carsten "Tomcat" Book
58d66ec4c2 merge mozilla-inbound to mozilla-central a=merge 2015-04-27 12:00:14 +02:00
Carsten "Tomcat" Book
8504c87d26 merge b2g-inbound to mozilla-central a=merge 2015-04-27 11:55:44 +02:00
B2G Bumper Bot
9b081fda83 Bumping manifests a=b2g-bump 2015-04-26 20:42:50 -07:00
JW Wang
e444793868 Bug 1157582 - enable ffmpeg decoders on Linux in EME mochitests. r=edwin. 2015-04-27 11:41:14 +08:00
B2G Bumper Bot
f2bab3be16 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ff5f26779cfb
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1155543 - merge pull request #29709 from freesamael:bz/1155543 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/9eecd67964c1
Author: Samael Wang <sawang@mozilla.com>
Desc: Bug 1155543 - Toggle "mms.debugging.enabled" from developer menu. r=arthurcc
2015-04-26 20:40:14 -07:00
Boris Zbarsky
03f0ddb4ba Bug 1157754 part 3. Make ClearMessage private on ErrorResult. r=peterv 2015-04-26 22:38:17 -04:00
Boris Zbarsky
4fd0c4fc34 Bug 1157754 part 2. Convert consumers of ErrorResult::ClearMessage() to the new better APIs we have for suppressing exceptions on ErrorResult. r=bkelly 2015-04-26 22:38:17 -04:00
Boris Zbarsky
948fb6f6e6 Bug 1157754 part 1. Add a way to "catch" an ErrorResult, and a way to safely convert an ErrorResult to an nsresult. r=peterv 2015-04-26 22:38:17 -04:00
B2G Bumper Bot
7992820cd7 Bumping manifests a=b2g-bump 2015-04-26 19:29:55 -07:00
B2G Bumper Bot
e3ed08192a Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/c74fc72b9c87
Author: John Hu <johu@mozilla.com>
Desc: Revert "Merge pull request #29563 from huchengtw-moz/bug-1154642-context-menu-focus"

This reverts commit 7856cbd44e0c0c2164f3d0896f695645788b0b2f, reversing
changes made to e62169edf3010cce33bac5df48aa8a9c241ce736.
2015-04-26 19:27:41 -07:00
L. David Baron
c54ea11c86 Bug 1144410 - Remove finished transitions when a frame transitions away from being display:none. r=birtles
Since bug 960465 patch 14, we've retained finished transitions in order
to handle the issues described in
https://lists.w3.org/Archives/Public/www-style/2015Jan/0444.html .  The
code that did this made the assumption that the transition manager is
notified of the full sequence of style changes that happen to an
element.  However, when an element becomes part of a display:none
subtree and then later becomes displayed again, the transition manager
is not notified of a style change when it becomes displayed again (when
we do not have the old style context).

This patch introduces code to prune the finished transitions when that
happens.

This really fixes only part of the set of problems described in bug
1158431, which also affect running transitions.  However, it's the part
of that set that was a regression from bug 960465, which introduced the
retention of finished transitions, and which makes these issues
substantially easier to hit.

I'd like to fix this part quickly because it's a regression and we
should backport the fix.

Without the patch, I confirmed that the following two tests fail:
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity after starting second transition - got 0, expected 1
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity during second transition - got 0, expected 0.5

With the patch, all the added tests pass.
2015-04-26 19:20:19 -07:00
Brian Birtles
b71a3abcfb Bug 1157989 part 4 - Make method comment style consistent; r=jwatt 2015-04-27 10:05:47 +09:00
Brian Birtles
b16ed8d383 Bug 1157989 part 3 - Make LimitBehavior enum a scoped enum; r=jwatt 2015-04-27 10:05:47 +09:00
Brian Birtles
e6e6a9169d Bug 1157989 part 2 - Make Silently* methods protected; r=jwatt
These methods aren't part of the public API.
2015-04-27 10:05:46 +09:00
Brian Birtles
fde96a879b Bug 1157989 part 1 - Line up methods in dom/animation/Animation with the API; r=jwatt 2015-04-27 10:05:46 +09:00
Felipe Gomes
11669e7eee Bug 1158270 - Plugins can't run if e10s is force-disabled. r=jmathies 2015-04-26 20:55:39 -03:00
Brian Birtles
2a873f76ba Bug 1157111 - Remove comment from SilentlySetCurrentTime; r=jwatt
The commented-out step has now been removed from the spec:

  34c2bc9272
2015-04-27 08:53:19 +09:00
Brian Birtles
df8c95a4d4 Bug 1150807 part 5 - Tests for Animation.cancel(); r=jwatt 2015-04-27 08:53:19 +09:00
Brian Birtles
c9e08e29ff Bug 1150807 part 4 - Don't play/pause an idle animation when animation-play-state changes; r=jwatt
This isn't spec'ed anywhere (since the whole Web Animations API <-> CSS
interaction isn't spec'ed yet) but it seems that changing animation-play-state
should not restart an idle animation.

If an author calls Cancel() on an animation then that animation should continue
to be idle until they call Play()/Pause() from the API. Cancelling an animation
and hanging on to it is a purely API-only feature and hence it's reasonable that
restoring it from this state is also an API-only feature.

One can imagine use-cases such as polyfilling where script wants to remove any
CSS Animations/Transitions run by the browser and replace them with something
else entirely. In that case, the script can call Cancel() on the animation and
be sure that the animation is going to stay out of the way even if something
else tweaks the animation-play-state.
2015-04-27 08:53:19 +09:00
Brian Birtles
5f29332fd1 Bug 1150807 part 3 - Call PostUpdate from Cancel; r=jwatt
This patch makes Cancel() call PostUpdate which clobbers certain state in style
so that animated style is correctly flushed when an animation is cancelled.

The main difficulty with this is that we *don't* want to call this when we're
cancelling an animation as a result of a style update or else we'll trigger
needless work. The pattern elsewhere has been to define a *FromStyle() method
for this case (e.g. CSSAnimation::PlayFromStyle, PauseFromStyle). This isn't
ideal because there's always the danger we will forget to call the appropriate
*FromStyle method. It is, however, consistent. Hopefully in bug 1151731 we'll
find a better way of expressing this.
2015-04-27 08:53:19 +09:00
Brian Birtles
2121bbc36d Bug 1150807 part 2 - Expose Animation::Cancel in WebIDL; r=smaug 2015-04-27 08:53:18 +09:00
Brian Birtles
dfd23a3db3 Bug 1150807 part 1 - Fix SilentlySetCurrentTime to not set the start time when it is unresolved; r=jwatt
The reasoning for this change is described here:

  https://lists.w3.org/Archives/Public/public-fx/2015AprJun/0027.html

Furthermore, subsequent tests introduced in this bug for the animation playState
depend on this change.
2015-04-27 08:53:18 +09:00
B2G Bumper Bot
ebff2b276c Bumping manifests a=b2g-bump 2015-04-26 15:30:00 -07:00
Ehsan Akhgari
5e1b95962e Bug 1095517 - Increase the timeout of browser_identity_UI.js 2015-04-26 17:27:18 -04:00
Ehsan Akhgari
44b45b95aa Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
James Lai
512bc0cb99 Bug 1150800 - Remove unused images in /toolkit/themes/*/global/icons/. r=dao 2015-04-26 20:01:10 +02:00
Neil Deakin
694742248e Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Ehsan Akhgari
51fd8e020f Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js 2015-04-26 11:50:35 -04:00
Kyle Machulis
f5855dda46 Bug 865222 - Add MOZ_GUARD_OBJECT_NOTIFIER_PARAM to JSAutoCompartment and JSAutoNullableCompartment; r=efaust 2015-04-26 08:49:03 -07:00
Andrea Marchesini
9e840f0fdb Bug 1125205 - Display console API messages from shared or service workers to the web console, r=past 2015-04-26 09:37:59 +01:00
Shu-yu Guo
a82dfde5ea Bug 1145824 - Reset dom.send_after_paint_to_content when toggling gDevTools.testing, as chrome tests need it. 2015-04-25 15:56:20 -07:00
Shu-yu Guo
13889b6bbb Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-25 15:56:03 -07:00
Shu-yu Guo
8d482a58be Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Ehsan Akhgari
2417a941fd Bug 1158544 - Remove FTPChannelChild::mWasOpened and make the base class mWasOpened protected; r=mcmanus
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:34 -04:00
Ehsan Akhgari
cc4bc6024d Bug 1158543 - Remove SpdyConnectTransaction::mRequestHead and make the base class mRequestHead protected; r=mcmanus
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:28 -04:00
Ehsan Akhgari
24fd669335 Bug 1158542 - Remove TextureImage::mImageFormat; r=jrmuizel
This is never initialized or accessed.
2015-04-25 18:39:05 -04:00
Ehsan Akhgari
4043bb9966 Bug 1158541 - Remove TiledTextureImage::mSize; r=jrmuizel
This member is never initialized to anything so it always contains a (0,0)
size, and it shadows the protected mSize member in the base class which is
actually initialized to the correct size.
2015-04-25 18:38:54 -04:00
Ehsan Akhgari
cdd0224ca7 Bug 1158540 - Don't repeat the mRefCnt member of URLValue in ImageValue; r=dbaron
Even after this patch, it's not OK to AddRef an ImageValue and then call
Release on its base pointer (URLValue) since URLValue refcounting methods
are not virtual, so it would confuse the leak checker, but at least it
wouldn't cause UAF issues since we'd still be looking at the same mRefCnt
member.
2015-04-25 18:38:24 -04:00
Ehsan Akhgari
e9b13dd274 Bug 1158537 - Remove unneeded FileImplTemporaryFileBlob::{mLength,mContentType} members; r=baku
The FileImplBase base class has protected mLength and mContentType
members that this class can use.  These are currently just masking those
base members.
2015-04-25 18:34:38 -04:00
B2G Bumper Bot
a9f0d50fbd Bumping manifests a=b2g-bump 2015-04-25 15:15:48 -07:00
B2G Bumper Bot
b3f024d43c Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8062f048c0ac
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #29728 from KevinGrandon/bug_1158519_music_remove_last_jshint

Bug 1158519 - Remove inexistent file from jshint xfail.list

========

https://hg.mozilla.org/integration/gaia-central/rev/5fd0842e0f0f
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1158519 - Remove inexistent file from jshint xfail.list r=kgrandon
2015-04-25 15:13:36 -07:00
L. David Baron
4fdb36343e Back out bug 1154494 (changeset 94c2f1d254e7 and changeset d1269f811e05) for causing intermittent orange in various service worker tests. 2015-04-25 15:07:54 -07:00
L. David Baron
11728a54b6 Bug 1157654 - Back out changeset e73f7d6a138d (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html . 2015-04-25 11:10:37 -07:00
L. David Baron
945885a208 Bug 1157654 - Back out changeset e428ba6470b9 (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html . 2015-04-25 11:10:15 -07:00
L. David Baron
deed6e85e6 Bug 1157654 - Back out changeset 4803c84d4976 (bug 1153690) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html . 2015-04-25 11:09:45 -07:00
B2G Bumper Bot
306413a058 Bumping manifests a=b2g-bump 2015-04-25 07:37:37 -07:00
B2G Bumper Bot
a80bd7c362 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/b0168ef73407
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1155888 - merge pull request #29705 from aron-bordin:paste_wifi_pass_ftu to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/35c292669b73
Author: Aron Bordin <aron.bordin@gmail.com>
Desc: Bug 1155888 - show join btn and tests
2015-04-25 07:35:24 -07:00
ffxbld
e75a8d5509 No bug, Automated HPKP preload list update from host bld-linux64-spot-039 - a=hpkp-update 2015-04-25 03:32:33 -07:00
ffxbld
75d3eb75f3 No bug, Automated HSTS preload list update from host bld-linux64-spot-039 - a=hsts-update 2015-04-25 03:32:31 -07:00