gecko-dev/testing/marionette
Andreas Tolfsen 820971ad9f Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester
This fixes a leak where timers were not cancelled upon promise rejection.
When the function passed to implicitlyWaitFor is rejected for not finding
elements after the timeout has elapsed, the elementSearch callback is
no longer called because the timer is cancelled when it calls reject().

MozReview-Commit-ID: FR2iA8s1NjX

--HG--
extra : rebase_source : 80f4b13d15cf3497a8d4b20bca98450ad3bc1b5e
2016-03-16 12:27:36 +00:00
..
client Bug 1130979 - Added ANON constant to By class and changed hard-coded values in test file; r=maja_zf 2016-03-12 13:32:46 -05:00
components Bug 1240576 - Use Preferences.jsm throughout Marionette; r=automatedtester 2016-01-18 22:05:30 +00:00
harness Bug 1256978. Use self.capabilities instead of self._capabilities in BaseMarionetteTestRunner; r=maja_zf 2016-03-16 01:40:21 +02:00
accessibility.js Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester 2016-03-03 13:58:13 +00:00
action.js Bug 1253244 - Use element.coordinates in action module; r=automatedtester 2016-03-03 14:29:53 +00:00
atom.js Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester 2016-02-03 19:00:46 +00:00
capture.js Bug 1213797: Refactor screen capture and SVG document support 2015-10-13 16:52:26 +01:00
common.js
cookies.js Bug 1223907: Refactor cookies in Marionette 2015-11-13 13:35:22 +00:00
dispatcher.js Bug 1240576 - Use Preferences.jsm throughout Marionette; r=automatedtester 2016-01-18 22:05:30 +00:00
driver.js Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester 2016-03-04 18:03:28 +00:00
element.js Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester 2016-03-16 12:27:36 +00:00
emulator.js Bug 1211489: Provide message sequencing in Marionette 2015-09-26 17:12:01 +01:00
error.js Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester 2016-02-03 18:43:37 +00:00
evaluate.js Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
event.js Bug 1253236 - Remove window argument from element.isVisible; r=automatedtester 2016-03-03 14:20:39 +00:00
frame.js Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
interaction.js Bug 1245064 - Implement element pointer-interactability; r=automatedtester 2016-03-04 16:44:38 +00:00
jar.mn Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
listener.js Bug 1245064 - Pass all capabilities to listener; r=automatedtester 2016-03-04 18:02:56 +00:00
mach_commands.py Bug 1251037 - Fix ./mach marionette command line to work with options and tests. r=automatedtester, r=gps 2016-02-29 11:39:28 -06:00
message.js Bug 1215502: Send wrapped WebDriverError to client r=automatedtester 2016-01-07 14:41:11 +00:00
modal.js Bug 1254523 - Convert modal.Dialog to a class; r=automatedtester 2016-03-08 14:10:32 +00:00
moz.build Bug 1246407 - Rename parent directories for Marionette client and test harness; r=automatedtester 2016-02-06 17:34:10 +00:00
proxy.js Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester 2016-02-03 18:44:55 +00:00
server.js Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester 2016-02-03 19:18:30 +00:00
simpletest.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
test_element.js Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester 2016-03-04 15:34:28 +00:00
test_error.js Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester 2016-03-04 18:25:21 +00:00
test_message.js Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester 2016-03-04 18:25:21 +00:00
unit.ini Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester 2016-03-04 15:34:28 +00:00