Commit Graph

26 Commits

Author SHA1 Message Date
Jim Blandy
4d6a633bba 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
78e42a825b 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
03f5cc241e Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
08f438cf5a 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
72bf67a787 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
2bf30b8a01 Bug 864296 - Check for detached elements, r=mdas 2013-05-02 16:11:59 -07:00
Jonathan Griffin
01ce1d5ab3 Bug 867220 - Make setSearchTimeout behave globally, r=mdas 2013-05-01 10:16:49 -07:00
Jonathan Griffin
746d718b5d Bug 866342 - Use try/catch around weakref.get(), r=mdas 2013-04-30 11:22:03 -07:00
Malini Das
b89c737472 Bug 860849 - Fix 'Illegal Value' error in marionette, r=jgriffin 2013-04-17 12:06:39 -04:00
Malini Das
c29c2c01ae Bug 736592 - Use getWeakReference instead of actual references to elements, r=jgriffin 2013-04-09 13:05:43 -04:00
Jonathan Griffin
619bdafc99 Bug 834266 - Use XPCNativeWrapper to compare elements, r=mdas 2013-02-04 11:40:51 -08:00
Jonathan Griffin
67e74371c4 Bug 834266 - Use isEqualNode instead of == for comparing frames, r=mdas 2013-01-30 10:13:54 -08:00
Jonathan Griffin
156c2b3cbe 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
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
c10523e8e1 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
f8094330e0 Bug 792228 - Let marionette recognize NodeList during findelements, r=mdas 2012-09-18 14:20:20 -07:00
Jonathan Griffin
09a1aff923 Bug 786032 - Make search timeouts fail successfully, r=mdas, DONTBUILD because NPOTB 2012-08-27 13:50:34 -07:00
Jonathan Griffin
e2c340ff75 Bug 753490 - Fix find_element regression, r=mdas, DONTBUILD because NPOTB 2012-07-27 09:39:55 -07:00
David Burns
5fea2e668b Bug 759920: have status codes on errors bubble up from Atoms r=mdas 2012-06-21 13:47:13 -07:00
Malini Das
f8e79cfe71 Bug 749862 - findElements should return all matching elements, r=jgriffin, a=test-only 2012-05-07 14:00:30 -07:00
Malini Das
97b04c3678 Bug 741598 - Enable finding elements of child nodes, r=jgriffin 2012-04-03 11:08:49 -07:00
Joel Maher
7040eedb07 Bug 712643 - land Marionette on m-c. r=mossop,robcee 2012-03-22 11:19:57 -04:00