Commit Graph

10700 Commits

Author SHA1 Message Date
Andreas Tolfsen
71b94d4505 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : fbb7995924c7e2707e2aaa2293b8a5c51fc563bc
2016-03-03 13:58:13 +00:00
Rail Aliiev
82444de5a3 Bug 1254887 - Adjust requires_mirror in updates.py r=bhearsum a=release
MozReview-Commit-ID: Erwp3Q7uBH2

--HG--
extra : rebase_source : f4c5e971bacbb4f7bbb8a995de55f814b41f4233
2016-03-09 02:23:33 -05:00
Carsten "Tomcat" Book
84efe80138 Backed out changeset 4dec8d87c105 (bug 1245064) for marionette bustage 2016-03-09 14:03:28 +01:00
Carsten "Tomcat" Book
38c337c81b Backed out changeset 1dd0bcc1c45e (bug 1245064) 2016-03-09 14:03:07 +01:00
Carsten "Tomcat" Book
b622474229 Backed out changeset cb92135b84d1 (bug 1245064) 2016-03-09 14:03:06 +01:00
Carsten "Tomcat" Book
b685a90a5e Backed out changeset 2483596f62ef (bug 1245064) 2016-03-09 14:03:04 +01:00
Carsten "Tomcat" Book
f06c52d3e1 Backed out changeset 9c4589c2cf47 (bug 1245064) 2016-03-09 14:03:03 +01:00
Carsten "Tomcat" Book
763127bbc7 Backed out changeset 20d915f9df91 (bug 1245064) 2016-03-09 14:03:01 +01:00
Andreas Tolfsen
b19085f378 Bug 1245064 - Run click tests with new interactability algorithm; r=automatedtester
MozReview-Commit-ID: FR7yucKZ7XT

--HG--
extra : rebase_source : a409d766a6853bdad6fb9c27ec62cd3f0e83b6c4
2016-03-04 18:04:16 +00:00
Andreas Tolfsen
608b6681f2 Bug 1245064 - Lint GeckoDriver#setSessionCapabilities; r=automatedtester
MozReview-Commit-ID: GXLGqjKCfVA

--HG--
extra : rebase_source : 1c0e879f11c6ec0bed455a083fe208d8cb6fb14f
2016-03-04 18:03:28 +00:00
Andreas Tolfsen
64ff8c0c0e Bug 1245064 - Pass all capabilities to listener; r=automatedtester
MozReview-Commit-ID: 2UgKKAUowM4

--HG--
extra : rebase_source : aae2e03f133b21ab1e65b51aebdec155a2990beb
2016-03-04 18:02:56 +00:00
Andreas Tolfsen
01b20214ee Bug 1245064 - Lower specificationLevel to 0; r=automatedtester
Marionette is not yet compatible with the WebDriver specification, and
we indicate this by lowering the specificationLevel capability to 0.
This lets us "gate" specification-compatible features, such as the new
element interactability algorithm.

The new interactability algorithm can be enabled by requesting the
capability specificationLevel 1.

MozReview-Commit-ID: 6wsEAsBtR6P

--HG--
extra : rebase_source : 3109e0925178ffca5d807a56feabfe66783b38f6
2016-03-04 18:00:17 +00:00
Andreas Tolfsen
ed18a3de7d Bug 1245064 - Implement element pointer-interactability; r=automatedtester
Implements the WebDriver pointer-interactability algorithm described in
http://w3c.github.io/webdriver/webdriver-spec.html#dfn-interactable-element.

The specification compatible behaviour is enabled only when the client
requests the capability specificationLevel >= 0.

MozReview-Commit-ID: BP60SGj49OW

--HG--
extra : rebase_source : 357accaa38b44704fcaf839aa50e1e29af0b3f99
2016-03-04 16:44:38 +00:00
Andreas Tolfsen
fcdf164815 Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester
MozReview-Commit-ID: LblRZz8KqPx

