Commit Graph

26 Commits

Author SHA1 Message Date
Jim Blandy
b6b202b6bb 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
f3ec32d7e3 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
720ac2f631 Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
7d63b8e4ec 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
1cedec2e83 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
6916117cdc Bug 864296 - Check for detached elements, r=mdas 2013-05-02 16:11:59 -07:00
Jonathan Griffin
0a151ca997 Bug 867220 - Make setSearchTimeout behave globally, r=mdas 2013-05-01 10:16:49 -07:00
Jonathan Griffin
709056edce Bug 866342 - Use try/catch around weakref.get(), r=mdas 2013-04-30 11:22:03 -07:00
Malini Das
09566cd842 Bug 860849 - Fix 'Illegal Value' error in marionette, r=jgriffin 2013-04-17 12:06:39 -04:00
Malini Das
68dcb420fc Bug 736592 - Use getWeakReference instead of actual references to elements, r=jgriffin 2013-04-09 13:05:43 -04:00
Jonathan Griffin
f4e7d4c8ac Bug 834266 - Use XPCNativeWrapper to compare elements, r=mdas 2013-02-04 11:40:51 -08:00
Jonathan Griffin
6eaeb8ed78 Bug 834266 - Use isEqualNode instead of == for comparing frames, r=mdas 2013-01-30 10:13:54 -08:00
Jonathan Griffin
41032d9689 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
45adfbf2c8 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
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad 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
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a 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
1a3a5fd337 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
7980e436fe Bug 792228 - Let marionette recognize NodeList during findelements, r=mdas 2012-09-18 14:20:20 -07:00
Jonathan Griffin
81585f8e62 Bug 786032 - Make search timeouts fail successfully, r=mdas, DONTBUILD because NPOTB 2012-08-27 13:50:34 -07:00
Jonathan Griffin
241fc1b9c7 Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB 2012-07-27 09:39:55 -07:00
David Burns
49f2da5232 Bug 759920: have status codes on errors bubble up from Atoms r=mdas 2012-06-21 13:47:13 -07:00
Malini Das
ae16512739 Bug 749862 - findElements should return all matching elements, r=jgriffin, a=test-only 2012-05-07 14:00:30 -07:00
Malini Das
5f7050f660 Bug 741598 - Enable finding elements of child nodes, r=jgriffin 2012-04-03 11:08:49 -07:00
Joel Maher
9ebdd062f8 Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00