Commit Graph

188137 Commits

Author SHA1 Message Date
Karl Tomlinson
d978344073 b=995690 correct mLastTickWritten to only advance when not blocked r=roc
mLastTickWritten and offset are stream positions, which do not advance when
the stream is blocked.

--HG--
extra : transplant_source : %15%7B%E5%E9.%89%BC%1E%F8%92%FD%3D%CB%10%FC%AD%EAT%90-
2014-06-12 16:40:51 +12:00
Brian Birtles
a3321a71fe Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert
This patch removes the check that skipped queueing events for animations
without keyframes since the spec indicates such animations should dispatch
events.

There is a further correctness fix here for the case where a keyframes rule
is modified using the CSSOM so that it becomes empty. Previously when we
came to create the new animation rules we would end up setting
ElementAnimations::mNeedRefreshes to false since we check if the keyframes
rule is empty and if it is we would skip all further processing (including
setting mNeedsRefreshes).

That means that:
(a) We may end up unregistering from the refresh observer so we would never
    dispatch the end event for such an animation.
(b) If the animation was running on the compositor we may never remove it from
    the compositor or may not do it in a timely fashion.

To fix both these problems, this patch removes the check for an empty keyframes
rule so that mNeedsRefreshes is set in this case.
2014-06-12 13:18:14 +09:00
Brian Birtles
c39677d5f1 Bug 1018862 part 9 - Remove nsIDOMWindowUtils::GetOMTAOrComputedStyle; r=dholbert
Now that getOMTAOrComputedStyle is no longer used by any tests it should be
removed. It is a footgun because it can lead the test author to think they
are testing compositor animations (OMTA) when in fact they are just testing
main thread animations.

This has bitten us before because while we were getting results from the
compositor on some platforms when run locally, on Tinderbox the only build
configurations that had OMTA turned on were falling back to returning the
computed style.
2014-06-12 13:17:48 +09:00
Brian Birtles
c52bcc84be Bug 1018862 part 8 - Add special handling for non-invertible transforms; r=dholbert
This patch adjusts the tests for transform transitions that run on the
compositor to handle transitions that begin with a non-invertible transform.
In this case the first sample at the start of the animation won't create
a layer because in nsDisplayTransform::BuildLayer
/ FrameLayerBuilder::BuildContainerLayerFor we'll skip creating the layer once
we notice the equivalent matrix is singular.

In this patch we detect that case and force an extra sample betwee 0 and 200s at
100s. This means the layer will be created at t=100s and be available for
querying at the next sample.

Similar issues could occur, for example, if the transforms at both t=0s
and t=100s are not invertible but currently that doesn't occur. We can add
handling for that if and when it becomes necessary.
2014-06-12 13:17:47 +09:00
Brian Birtles
35b202d6fe Bug 1018862 part 7 - Convert test_transitions_per_property.html to use OMTA test methods; r=dholbert
This patch takes the existing tests for transitions running on the compositor
and makes them re-use the same test utility methods as used for testing CSS
Animations that run on the compositor. This means these tests now also check
that the transition is in fact running on the compositor when it is expected to.

It seems the big_omta_round_error is no longer needed so I've removed that.

The test that begins with "skew(45deg, 45deg)" currently fails so it is skipped
here. This is addressed in the next patch in the series.
2014-06-12 13:17:47 +09:00
Brian Birtles
81648220ed Bug 1018862 part 6 - Fix handling of 3d matrices in omta_is and co.; r=dholbert
This patch fixes a bug in the handling of 3d matrices represented as an array of
numbers.
2014-06-12 13:17:47 +09:00
Brian Birtles
7f66f0dad5 Bug 1018862 part 5 - Move paint listener promise wrappers to animation_utils.js; r=dholbert
This patch moves some utility methods from test_animations_omta.html to
animation_utils.js so that they can be used for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
50db82f829 Bug 1018862 part 4 - Move omta_is and friends to animation_utils.js; r=dholbert
This patch simply moves code from test_animations_omta.html to
animation_utils.js so that we can use it for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
5358815649 Bug 1018862 part 3 - Fix the order of arguments to omta_is_approx; r=dholbert
This patch simply re-arranges the order of arguments to omta_is_approx so that
the delta sits along side the values being compared.