--HG--
extra : rebase_source : 347210842fae698acde760c2733dd8d882a09c25
2016-03-03 13:58:13 +00:00
Ryo Motozawa
ef768c7933 Bug 1244635 - Part3 Add enddelay tests in testing/web-platform/tests/web-animations r=hiro
MozReview-Commit-ID: GnIp7BmwPxw

--HG--
extra : rebase_source : b7fe13202c11802a90f3e20674a84f38ecb0b7c2
2016-03-08 10:31:36 +09:00
Phil Ringnalda
4b0cdb5de3 Back out 3 changesets (bug 1250616, bug 1251372) for failing browser_checkAddonCompatibility.js after the version bump
CLOSED TREE

Backed out changeset 4fa5b5a25f04 (bug 1251372)
Backed out changeset 502cf531ec26 (bug 1250616)
Backed out changeset 2f25d03334b2 (bug 1250616)
2016-03-08 19:04:46 -08:00
Ting-Yu Lin
337ddd8206 Bug 1253989 Part 5 - Remove touch caret and selection carets naming. r=mtseng
- To avoid confusion, call the blinking cursor (nsCaret) "cursor" so that
  AccessibleCaret can be called caret for short.
- Add second_caret_location() as a helper function, and use it in
  selection mode tests.

MozReview-Commit-ID: IKN6KuR92HE

--HG--
extra : rebase_source : c247ad6b61bc1b1cc3c4d8784584e19d9ef5c1ea
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
22302ef765 Bug 1253989 Part 4 - Rename AccessibleCaret test files. r=mtseng
Remove "touch caret" and "selection carets" from file names and titles.

MozReview-Commit-ID: KqjYE7tiqXd

--HG--
rename : testing/marionette/harness/marionette/www/test_touchcaret.html => testing/marionette/harness/marionette/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_iframe.html => testing/marionette/harness/marionette/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_longtext.html => testing/marionette/harness/marionette/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multipleline.html => testing/marionette/harness/marionette/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets_multiplerange.html => testing/marionette/harness/marionette/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_selectioncarets.html => testing/marionette/harness/marionette/www/test_carets_selection.html
extra : rebase_source : 1af82b4e59c409109025684553aa0ff780eec947
2016-03-08 22:45:47 +08:00
Ting-Yu Lin
732119fb5b Bug 1253989 Part 3 - Use @parameterized to rewrite selection mode tests. r=mtseng
* Inline some of the open_*_html methods since they're called only once.
* Save test running time by finding the elements needed in tests instead
  of find all of the elements in open_*_html methods.
* Remove test_long_press_to_select_non_selectable_word() since it's
  covered by test_focus_not_changed_by_long_press_on_non_selectable().
* Use hyphen for element ids.
* Replace "left" and "right" caret by "first" and "second" caret,
  respectively.

MozReview-Commit-ID: Ey5m5zO3HYc

