Граф коммитов

304 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 0a1b93ddf6 Bug 684208 - make dispatchEvent()'s return value to follow the spec, r=masayuki
--HG--
extra : rebase_source : d94e95611c2eb14171a693a5197afbd6e98f696a
2016-04-07 15:49:12 +03:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Andrew McCreight 16087a904d Bug 1251905, part 6 - Enable test_continuous_wheel_events.html in e10s. r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight bfae3ebe43 Bug 1251905, part 5 - Make the synthesize wheel async. r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight c2e5edf5ee Bug 1251905, part 4 - Use pushPrefEnv in testContinuousTrustedEvents(). r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight def249c77d Bug 1251905, part 3 - Make prepareScrollUnits() support APZ using the async synthetic wheel event. r=masayuki 2016-04-02 10:30:30 -07:00
Andrew McCreight 09d19dee11 Bug 1251905, part 2 - Make the top level tests in test_continuous_wheel_events.html more async. r=masayuki
This enables later changes.
2016-04-02 10:30:30 -07:00
Andrew McCreight d009fe69a7 Bug 1251905, part 1 - Make top level of test_continuous_wheel_events.html use pushPrefEnv. r=masayuki 2016-04-02 10:30:30 -07:00
Jocelyn Liu b382b4642e Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
Andrew McCreight e74d76e118 Bug 1252256, part 13 - Enable test_dom_wheel_event.html on e10s. r=masayuki 2016-03-18 08:35:22 -07:00
Andrew McCreight fb9a47d272 Bug 1252256, part 12 - Don't call continueTest if we're not expecting any more async handler calls. r=masayuki
This makes the sync dispatchEvent() call work properly, and also makes
the case where there are too many async events work better
2016-03-18 08:35:22 -07:00
Andrew McCreight 9f98e659dd Bug 1252256, part 11 - Rename expectedHandlerCalls to expectedAsyncHandlerCalls. r=masayuki
This variable is only needed for async handler calls.
2016-03-18 08:35:22 -07:00
Andrew McCreight a6fbff6a44 Bug 1252256, part 10 - Use sendWheelAndWait in synthesizeWheel. r=masayuki 2016-03-18 08:35:22 -07:00
Andrew McCreight 274bb54bf0 Bug 1255178 - Part 2: Remove extraneous argument to sendWheelAndWait. r=masayuki
Bug 1140293 changed hitEventLoop calls to sendWheelAndWait but did not
remove the extra argument.
2016-03-09 16:27:00 -05:00
Andrew McCreight 72e6983d10 Bug 1255178 - Part 1: Remove a leftover use of clearUserPref. r=masayuki
Also, remove some trailing whitespace.
2016-03-09 16:27:00 -05:00
Andrew McCreight e527e48266 Bug 1255173 - Fix onZoomReset() in test_wheel_default_action.html to work with e10s. r=masayuki, r=jmaher
"test.events.async.enabled" must be set to true so we generate key
events in the parent process, which is what triggers the zoom reset.

In addition, some SpecialPowers infrastructure must be set up to
listen for "browser-fullZoom:zoomReset" in the parent and send it to
an observer in the child.

