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

418722 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari ff4f580968 Bug 1158540 follow-up: Improve the comment
DONTBUILD
2015-04-27 09:17:24 -04:00
Joel Maher 46eec45f4f Bug 1157852 - Mochitest DevTools test directories run multiple times. r=ahal 2015-04-27 08:43:07 -04:00
Andreas Tolfsen 74a53a677c Bug 1158219: Don't set `id' field if undefined when switching frame
When the `frame' argument is None, which it is by default, we were setting
the `id' field of the packet regardless.  This only works because of a
faulty == operator comparison in the server.

r=jgriffin

--HG--
extra : rebase_source : cd490db0c8c18f68d4a91803daa833bc2f08631e
2015-04-24 17:55:22 +01:00
Andreas Tolfsen 24b67d6136 Bug 1157258: Fix null type comparisons in driver.js
r=davehunt

--HG--
extra : rebase_source : a42ce4451d399e8689c503224e21e503ddd0e720
2015-04-24 13:55:52 +01:00
Ehsan Akhgari 65709fa8ac Bug 1158546 - Remove nsDisplayHeaderFooter::mFrame in favor of nsDisplayItem::mFrame; r=roc
There is no need to have two separate variables for the same thing
in the same object.
2015-04-27 08:10:29 -04:00
Ehsan Akhgari f9a2ed34d6 Bug 1158545 - Remove nsFilePickerProxy::mParent in favor of nsBaseFilePicker::mParent; r=roc
There is no need to have two separate variables for the same thing
in the same object.
2015-04-27 08:10:27 -04:00
Andrea Marchesini 3c8ee378d5 Bug 1158437 - dom::File should accept negative date values, r=smaug 2015-04-27 12:17:19 +01:00
Carsten "Tomcat" Book 9a0d0fac15 Merge mozilla-central to mozilla-inbound 2015-04-27 12:37:12 +02:00
Carsten "Tomcat" Book 596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Carsten "Tomcat" Book 107708af7c merge mozilla-inbound to mozilla-central a=merge 2015-04-27 12:00:14 +02:00
Carsten "Tomcat" Book 2a81c56c7e merge b2g-inbound to mozilla-central a=merge 2015-04-27 11:55:44 +02:00
B2G Bumper Bot 2d10e42a79 Bumping manifests a=b2g-bump 2015-04-26 20:42:50 -07:00
JW Wang 8a444e6331 Bug 1157582 - enable ffmpeg decoders on Linux in EME mochitests. r=edwin. 2015-04-27 11:41:14 +08:00
B2G Bumper Bot ae82ca7d8b 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 a8f7f27004 Bug 1157754 part 3. Make ClearMessage private on ErrorResult. r=peterv 2015-04-26 22:38:17 -04:00
Boris Zbarsky 5c1c07ceb9 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 e11db3193b 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 9b9c8b2b22 Bumping manifests a=b2g-bump 2015-04-26 19:29:55 -07:00
B2G Bumper Bot f46fd20020 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 c1b1d10e7d 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.

--HG--
extra : transplant_source : %B4%A5%5Ck%E1%B7%F5Et%CF%9B%9F%40%97c%C5NM%D3%A8
2015-04-26 19:20:19 -07:00
Brian Birtles 063783952d Bug 1157989 part 4 - Make method comment style consistent; r=jwatt 2015-04-27 10:05:47 +09:00
Brian Birtles 8625e1337a Bug 1157989 part 3 - Make LimitBehavior enum a scoped enum; r=jwatt 2015-04-27 10:05:47 +09:00
Brian Birtles fb3e1108d4 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 9104378d5d 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 498ebe1874 Bug 1158270 - Plugins can't run if e10s is force-disabled. r=jmathies 2015-04-26 20:55:39 -03:00
Brian Birtles 219be8ace6 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 e2c7d46cdc Bug 1150807 part 5 - Tests for Animation.cancel(); r=jwatt 2015-04-27 08:53:19 +09:00
Brian Birtles 7382c76c89 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 012ebba32c 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 b34276b816 Bug 1150807 part 2 - Expose Animation::Cancel in WebIDL; r=smaug 2015-04-27 08:53:18 +09:00
Brian Birtles a4696386d6 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 715947a096 Bumping manifests a=b2g-bump 2015-04-26 15:30:00 -07:00
Ehsan Akhgari 0ff9130890 Bug 1095517 - Increase the timeout of browser_identity_UI.js 2015-04-26 17:27:18 -04:00
Ehsan Akhgari 3c14a64fec Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
James Lai fc67da657d Bug 1150800 - Remove unused images in /toolkit/themes/*/global/icons/. r=dao 2015-04-26 20:01:10 +02:00
Neil Deakin 38d7846b11 Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Ehsan Akhgari 1b1c836446 Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js 2015-04-26 11:50:35 -04:00
Kyle Machulis 6953137bf2 Bug 865222 - Add MOZ_GUARD_OBJECT_NOTIFIER_PARAM to JSAutoCompartment and JSAutoNullableCompartment; r=efaust 2015-04-26 08:49:03 -07:00
Andrea Marchesini f2a283777b 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 a210e8b077 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 522b073d05 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 fd79d51b74 Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Ehsan Akhgari 5652b2e0e9 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 486e079300 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 44d9235ca5 Bug 1158542 - Remove TextureImage::mImageFormat; r=jrmuizel
This is never initialized or accessed.
2015-04-25 18:39:05 -04:00
Ehsan Akhgari af6c85ac45 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 c7febd7a07 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 00b78c0497 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 718d80d16a Bumping manifests a=b2g-bump 2015-04-25 15:15:48 -07:00
B2G Bumper Bot 4b0f8ec8c1 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