This, I think, makes more sense and also is more consistent when converting
tests from test_animations.html to test_animations_omta.html since the
"RunningOn" parameter is consistently inserted in the second-to-last position
just before the description for both omta_is and omta_is_approx.
2014-06-12 13:17:47 +09:00
Brian Birtles
d72c83769e Bug 1018862 part 2 - Make new_div no longer secretly flush styles; r=dholbert
This patch removes the line from new_div that forced a style flush. This was
very confusing because:
* It behaved differently to new_div in test_animations.html so copying tests
  over was more complex (particularly when registering for events is involved).
* It meant after setting up initial style using new_div you could just call
  waitForPaints but if you updated style using elem.style you'd need to call
  waitForPaintsFlushed.

In adjusting test_animations_omta.html we are able to simplify the tests
somewhat. This patch also adds a few additional checks that waiting to update
the compositor does not produce different results.
2014-06-12 13:17:47 +09:00
Brian Birtles
873ce438a9 Bug 1018862 part 1 - Factor out common async animation test methods; r=dholbert
This patch moves some test utility methods from test_animations_omta.html to
animation_utils.js. It also renames addAsyncTest to addAsyncAnimTest and
likewise for a few other methods.
2014-06-12 13:17:46 +09:00
Jan Varga
91b79e280d Bug 1006485 - Part b: hg rename LockedFile.h/cpp/webidl in a separate patch for better readability; r=bent
--HG--
rename : dom/filehandle/LockedFile.cpp => dom/filehandle/FileHandle.cpp
rename : dom/filehandle/LockedFile.h => dom/filehandle/FileHandle.h
rename : dom/webidl/LockedFile.webidl => dom/webidl/FileHandle.webidl
2014-06-12 05:35:47 +02:00
Jan Varga
8131e31c43 Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Seth Fowler
81898fc75d Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Ehsan Akhgari
7556a5e97a Bug 1024195 - Fix a compilation error with clang-cl in nsContentList.cpp; r=bzbarsky
This is similar to bug 1021494.
2014-06-11 21:56:59 -04:00
Geoff Brown
05498d5ed9 Bug 1022801 - Don't visit support.mozilla.org in testBookmarksPanel; r=mcomella 2014-06-11 19:41:10 -06:00
Wes Kocher
bcb140bc6f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Cameron McCormack
9561cc66b9 Bug 1023727 - SVGStyleElement::UnbindFromTree should look at the element's containing shadow, not its own shadow. r=wchen 2014-06-12 11:15:22 +10:00
B2G Bumper Bot
de83d05c98 Bumping manifests a=b2g-bump 2014-06-11 01:31:31 -07:00
B2G Bumper Bot
5551f11be0 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bca9de42a115
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Merge pull request #20238 from fcampo/import-merged-981674

Bug 981674 - [Contacts] Merged-name-contact imported is not is not shown fine (r=jmcf)

========

https://hg.mozilla.org/integration/gaia-central/rev/f00c31ac4f7d
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Bug 981674 - [Contacts] Contact's name merged to another one previously then exported to sd card and imported again, is not shown fine
2014-06-11 01:26:25 -07:00
B2G Bumper Bot
41b6409fed Bumping manifests a=b2g-bump 2014-06-11 01:06:30 -07:00
B2G Bumper Bot
e20c760ee4 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e6fc71a3fe2e
Author: gasolin <gasolin@gmail.com>
Desc: Merge pull request #20329 from gasolin/issue-1023238

Bug 1023238 - Remember my choice is not the default option pre-selected ..., r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/ae25fb338fca
Author: gasolin <gasolin@gmail.com>
Desc: Bug 1023238 - Remember my choice is not the default option pre-selected in GUM permission
2014-06-11 01:01:34 -07:00
B2G Bumper Bot
372845e04f Bumping manifests a=b2g-bump 2014-06-11 00:59:00 -07:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Antonio M. Amaya
aaae4a79a0 Bug 833633 - Remember permissions granted by users for PROMPT_ACTION through an update. r=ferjm 2014-06-11 04:47:00 -04:00
B2G Bumper Bot
404db5d945 Bumping manifests a=b2g-bump 2014-06-11 07:26:45 -07:00
B2G Bumper Bot
243198f322 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6e191494a8df
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #20139 from wilsonpage/1021284

Bug 1021284 - [camera] [flame] spinner appears after every photo capture

========

