Commit Graph

188006 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
Wes Kocher
ba5664c904 Merge fx-team to m-c a=merge 2014-06-11 18:20:36 -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
Ryan VanderMeulen
e8402d078e Bug 1019071 - Skip Geolocation tests on OSX. r=dougt
CLOSED TREE
2014-06-11 19:53:45 -04:00
B2G Bumper Bot
ff88cb2125 Bumping manifests a=b2g-bump 2014-06-11 14:03:56 -07:00
B2G Bumper Bot
3520238706 Bumping manifests a=b2g-bump 2014-06-11 13:56:22 -07:00
B2G Bumper Bot
cfbd15687e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d108bbdfe550
Author: Hubert Figuière <hub@figuiere.net>
Desc: Merge pull request #20366 from hfiguiere/Bug1023878

Bug 1023878 - make sure we stop if the make targets fail. r=julienw

========

https://hg.mozilla.org/integration/gaia-central/rev/83a3b15ea18e
Author: Hubert Figuière <hub@figuiere.net>
Desc: Bug 1023878 - make sure we stop if the make targets fail.
2014-06-11 13:51:53 -07:00
B2G Bumper Bot
7055034697 Bumping manifests a=b2g-bump 2014-06-11 12:14:09 -07:00
B2G Bumper Bot
851360459b Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0c8884e1c043
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Revert "Bug 1023011 - (vertical-homescreen) Implement pressed state visual for App Icons"

This reverts commit 2728b437562eb0285b3f3279623d978537638bf6.
2014-06-11 12:11:35 -07:00
Margaret Leibovic
eb66c12bfd backout 25fb66c1006f for test failure on a CLOSED TREE 2014-06-11 12:08:35 -07:00
Margaret Leibovic
68b62b7f48 Backed out changeset e9a025ac70fe for tablet fail on a CLOSED TREE 2014-06-11 12:06:07 -07:00
B2G Bumper Bot
d32b221e90 Bumping manifests a=b2g-bump 2014-06-11 11:49:24 -07:00
B2G Bumper Bot
73bb055778 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/489e5d54633f
Author: Dale Harvey <dale@arandomurl.com>
Desc: Bug 1022052 - Add setting to disable searching remote provider. r=kgrandon, r=evelyn
2014-06-11 11:45:44 -07:00
B2G Bumper Bot
fa23bfa116 Bumping manifests a=b2g-bump 2014-06-11 11:37:17 -07:00
B2G Bumper Bot
c7d9aa509d Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/389523ab2cb8
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Merge pull request #19613 from eeejay/bug-1015479

Bug 1015479 - Make header markup follow visual order. r=arnau

========

https://hg.mozilla.org/integration/gaia-central/rev/0ed2c333bd4c
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1015479 - Make header markup follow visual order.

========

https://hg.mozilla.org/integration/gaia-central/rev/9282b03d2d2c
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20364 from crdlc/bug-1023011

Bug 1023011 - (vertical-homescreen) Implement pressed state visual for App Icons

========

https://hg.mozilla.org/integration/gaia-central/rev/6a00afcf8dba
Author: crdlc <crdlc@tid.es>
Desc: Bug 1023011 - (vertical-homescreen) Implement pressed state visual for App Icons
2014-06-11 11:30:32 -07:00
Margaret Leibovic
cb155af46b Bug 817716 - Add 3-dot menu to tabs panel, including a "close all tabs" option. r=bnicholson 2014-06-11 11:14:26 -07:00
B2G Bumper Bot
802b1509ed Bumping manifests a=b2g-bump 2014-06-11 11:06:35 -07:00
B2G Bumper Bot
f2144d320d Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ac41749c5404
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20359 from EverythingMe/1023312-floor-dimension

Bug 1023312 - [Vertical homescreen] Smart collection viewing fails on the flame because e.me server fails to return background. [r=amirn]

========

https://hg.mozilla.org/integration/gaia-central/rev/fd7ed5cbcc61
Author: Ran Ben Aharon <ran@ranbena.com>
Desc: Bug 1023312 - [Vertical homescreen] Smart collection viewing fails on the flame because e.me server fails to return background. [r=amirn]

========

