Test that MarionetteTestRunner._load_testvars raises
the expected exceptions when testvars filepaths are
nonexistent or have improperly formatted JSON data
MozReview-Commit-ID: Cp8SR280gun
--HG--
extra : rebase_source : c54eb76dbad35f389b6cf497131078db84680fd0
When landing Bug 1274408, I broke the Harness tests. Updating the kwargs
to match what the harness should expect.
MozReview-Commit-ID: 3pGmbG5a5Zc
--HG--
extra : rebase_source : 6615f13ae93ceac3a8cbdf52df4ba135fc177cdb
This matches the Map data structure in JavaScript.
MozReview-Commit-ID: 5l2xOb4W2BC
--HG--
extra : rebase_source : 706f8e60fbfc364e56da83f15b9e1a4a94af9c9a
Renames instances of `elementManager' to `seenEls' for brevity. Also the
word "manager" does not really explain what purpose it fulfills.
MozReview-Commit-ID: 4EUN9utPoZS
--HG--
extra : rebase_source : 52bda0d83c50ffb96e72145ee54827c115596462
Moves ElementManager#wrapValue to the testing/marionette/element.js
module level and renames it to toJson.
MozReview-Commit-ID: GJBl2L1GRxZ
--HG--
extra : rebase_source : 5fc81a6b0ebfbd6a12557b3b746e6968c235d674
Moved ElementManager#convertWrappedArguments to the
testing/marionette/element.js module scope and renamed it to fromJson.
MozReview-Commit-ID: JMTZcG0JSUE
--HG--
extra : rebase_source : 613faca6a8c81b1ff435c538b0a7347ae548c288
Renames ElementManager to element.Store, exposing it on the
testing/marionette/element.js module. Shortens getKnownElement(uuid)
to get(uuid). Introduces new method has(uuid) to replace some unnecessary
checks in testing/marionette/driver.js and testing/marionette/listener.js.
MozReview-Commit-ID: D5qAlqrIxi
--HG--
extra : rebase_source : 22fda922e4c5f7bfcd1a5bcbcec6ae1003411535
Moves element retrieval methods from ElementManager to the
testing/marionette/element.js module itself. This means some more
work needs to be done by the caller, but avoids bloat by ensuring
ElementManager does not end up as a super-object.
MozReview-Commit-ID: 5LGe0vpSWwS
--HG--
extra : rebase_source : d7f4bd64cd1a92ad20a33496708d3f0136531d9f
All tests were migrated over to MarionetteJS support before we stopped work on
B2G. This is now not used and am removing.
MozReview-Commit-ID: CEBty565UAu
--HG--
extra : rebase_source : 32f67ff146239803a581206986a3293b4614b6cf
The emulator code was originally hacks to allow us to instrument the emulator
from JavaScript in the B2G world. Since we no longer support this it is being
removed.
MozReview-Commit-ID: 3XDk21SFfUc
--HG--
extra : rebase_source : 63bc081c3ab37894b97b873fe142ee068b609318
Since we are not supporting the B2G Emulator, we should remove this dead code.
MozReview-Commit-ID: 4PY95y3q9BO
--HG--
extra : rebase_source : 28f9bdea257a669f98ea3d39ce73bc1a171afdc6
The emulator code in Marionette harness makes it very hard to be able to
support other platforms. Since we no longer support B2G we should remove it.
MozReview-Commit-ID: 21HYtUdtfHy
--HG--
extra : rebase_source : 98b027494dd98b924a5a9f64c073c2f9197f1ad2
The emulator code has created a lot of hacky code in the Marionette and
by removing it, we are removing a lot of really bad technical debt.
MozReview-Commit-ID: D8wxdKPp6zW
--HG--
extra : rebase_source : c94aae2f5e3f1cccc833e1575057114f374e9d37