https://hg.mozilla.org/integration/gaia-central/rev/7a3d9c17024b
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 1021284 - [camera] [flame] spinner appears after every photo capture
2014-06-11 07:16:38 -07:00
Alexandre Lissy
ec4fce1189 Bug 1023857 - Add dosfstools dependency for usbdisk.img on Flame r=catlee a=qa
--HG--
extra : amend_source : 1f0e28649bc68bcfa805112da841d02630a86c8c
2014-06-11 06:52:00 +01:00
Alexandre Lissy
2db0a47e2e Bug 1023857 - Add dosfstools dependency for usbdisk.img on Flame r=catlee 2014-06-11 06:52:00 +01:00
B2G Bumper Bot
f7d1c7d302 Bumping manifests a=b2g-bump 2014-06-11 06:41:43 -07:00
B2G Bumper Bot
6de6d2a69c Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6ac60fe55430
Author: Zac <zcampbell@mozilla.com>
Desc: Merge pull request #20294 from chirarobert/tap_mp_icon

Bug 1023208 - [v2.0][v2.1] Fix test_marketplace_launch failure

========

https://hg.mozilla.org/integration/gaia-central/rev/255cd65fd715
Author: chirarobert <robert.chira@softvision.ro>
Desc: Bug 1023208 - [v2.0][v2.1] Fix test_marketplace_launch failure
2014-06-11 06:36:26 -07:00
Shihua Zheng
4278c678f8 Bug 1019368 - Cleaning extra whitespace in FileReader, r=bent. DONTBUILD 2014-06-10 20:59:45 -07:00
Ed Morley
f4f73110c9 Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00
Ed Morley
fafda556fb Backed out changeset 11bb536cdede (bug 1000640) 2014-06-11 17:07:17 +01:00
Ed Morley
5b1380718b Backed out changeset d1b96309bb9d (bug 1000640) 2014-06-11 17:07:14 +01:00
Ed Morley
9f7b529e36 Backed out changeset c4681bf6680c (bug 1000640) 2014-06-11 17:07:10 +01:00
Ed Morley
a9612cb8b0 Backed out changeset 5458e23a7f0a (bug 1000640) 2014-06-11 17:07:07 +01:00
Ed Morley
a1861f139a Backed out changeset dacd814d3bb0 (bug 1000640) 2014-06-11 17:07:03 +01:00
Gijs Kruitbosch
36d57b19f0 Bug 941487 - resetProfile.js shouldn't redefine Cu, r=MattN 2014-06-11 04:01:00 +01:00
Richard Newman
34409ae93e Bug 1014602 - Capitalize first letter of entries in locale switching UI. r=mcomella 2014-06-11 13:37:28 -07:00
Jordan Santell
84b698169c Bug 1022917 - Do not store any strong references in the web audio editor. r=vp
---
 toolkit/devtools/server/actors/webaudio.js | 114 +++++++++++++++++++----------
 1 file changed, 77 insertions(+), 37 deletions(-)
2014-06-11 10:06:54 -07:00
Tim Nguyen
27cbbb4597 Bug 1022290 - Fix aero jar.mn entry for arrow-e@2x.png. r=bgrins 2014-06-11 13:15:01 -07:00
Brian Grinstead
c930d63cfc Bug 1022084 - Project Editor: turn on auto completion for JS & CSS files;r=harth 2014-06-11 13:14:56 -07:00
Heather Arthur
94217befb5 Bug 1021202 - Turn @media sidebar on by default; r=bgrins 2014-06-11 13:14:52 -07:00
Wes Kocher
c131f3f588 Back out three changesets (bug 932208) for robocop-1 failures
* * *
Backed out changeset d1e57e3cbba1 (bug 932208)
* * *
Backed out changeset aa4dc866e852 (bug 932208)
* * *
Backed out changeset 09caceb50f73 (bug 932208)
2014-06-10 19:04:07 -07:00
Wes Kocher
fc3c9b85dd Merge m-c to fx-team 2014-06-10 18:58:39 -07:00
Wes Kocher
c37442c812 Merge fx-team to m-c a=merge 2014-06-10 18:47:36 -07:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Wes Kocher
2424985e2c Back out and reland changeset 99eee26d1017 (bug 1023472) so I can get around the m-c commit hook by adding a=merge 2014-06-10 18:27:19 -07:00
Richard Newman
f0f5a971b7 Bug 1021922 - Follow-up: remove some debug logging I missed. r=trivial 2014-06-10 17:39:42 -07:00