https://hg.mozilla.org/integration/gaia-central/rev/ab926c616615
Author: Jared Hirsch <ohai@6a68.net>
Desc: Merge pull request #20372 from 6a68/revert-bug-1004251

Revert "Bug 1004251 - Add resend verification email to firefox accounts....

========

https://hg.mozilla.org/integration/gaia-central/rev/0a757abe9870
Author: Jared Hirsch <ohai@6a68.net>
Desc: Revert "Bug 1004251 - Add resend verification email to firefox accounts. r=ferjm,arthurcc"

This reverts commit f8f70f699d50d3669b507c1bad245b1709c95a50.

Conflicts:
	apps/settings/js/firefox_accounts/panel.js
2014-06-11 11:01:29 -07:00
Wes Johnston
f9f3e9a611 Bug 1018468 - Provide a fullscreen button in videos. r=mfinkle 2014-06-11 10:25:18 -07:00
Ed Morley
d4973fcc22 Merge mozilla-central and fx-team 2014-06-11 18:07:43 +01:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
B2G Bumper Bot
23a9eb00b3 Bumping manifests a=b2g-bump 2014-06-11 09:44:06 -07:00
B2G Bumper Bot
7794bcc93f Bumping gaia.json for 5 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d6cf58c5909e
Author: Ben Francis <ben@tola.me.uk>
Desc: Revert "Bug 1020685: Close only over the URL string that we need. r=bfrancis"

This reverts commit dfa599e45b6da54439374d1983fc10d21d9ebf54.

========

https://hg.mozilla.org/integration/gaia-central/rev/5ac945b0696a
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20255 from eeejay/bug-1022939

Bug 1022939 - Add ARIA markup for gaia-radio and give example for radio menu items.

========

https://hg.mozilla.org/integration/gaia-central/rev/776f0d952040
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1022939 - Add ARIA markup for gaia-radio and give example for radio menu items.

========

https://hg.mozilla.org/integration/gaia-central/rev/f0c067a8de44
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #20220 from crdlc/bug-1022474

Bug 1022474 - Cannot add an e.me app to the homescreen via wrapper

========

https://hg.mozilla.org/integration/gaia-central/rev/1ed317d49f0a
Author: crdlc <crdlc@tid.es>
Desc: Bug 1022474 - Cannot add an e.me app to the homescreen via wrapper
2014-06-11 09:41:13 -07:00
Ed Morley
382d0ba8d2 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-06-11 17:29:15 +01:00
Eitan Isaacson
24bc233b26 Bug 1021874 - Check if entry is current VC position before changing caret offset. r=yzen CLOSED TREE 2014-06-11 09:28:55 -07:00
Wes Kocher
103ebc2c65 Backed out 8 changesets (bug 1023882) for b2g mochitest-4 orange on a CLOSED TREE
Backed out changeset 501167f9e525 (bug 1023882)
Backed out changeset 811d536995cf (bug 1023882)
Backed out changeset c38a0cb1e00c (bug 1023882)
Backed out changeset 4ba2f2a98114 (bug 1023882)
Backed out changeset 42e44e1eb363 (bug 1023882)
Backed out changeset a92435f75f89 (bug 1023882)
Backed out changeset 039cfd09fa32 (bug 1023882)
Backed out changeset 05e8c4ee536d (bug 1023882)
2014-06-11 16:39:01 -07:00
Daniel Holbert
02d217e9e4 backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Wes Kocher
4208774bd2 Backed out changeset 2152e0e62c5a (bug 1021874) under suspicion of breaking b2g mochitest-4 when it was already broken by something else 2014-06-11 16:00:58 -07:00
Jonathan Watt
1fe4adc9cb Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
0d8943c0db Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
Daniel Holbert
9f3f65a9bf Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Monica Chew
fe6ce09033 Bug 1004352: Enable pinning for Google in production mode (r=keeler) 2014-06-11 15:32:37 -07:00
Brian Hackett
043067b9f7 Bug 1018363 - Allow off thread Ion compilation during incremental GCs, r=billm. 2014-06-11 16:25:38 -06:00
Bobby Holley
fa376e8dca Bug 1020609 - Implement Xrays to Arrays. r=bz 2014-06-11 15:16:07 -07:00