Commit Graph

31 Commits

Author SHA1 Message Date
David Burns
8120f52722 Bug 1101172: Correct Exception thrown when passing invalid element search type; r=jgriffin
--HG--
extra : rebase_source : 8da9313980a4895b72dcff1f2e46efe241a14c26
2014-11-19 01:26:14 +00:00
Andrew Halberstadt
fc5f796638 Bug 1084412 - marionette.findElements returns immediately when searchTimeout is set, r=AutomatedTester
--HG--
extra : rebase_source : bd89e6209edaa5a4a5f7552dc548e0db120c88e8
2014-11-10 17:17:09 -05:00
Andrew Halberstadt
a6473d6f91 Bug 1080764 - Add 'anon' and 'anon attribute' search strategies to marionette.find_element(), r=AutomatedTester
The 'anon' search strategy maps directly to nsIXULDocument.getAnonymousNodes() whereas the 'anon attribute'
strategy maps to nsIXULDocument.getAnonymousElementByAttribute(). These strategies are needed for clients who
wish to find and manipulate anonymous content, typically found in the Firefox chrome. For more details, see:
https://developer.mozilla.org/en-US/docs/XBL/XBL_1.0_Reference/Anonymous_Content

--HG--
rename : testing/marionette/client/marionette/tests/unit/test_switch_anonymous_content.py => testing/marionette/client/marionette/tests/unit/test_anonymous_content.py
2014-10-28 17:37:24 -04:00
Andrew Halberstadt
2201b6e142 Backout bug 1084412 for Gij bustage and causing Gaia tree closures 2014-10-22 12:34:42 -04:00
Andrew Halberstadt
8b8afc0240 Bug 1084412 - marionette.findElements returns immediately when searchTimeout is set, r=AutomatedTester 2014-10-21 08:40:24 -04:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
David Burns
ee274b7421 Bug 989370: Update Marionette Stale Element Reference exception to give a meaningful explanation; r=jgriffin 2014-03-31 21:02:06 +01:00
Andreas Tolfsen
ed1449751c Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
9c47806b5c Bug 819050 - Marionette response containing JSON object with element details instead of raw ID; r=mdas 2013-10-15 11:05:21 +01:00
David Burns
319540ebdd Bug 807282 - Update marionette command/response to match that of the WebDriver spec; r=mdas 2013-10-01 16:13:04 +01:00
Jonathan Griffin
cf9a65ff61 Bug 864296 - Check for detached elements, r=mdas 2013-05-02 16:11:59 -07:00
Jonathan Griffin
cbdb6361de Bug 867220 - Make setSearchTimeout behave globally, r=mdas 2013-05-01 10:16:49 -07:00
Jonathan Griffin
fd7750e83e Bug 866342 - Use try/catch around weakref.get(), r=mdas 2013-04-30 11:22:03 -07:00
Malini Das
cf806297b9 Bug 860849 - Fix 'Illegal Value' error in marionette, r=jgriffin 2013-04-17 12:06:39 -04:00
Malini Das
5e4402e7a3 Bug 736592 - Use getWeakReference instead of actual references to elements, r=jgriffin 2013-04-09 13:05:43 -04:00
Jonathan Griffin
cbdb17ecc5 Bug 834266 - Use XPCNativeWrapper to compare elements, r=mdas 2013-02-04 11:40:51 -08:00
Jonathan Griffin
3d90a6eb70 Bug 834266 - Use isEqualNode instead of == for comparing frames, r=mdas 2013-01-30 10:13:54 -08:00
Jonathan Griffin
fc5b30c315 Bug 779011 - Attach id's to all requests to prevent Marionette from getting out-of-sync, r=mdas 2012-11-26 18:19:04 -08:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Alfredos-Panagiotis Damkalis
46919a3b22 Bug 799008: find_elements to not scope parents when searching with css in Marionette; r=dburns 2012-10-17 15:04:16 -07:00
Jonathan Griffin
7a238fad77 Bug 792228 - Let marionette recognize NodeList during findelements, r=mdas 2012-09-18 14:20:20 -07:00
Jonathan Griffin
554b014a2b Bug 786032 - Make search timeouts fail successfully, r=mdas, DONTBUILD because NPOTB 2012-08-27 13:50:34 -07:00
Jonathan Griffin
ceb382364e Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB 2012-07-27 09:39:55 -07:00
David Burns
3a8c281c1a Bug 759920: have status codes on errors bubble up from Atoms r=mdas 2012-06-21 13:47:13 -07:00
Malini Das
a5e38a5f84 Bug 749862 - findElements should return all matching elements, r=jgriffin, a=test-only 2012-05-07 14:00:30 -07:00
Malini Das
bb96b17e38 Bug 741598 - Enable finding elements of child nodes, r=jgriffin 2012-04-03 11:08:49 -07:00
Joel Maher
710c159137 Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00