Commit Graph

235205 Commits

Author SHA1 Message Date
Andreas Tolfsen
9712ea8319 Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.
2015-03-17 14:49:27 +00:00
Andreas Tolfsen
633262693f Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.
2015-03-17 14:27:20 +00:00
Andreas Tolfsen
dfbcdf9060 Bug 1107706: Part 1: Change context from strings to enum 2015-02-25 21:11:51 +00:00
Dan Glastonbury
3bb93a3501 Bug 1145492 - Update FramebufferTexture2D to allow binding mipmaps. r=jgilbert 2015-03-24 10:41:33 +10:00
Dan Glastonbury
bf34887a19 Bug 1145501 - Extend validation of BufferData usage. r=jgilbert 2015-03-24 10:41:24 +10:00
Boris Zbarsky
2923eda99d Bug 1146472 part 2. Use JSOP_NEWOBJECT as needed even if the script is not compile-and-go. r=luke 2015-03-23 20:37:31 -04:00
Boris Zbarsky
444260de07 Bug 1146472 part 1. Don't do object-kind guessing for object literal templates in scripts, since we in fact know exactly how many slots we want them to have and hence what the kind should be. r=terrence 2015-03-23 20:37:30 -04:00
David Major
5c46210c18 Bug 1146229: Remove calling convention modifier from local variable. r=surkov 2015-03-24 13:30:11 +13:00
Brian Birtles
de72475e25 Bug 1109390 part 4 - Make DevTools animation actor wait for asynchronous pause; r=pbrosset
Although pause() is not yet asynchronous, any time we finish calling it the
ready promise should be resolved so we can safely wait on the ready promise
after calling pause already. This way, once pause() becomes async later in this
bug, code relying on this actor will continue to work.
2015-03-24 09:21:08 +09:00
Brian Birtles
6f4f668531 Bug 1109390 part 3 - Clear the start time when playing a player; r=jwatt
This brings us into line with the algorithm in:

  https://w3c.github.io/web-animations/#play-an-animation

which makes the other patches in this series easier to compare with
the specification.
2015-03-24 09:21:08 +09:00
Brian Birtles
c9a4d2f46f Bug 1109390 part 2 - Remove some unneeded startTime tests; r=jwatt
Now that we have separate tests for checking the initial state of startTime we
can remove these checks from tests for setting the startTime.

Also, while we're at it, we needn't check the playState and animationPlayState
since these should be covered by other tests.
2015-03-24 09:21:08 +09:00
Brian Birtles
4cd92b6117 Bug 1109390 part 1 - Add tests for getting the startTime; r=jwatt 2015-03-24 09:21:07 +09:00
Mike Hommey
f2eee907a6 Bug 1141441 - Make the -remote option return an error code. r=bsmedberg 2015-03-24 09:10:34 +09:00
Mike Hommey
f4afced784 Bug 910660 - Make the SimplePackager emit a separate base for addons. r=gps
Addons are detected by the presence of an install.rdf file in their base.
2015-03-24 09:10:33 +09:00
Mike Hommey
3bdc564357 Bug 910660 - Make package formatters handle addons. r=gps
Addons are always formatted with jars for omnijar and jar packaging, and
flat for flat packaging.
2015-03-24 09:10:33 +09:00
Mike Hommey
c183697958 Bug 910660 - Add a test for the unpacker code. r=gps 2015-03-24 09:10:32 +09:00
Mike Hommey
69dd99b743 Bug 910660 - Refactor test_packager_formats.py so that it's easier to follow. r=gps 2015-03-24 09:10:31 +09:00
Randall Barker
0c6b47fe1c Bug 1107801 - Improve gamepad support on MacOS. r=ted 2015-03-23 17:06:56 -07:00
Bobby Holley
c99ce057da Bug 1145203 - Unify FlushDecoding, ResetDecode, and ResetPlayback into a single Reset() method. r=mattwoodrow 2015-03-23 17:07:10 -07:00
Bobby Holley
f0b0e8c5f6 Bug 1145203 - Remove the AwaitIdle call in FlushDecoding. r=mattwoodrow
There are two callers of FlushDecoding - One is shutdown (where we already use
promises to wait for the queue to go idle via BeginShutdown), and the other is
dormant (see the comment).
2015-03-23 17:07:09 -07:00
Brian Birtles
53a592299d Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-24 09:06:06 +09:00
Brian Birtles
e05c3df594 Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-24 09:06:06 +09:00
David Burns
a6a532b672 Bug 1143565: Bump marionette client to v 0.9.1; r=chmanchester 2015-03-23 23:34:02 +00:00
David Burns
bcce2d0245 Bug 1143565: Bump marionette driver to v 0.3; r=chmanchester 2015-03-23 23:33:30 +00:00
Wes Kocher
c8ed5e5a96 Merge m-c to inbound a=merge CLOSED TREE 2015-03-23 16:51:22 -07:00
Wes Kocher
e62ecec712 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-23 16:47:58 -07:00
Wes Kocher
e604bea6da Merge inbound to m-c a=merge CLOSED TREE 2015-03-23 16:40:59 -07:00
Wes Kocher
edb7a0e6d1 Backed out changeset 03eeae957008 (bug 1107801) for gamepad test failures CLOSED TREE 2015-03-23 16:25:32 -07:00
Wes Kocher
d93d614326 Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE 2015-03-23 16:06:32 -07:00
Wes Kocher
19c1469c40 Backed out changeset 6cb38e697216 (bug 1144409) 2015-03-23 16:06:31 -07:00
Wes Kocher
b1810fef79 Backed out changeset c58f5ffb38e0 (bug 1142379) 2015-03-23 16:06:30 -07:00
Wes Kocher
7a0b688fa9 Backed out changeset f5a026d98faa (bug 1138294) 2015-03-23 16:06:28 -07:00
Edwin Flores
58f6b3e8f4 Bug 1146192 - Whitelist sched_yield syscall in GMP sandbox on Linux DONTBUILD CLOSED TREE - r=jld 2015-03-24 10:56:49 +13:00
Edwin Flores
fb0360251e Bug 1146192 - Backed out changeset d2918bcf0d90 for missing bug number - r=me 2015-03-24 10:53:10 +13:00
B2G Bumper Bot
32bc88ab4f Bumping manifests a=b2g-bump 2015-03-23 13:52:48 -07:00
B2G Bumper Bot
131a51504f Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d8e53e5d917b
Author: Zibi Braniecki <zbigniew.braniecki@gmail.com>
Desc: Merge pull request #29021 from zbraniecki/1145775-update-qps-behavior