--HG--
extra : rebase_source : 05072529e645b4b8fbd97e2d3ff6dec51a913f40
2016-03-09 16:28:00 -05:00
Andrew McCreight 4272902ae3 Bug 1252256, part 9 - Fix testOnWheelProperty() subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight 5112b5e3fc Bug 1252256, part 8 - Use Currying in testOnWheelProperty subtest. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight 20baf11d59 Bug 1252256, part 7 - Fix testOnWheelAttr subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight c8fe677cf5 Bug 1252256, part 6 - Use a common template literal function in testOnWheelAttr subtest. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight 017a35d024 Bug 1252256, part 5 - Fix testEventOrder() subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight 0b0a1f0c8e Bug 1252256, part 4 - Move preventDefault into pushEvent in testEventOrder() subtest. r=masayuki 2016-03-08 07:18:18 -08:00
Andrew McCreight 3efd074596 Bug 1252256, part 3 - Fix testDeltaMultiplierPrefs() subtest to work with e10s. r=masayuki
Also, check deltaX instead of deltaY to decide if a horizontal MozMousePixelScroll is expected.
2016-03-08 07:18:18 -08:00
Andrew McCreight 8922a75b96 Bug 1252256, part 2 - Fix prepareScrollUnits() subtest to work with e10s. r=masayuki 2016-03-08 07:18:18 -08:00
Andrew McCreight d91226db45 Bug 1252256, part 1 - Fix typo in test messages in testDeltaMultiplierPrefs. r=masayuki 2016-03-08 07:18:18 -08:00
Martijn Wargers 147837be87 Bug 553417 - Rewrite tests to use pushPrefEnv. r=mats
--HG--
extra : rebase_source : 915e035893f1fb59a791d41ac3b2d2b3b63dc287
2016-03-04 12:23:23 -05:00
Jim Chen 633ea30d54 Bug 1248459 - Add a test for querying out-of-bounds selection; r=masayuki 2016-03-03 13:10:07 -05:00
Ryan VanderMeulen 7187198c8b Bug 1252273 - Skip a couple timeout-prone dom/events tests on OSX e10s. 2016-02-29 18:04:51 -05:00
Martijn Wargers 0cf9cbfeef Bug 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight
--HG--
extra : rebase_source : 1984989a2472b1bcf2a77fef2f735a5a8649452b
2016-03-01 09:27:15 -05:00
Andrew McCreight f759697989 Backout Bug 1251659, part 1 for frequent failures 2016-02-29 07:44:15 -08:00
Andrew McCreight 33db15a0d7 Bug 1251837, part 6 - Make cleanup() in doTestScroll take a callback, and use pushPrefEnv. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight 37ec2c1c6f Bug 1251837, part 5 - Make prepare() in doTestScroll take a callback, and use pushPrefEnv. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight 112ff3a7ee Bug 1251837, part 4 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight 47c168f53f Bug 1251837, part 3 - Use pushPrefEnv in doTestWholeScroll in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight 4ffb7332ed Bug 1251837, part 2 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight 4d1db7462a Bug 1251837, part 1 - Use pushPrefEnv in setDeltaMultiplierSettings in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight e226e5ac19 Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-29 05:42:56 -08:00
Andrew McCreight 2c6fb590c4 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-29 05:42:56 -08:00
Ryan VanderMeulen a309d2255d Backed out changesets 3a116d8cb42f and b61ca87b91e1 (bug 1251659) for making test_bug967796.html permafail. 2016-02-29 00:03:01 -05:00
Andrew McCreight 7bf30b4fed Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-28 14:00:59 -08:00
Andrew McCreight ad6d0c4234 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-28 14:00:59 -08:00
Wes Kocher a0271adb8d Backed out 2 changesets (bug 1248459) for test_imestate.html failures in mochitest-chrome-3 runs
Backed out changeset 62d7f81e434a (bug 1248459)
Backed out changeset 6aeedf17f577 (bug 1248459)

MozReview-Commit-ID: 10008f0KqYP
2016-02-26 13:51:56 -08:00
Jim Chen e3538e4e0c Bug 1248459 - Add a test for querying out-of-bounds selection; r=masayuki 2016-02-26 14:38:57 -05:00
Timothy Nikkel 7f52ab42ea Bug 1210057. Make test_moz_mouse_pixel_scroll_event.html wait for a paint after adding a apz aware (MozMousePixelScroll) event listener. r=kats
Adding an apz aware event listener will change the event regions on the layer tree, so we want to wait until that has happened before running the test.
2016-02-10 17:47:58 -06:00
Mike Taylor ab88c5e143 Bug 1246246. Part 3 - Add test for firing prefixed legacy event types (in capture phase). r=smaug 2016-02-10 12:55:09 -06:00
Mike Taylor 502f99f38e Bug 1246246. Part 2 - Remove root test div in mpTestDiffListenersEventBubbling. r=smaug 2016-02-10 12:55:08 -06:00
Mike Taylor 3ed8f2140a Bug 1246246. Part 1 - Whitespace + rename existing test. (no review, whitespace + rename only) 2016-02-10 12:55:08 -06:00
Carsten "Tomcat" Book f54b84ca7c Backed out changeset 07d6feffedb9 (bug 1000870) for e10s asan test failure in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html 2016-02-05 13:58:11 +01:00
Carsten "Tomcat" Book bdd1850b31 Backed out changeset c8273997b141 (bug 1000870) 2016-02-05 13:57:30 +01:00
Lebedev Maksim cb152c2f1d Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2016-02-03 05:06:00 +01:00