Commit Graph

153 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
Ting-Yu Lin
76d6cb6ccf Bug 962645 - Support wait between press->release action chain. r=mdas
wait() before press() should not raise "MarionetteException: Element has
not been pressed."
2014-06-12 02:34:00 -04:00
Jonathan Griffin
ce6385abc0 Bug 1018436 - Fix import script problem on Windows, r=mdas 2014-06-11 11:26:28 -07:00
Ed Morley
f873919062 Backed out changeset a8ad10daa7c0 (bug 932804) to fix the jenkins builds; a=jenkins 2014-06-10 16:34:27 +01:00
Malini Das
f76da34a54 Bug 932804 - compensate for statusbar in APZ touch, r=dburns 2014-06-09 12:37:11 -04:00
Ting-Yu Lin
533dd6945f Bug 1016147 - Make sendKeysToElement() respect caret position. r=automatedtester
This allows HTMLElement.send_keys() to insert text after the caret in
<input>.

Also, fix the test cast fail in test_text.py due to caret position was
not being considered.
2014-06-02 09:01:00 +02:00
David Burns
85822a57f2 Bug 1006105: Allow switching to top level frame if index is passed in. r=mdas 2014-05-09 15:01:34 +01:00
David Burns
8ac5a89123 Bug 1004089: Allow frame switching in marionette when switching by index and the frame is OOP; r=mdas 2014-04-30 22:59:25 +01:00
Malini Das
3648714a31 Bug 995989 - fix APZ scrolling, r=dburns 2014-04-30 17:48:21 -04:00
David Burns
522a852d9e Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
Carsten "Tomcat" Book
62cb07a37c Backed out changeset bc6ddc5dc31a (bug 929175) on request on a CLOSED TREE 2014-04-25 15:51:24 +02:00
David Burns
a4b397d098 Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
Malini Das
e74619b163 Bug 958036 - fix scrolling in apps with APZ enabled, r=dburns 2014-04-10 10:26:08 -04:00
Vicamo Yang
9c9126f41e Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Masayuki Nakano
e393ad7356 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
David Burns
5c7ad61bef Bug 874868: Make sure that Marionette takes a screenshot of the the entire content canvas; r=mdas 2014-02-05 21:38:12 +00:00
Andreas Tolfsen
bd32d26c75 Bug 941148 - Rename screenShot to takeScreenshot for webdriver compliance. r=dburns 2014-01-24 08:45:58 -05:00
Andreas Tolfsen
cb2d92105b Bug 941145 - Rename goUrl to get for WebDriver compatibility. r=dburns 2014-01-24 08:39:23 -05:00
Andreas Tolfsen
48273d5f99 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-22 14:04:04 -05:00
Andreas Tolfsen
d6c7f044ae Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Ryan VanderMeulen
3e0a891bf2 Backed out 3 changesets (bug 941132, bug 941136, bug 961792) for breaking the Marionette harness. CLOSED TREE
Backed out changeset 301044380886 (bug 961792)
Backed out changeset 236a56500ef3 (bug 941132)
Backed out changeset 02130207774e (bug 941136)
2014-01-21 14:47:41 -05:00
Andreas Tolfsen
e8f3ae77dd Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
114b6e4af0 Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
19ee853526 Bug 941129 - Fix getAllCookies not matching WebDriver command. r=dburns
The protocol command getAllCookies remains for backwards compatibility.
2014-01-21 11:40:20 -05:00
Alexandre Poirot
6a13f8e9f2 Bug 891882 - Activate touch events on b2g desktop. r=vingtetun, r=mdas 2014-01-15 09:28:04 -05:00
Bill McCloskey
03d3b6d23d Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
David Burns
4ac6f8e94a Bug 942730 - allow Marionette to type into input type=number fields; r=mdas 2013-12-16 16:40:51 +00:00
Ryan VanderMeulen
07bfe5e6da Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
924eb1f188 Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
David Burns
2dbbd08e04 Bug 938242: Remove the visibility checks for touch actions in Marionette; r=mdas 2013-11-27 21:37:34 +00:00
Jed Davis
502729fde7 Bug 941340 - Avoid forbidden content-process mkdir in marionette listener. r=mdas 2013-11-26 17:25:24 -05:00
Sebastiaan de Haan
4a34e487a3 Bug 818287 Remove data URL prefix from screenshots. r=dhunt 2013-11-08 07:27:00 +00:00
Malini Das
20e64d0b5c Bug 909129 - stop leaking imported scripts and don't import duplicates, r=jgriffin 2013-10-08 16:11:45 -04:00
Malini Das
7502f19df7 Bug 927592 - add modal dialog handling when document is ready, and only in B2G, r=jgriffin 2013-10-17 11:25:11 -04:00
Wes Kocher
f27029d43a Merge m-c to fx-team 2013-10-15 20:32:13 -07:00
Blair McBride
908c3ef327 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
David Burns
8ebcecb0c8 Bug 759485: Add submit to HTMLElement on Marionette to submit forms without click() or send_keys(); r=mdas 2013-10-15 15:40:48 +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
Ed Morley
e9fa14ead7 Backed out changeset 8ecb68f17618 (bug 909129) for causing bug 924959 2013-10-09 17:13:22 +01:00
Malini Das
d53a62267f Bug 909129 - fix leaking imported scripts from marionette, r=dburns 2013-10-08 16:11:45 -04:00
Malini Das
e7dc3aa1e9 Bug 779284 - Implement B2G Modal dialog handling to Marionette, r=jgriffin,mdas 2013-09-19 13:35:19 -04:00
Malini Das
4f96e31cec Bug 915658 - Add timestamp data to Marionette touch event logging, r=jgriffin 2013-09-13 09:33:41 +02:00
James Lal
5257f1db28 Bug 912809 - Use false instead of true in scrollIntoView, r=jgriffin 2013-09-05 10:38:36 -07:00
David Burns
cf39aea60b Bug 912244: Correct screenshot with element highlighting in Marionette; r=jgriffin 2013-09-04 09:05:43 +01:00
Mihnea Dobrescu-Balaur
8b76cb0e83 Bug 904232 - Add inactivity timeout for marionette tests. r=jgriffin 2013-08-28 10:06:03 -07:00
Jonathan Griffin
191efc8776 Bug 779284 - Back out 705d668fb81b for suspected perf regressions, a=test-only 2013-08-25 11:23:19 -07:00
David Burns
34f738c77f bug 901781: Correct viewport algorithm for marionette and enable visibility tests; r=mdas 2013-08-07 16:19:59 -07:00
Malini Das
723d7f0a5c Bug 779284 - Implement Modal dialog handling to Marionette, r=jgriffin 2013-08-16 16:54:41 -04:00
William Lachance
0479d36569 Bug 855327 - Add capability to get currently active frame from marionette;r=jgriffin 2013-07-29 13:46:01 -04:00
Jonathan Griffin
0819ed521b Bug 894953 - Don't leak onDOMConentLoaded event handlers, r=mdas 2013-07-17 15:13:09 -07:00