Bug 1145775 - Update pseudo l10n matching in gaia_grid. r=stas

========

https://hg.mozilla.org/integration/gaia-central/rev/99e8cf71e9e8
Author: Zibi Braniecki <gandalf@mozilla.com>
Desc: Bug 1145775 - Update pseudo l10n matching in gaia_grid
2015-03-23 13:50:12 -07:00
B2G Bumper Bot
0b650653c8 Bumping manifests a=b2g-bump 2015-03-23 13:18:03 -07:00
B2G Bumper Bot
e02b5abd63 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d44d26e47c76
Author: Gareth Aye <gaye@mozilla.com>
Desc: Merge pull request #29062 from gaye/bug-1145310

Bug 1145310 - Bump mozilla-download dep to v0.5.1 r=gaye

========

https://hg.mozilla.org/integration/gaia-central/rev/0b57de4403a7
Author: gaye <gaye@mozilla.com>
Desc: Bug 1145310 - Bump mozilla-download dep to v0.5.1 r=gaye
2015-03-23 13:15:20 -07:00
B2G Bumper Bot
6836e54b47 Bumping manifests a=b2g-bump 2015-03-23 12:13:15 -07:00
B2G Bumper Bot
14e02f73af Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e4d09e3ca015
Author: albertopq <albert.pastor@gmail.com>
Desc: Merge pull request #28914 from albertopq/1139308-empty-PIN

Bug 1139308 - Disabling SIM input until gets verified r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/d7021401a00d
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1139308 - Disabling SIM input until gets verified r=alive
2015-03-23 12:10:17 -07:00
B2G Bumper Bot
8df9f07da5 Bumping manifests a=b2g-bump 2015-03-23 11:53:09 -07:00
B2G Bumper Bot
cab9d5aef4 Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/fbd97ec20dd6
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1142798 - merge pull request #29065 from KevinGrandon:bug_1142798_test_autoland_jxhint_mock_update_manager to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/bfdde5054446
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1142798 - Autolander test bug, fix jshint issue for mock update manager r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/3615cf6f82dc
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1134795 - merge pull request #29024 from benfrancis:1134795 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/fbac4439135f
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1134795 - Show icon when installing web app from web page

========

https://hg.mozilla.org/integration/gaia-central/rev/19994e4d93d5
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1145665 - merge pull request #29051 from mwargers:test_ftu_skip_tour_desktopb2g.py to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/526b54af95a5
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1145665 - Fix test_ftu_skip_tour_desktopb2g.py
2015-03-23 11:50:31 -07:00
Margaret Leibovic
c9064f7540 backout 03fe90afa80b for syntax error 2015-03-23 11:39:39 -07:00
Ryan VanderMeulen
321d8637a6 Backed out changesets 772945b1130d, cb83b6efa9ea, and 5f23080673ee (bug 1086999) for Gaia context_menu_test.js failures.
CLOSED TREE
2015-03-23 14:22:23 -04:00
Ryan VanderMeulen
e87677b116 Backed out changesets 72c48d6ddc0b, 85c4ceb3c650, 78a27ab48c54, and 414fe682de4b (bug 1141519) for intermittent test_set_window_size.py failures.
CLOSED TREE
2015-03-23 13:59:28 -04:00
Panos Astithas
154a3a9b53 Whitelist Valence and the devtools loader in the addon-watch check (bug 1146380). r=blassey 2015-03-23 19:43:33 +02:00
Byron Campen [:bwc]
72b756390d Bug 1145407: Another mochitest 3 bustage fix on CLOSED TREE. r=bustage 2015-03-23 10:29:53 -07:00
Byron Campen [:bwc]
c7d1c21bb3 Bug 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage 2015-03-23 10:21:23 -07:00
Kartikaya Gupta
feb9e191d8 Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
3357340ee8 Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00