--HG--
extra : rebase_source : c94b84ced75560ce1167cda35ee94dd4cc81ee4d
2016-03-08 22:21:31 +08:00
Boris Zbarsky
3d39097c61 Bug 1254293. Fix dom::GetArrayIndexFromId to actually follow the spec for large indices (i.e. ones that don't fit in in int32_t). r=peterv 2016-03-08 17:21:40 -05:00
Boris Zbarsky
d29c2409f0 Bug 1253591. HTMLAllCollection should be rooted at the document, not the root element, so it can find the root element. r=peterv 2016-03-08 17:21:40 -05:00
Wes Kocher
2048d9f4a0 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4SEUTTY9jRn
2016-03-08 16:08:08 -08:00
Wes Kocher
0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
Andreas Tolfsen
42c25b995a Bug 1254521 - Add return type docs for element.inViewport; r=automatedtester
MozReview-Commit-ID: Budv7EapTfo

--HG--
extra : rebase_source : 98d9684610b3f594a66a01228473b1a8d602024a
2016-03-08 13:53:00 +00:00
Andreas Tolfsen
26578b425f Bug 1254521 - Add return type docs for element.isVisible; r=automatedtester
MozReview-Commit-ID: 9tjnHPmYSdq

--HG--
extra : rebase_source : d51af3dd9760149f0b0a175b6daaf562bddb582d
2016-03-08 13:52:38 +00:00
Andreas Tolfsen
fedd17bd6b Bug 1251763 - Reduce repetition in test_findelement.py; r=automatedtester
MozReview-Commit-ID: utpbgMlajl

--HG--
extra : rebase_source : 6ad9ca035943b3165ae01d1a4acdb8cfe9cabbe7
2016-03-08 16:44:41 +00:00
Andreas Tolfsen
a9b5a85fc1 Bug 1251763 - Correct type check on singular returned elements; r=automatedtester
The return values from the different element search functions in searchFn
have inconsistent return types, and a null check is usually not what
we want.  In order to have findElement consistently return a no such
element error, we need to do a loose false test.

This bug has affected the findElement command when using the tag
name, name, class name, link text, and partial link text selectors.
Other selectors were unaffected.

MozReview-Commit-ID: C26R3YrqKyf

--HG--
extra : rebase_source : dc723ae147b9208b4274ffc4a5338f0107ddd0ed
2016-03-08 16:23:50 +00:00
Rail Aliiev
da94a314aa Bug 1254422 - Do not try to set S3 ACLs r=jlund a=release
MozReview-Commit-ID: 1RyB48KhFvD

--HG--
extra : source : d5370c00e1eb31a2f9de7750a0cb1747c277e1ed
2016-03-08 00:49:24 -05:00
Rail Aliiev
02feabe050 Bug 1253749 - Branch specifics for relpro on beta r=jlund a=testing DONTBUILD 2016-03-05 19:38:08 -05:00
Ryan VanderMeulen
599f2304e0 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Ryan VanderMeulen
54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Andreas Tolfsen
ea6b2b1f06 Bug 1253236 - Reuse element.isXULElement; r=automatedtester
MozReview-Commit-ID: 7P02xsSLuCl

--HG--
extra : rebase_source : 6801299b05fe7fdbceebdf1e0a84e4544863e111
2016-03-03 14:21:45 +00:00
Andreas Tolfsen
a1495c253c Bug 1253236 - Remove window argument from element.isVisible; r=automatedtester
MozReview-Commit-ID: ITzY9RXjJCG

--HG--
extra : rebase_source : 7954e5d2891a8d214fdbf00ea1b0b62acc0482b3
2016-03-03 14:20:39 +00:00
Andreas Tolfsen
4a0bcbbee4 Bug 1253236 - Rename element.checkVisible to isVisible; r=automatedtester
MozReview-Commit-ID: 1fkH93OXjWF

--HG--
extra : rebase_source : 39c628d9ca7ef1713a68e620a8c759813c5415fc
2016-03-03 14:18:52 +00:00
Andreas Tolfsen
c5255475ef Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester
These functions do nothing.

MozReview-Commit-ID: 6AiXA8zEbv2

--HG--
extra : rebase_source : a01266752baba31712eb05b80cd8431326dbce9e
2016-03-04 18:25:21 +00:00
Phil Ringnalda
cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
Ryan VanderMeulen
27d8b691c1 Bug 1253849 - Annotate some expected Windows e10s w-p-t failures.
--HG--
extra : rebase_source : 76f21c32081896e4edd9e0c6d6a96ee8ebd5080c
2016-03-05 15:47:39 -05:00
Doug Turner
a98f782612 Bug 1252750 - Part 1: Create a helper function on SpecialPowersAPI which creates a nested event queue and spins it for a bit. r=mrbkap
--HG--
extra : rebase_source : bdf09f33e7cedbc3ee25f6162ca3cc895633fb73
2016-03-05 00:05:00 -05:00
Varun Joshi
ccf2520af5 Bug 1248713 - add docker container for l10n repacks r=catlee DONTBUILD
--HG--
extra : commitid : FJryigyknf7
extra : rebase_source : c41f32a7d64a49dcc7604dc2b6fae5133ffebcb8
2016-03-04 13:30:59 -05:00
Andreas Tolfsen
05e86fe521 Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester
The xOffset and yOffset arguments to element.coordinates previously
checked loose falsiness.  If a number <= 0 would be given as an argument,
they would not be used and it would return the centre of the element.

This change adds more checks, documentation, and tests.

MozReview-Commit-ID: KmsiVFipzWx

--HG--
extra : rebase_source : 96e6c8c127071356fec029f5eaa4254ae60930b3
2016-03-04 15:34:28 +00:00
Andreas Tolfsen
fadb4f79f3 Bug 1253244 - Use element.coordinates in action module; r=automatedtester
MozReview-Commit-ID: 2FJJImg4NsI

--HG--
extra : rebase_source : 6038343d9b8104c8f5b8b51f42794a42b6e8c752
2016-03-03 14:29:53 +00:00
Andreas Tolfsen
1a08c44699 Bug 1253244 - Use element.coordinates in listener; r=automatedtester
MozReview-Commit-ID: 4sWZNXrenqZ

--HG--
extra : rebase_source : 8a212826ff0dbe4a2555a9712f7fd7039f7ad5ff
2016-03-03 14:28:40 +00:00
Andreas Tolfsen
772f8fbb0b Bug 1253248 - Use element.Strategy enum consistently; r=automatedtester
Removes the exported constants from testing/marionette/element.js and
introduces the migrates to using the element.Strategy enum consistently
throughout Marionette.

The supported strategies array passed into ElementManager's ctor has
also received some much needed attention and now actually works.

MozReview-Commit-ID: LPuDX0aishM

--HG--
extra : rebase_source : bb06ea5a25d9a0dbcd6f3e1311d31df95cd4e26d
2016-03-04 12:01:09 +00:00
Sebastian Hengst
263fc3de3c Backed out changeset 912825aa7ee1 (bug 1254145) for failing bc7 tests. r=backout 2016-03-08 10:48:15 +01:00
Jared Wein
96d1f59f9c Bug 1254145 - Use BrowserTestUtils.removeTab instead of gBrowser.removeTab in BrowserTestUtils.withNewTab since BrowserTestUtils.removeTab is more deterministic since it waits for SessionStore to update. r=gijs
MozReview-Commit-ID: 8DoAiwCuGKl
2016-03-07 07:31:00 +01:00
Honza Bambas
a827d3166e Bug 1254059 - init MochitestBase.nsprLogs, r=jmaher 2016-03-07 04:14:00 +01:00
Shing Lyu
2507afb6b9 Bug 1253209 - Fixed reftest html report generation failure. r=jmaher 2016-03-06 20:09:00 +01:00
Hiroyuki Ikezoe
199a3521ec Bug 1153128 - Add sendSyncMessage to SpecialPowers.loadChromeScript. r=jmaher
MozReview-Commit-ID: AsbBiOkhhLo

--HG--
extra : rebase_source : 435440d581de51ff986fde9cd5b0d6e0cc3e5388
2016-02-24 21:43:23 -08:00
Wes Kocher
7629900d93 Backed out changeset 20d8879ac256 (bug 1242682) a=backout CLOSED TREE
MozReview-Commit-ID: AH8yw9fw2kD

--HG--
extra : source : 5a2e0878d6c258b36b0ee8712a2afcde6ad94c78
2016-03-04 11:41:25 -08:00
Mike de Boer
03bd1469f2 Bug 1241930: Part 1 - make all Assert.jsm assert methods available for use in ContentTasks. r=mconley 2016-03-04 14:32:22 +01:00