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

1450 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen 6d114b137e Bug 1201050: Part 3: Use dispatcher for listener mutliAction
r=dburns

--HG--
extra : commitid : 1lEK3P90oh0
extra : rebase_source : 45a9aded327adb1899ef795898683fa71aaf5c26
2015-09-02 14:04:58 +01:00
Andreas Tolfsen 884048b644 Bug 1201050: Part 2: Unbreak test by using correct imports
Do note that this test is disabeld in the manifest.

r=dburns

--HG--
extra : commitid : HvrxGUF6QhD
extra : rebase_source : 370886c6a60b132ac9406c38ca42fce78301190f
2015-09-02 14:04:10 +01:00
Andreas Tolfsen 407cfefbc9 Bug 1201050: Part 1: Use dispatcher for listener actionChain
r=dburns

--HG--
extra : commitid : EcKvt9OtC10
extra : rebase_source : b9f9d53fa2d3815863bf5c3261c0b8a4334d4028
2015-09-02 13:36:03 +01:00
Yura Zenevich 2c5a38020c Bug 1227147 - ensuring that switchToShadowRoot does not crash when shadowRoot host element is dead. r=automatedtester 2015-11-26 09:23:30 -05:00
Andrew Halberstadt bf62ed093b Bug 1227252 - [marionette] Don't depend on a potentially stale tab reference in hasRemotenessChange(), r=ato
--HG--
extra : commitid : GznhxqM06QD
extra : rebase_source : 80d4a3a620c55e79079552b3567f63844b9cbc6b
extra : amend_source : 462238c3e143a98fd085c065838fb728b4dc7552
2015-11-23 14:49:13 -05:00
Andrew Halberstadt 1252d85394 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.

--HG--
rename : testing/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/content/SpecialPowersObserver.jsm
extra : commitid : Bbg8gFten8S
extra : rebase_source : 99d0b841a1f8f9eb6b6ca846363a158836482e57
2015-11-05 10:00:59 -05:00
Ting-Yu Chou f016efafb8 Bug 1220012 - Remove mozbrowserclose listener properly to fix memory leaks. r=ato 2015-10-30 14:29:14 +08:00
Ting-Yu Lin 2322e84c59 Bug 1206545 - Add a marionette test case. r=roc
Test AccessibleCaretEventHub is properly initialized if <html> has
"display: none" initially.

--HG--
extra : commitid : 4D5733d5Xr8
extra : rebase_source : 9c767b200a63777b3f20e85ebc3f83272e979bc9
2015-11-16 18:16:43 +08:00
Maja Frydrychowicz 85b6d217e6 Bug 1223517 - Release marionette-client 2.0.0 and marionette-driver 1.1.1; r=automatedtester
--HG--
extra : commitid : L8Pq0IR1vFa
extra : rebase_source : 8fba20db0d5c996fb615e6bc7cd9a5f531a74fc2
extra : histedit_source : 9d31ea2bdbafa5c783432225bc72703f5010cd9a
2015-11-10 14:51:44 -05:00
Yura Zenevich 0f813762b9 Bug 1224339 - making sure a11y and DOM trees are in sync when performing a11y checks with marionette. r=automatedtester 2015-11-13 09:58:08 -05:00
Andreas Tolfsen 4343fd152c Bug 1217988: Use current system OS for platformName capability
Services.appinfo is populated by the target compile system's OS name,
taken from the OS_TARGET configure variable.

By using Services.sysinfo instead, we are returning the effective current
local system's operating system, which is similar to what is found in
Gecko's UA string.

r=dburns

--HG--
extra : commitid : 2ap54ga0CLq
extra : rebase_source : 803baa9d40dee8630e58b8ccf6d68ef7ca6f0e3b
2015-11-10 15:43:58 +00:00
Maja Frydrychowicz 3b676c802b Bug 1223429 - Return exit code 10 when Marionette harness has failing tests; r=automatedtester
--HG--
extra : rebase_source : 0e3dfb94d210143f81a45049f3ecbd01bb5ce9a7
2015-11-10 13:09:13 -05:00
Wes Kocher 7818a5d82d Merge b2ginbound to central, a=merge
--HG--
extra : commitid : 4oxpTfmj62P
2015-11-12 16:10:14 -08:00
Wes Kocher aa703c8ebc Merge fx-team to central, a=merge
--HG--
extra : commitid : 2P60329DeS
2015-11-12 16:04:09 -08:00
Carsten "Tomcat" Book d577fff5aa Merge mozilla-central to b2g-inboind 2015-11-12 12:40:40 +01:00
Andrew Halberstadt bf1fc268f1 Bug 1223171 - [marionette] add ability to install addons programatically, r=ato
This is needed to install unsigned addons in developer mode. A special pref that
can only be set at runtime will determine whether or not unsigned addons can be
installed. So unsigned addons required for testing will need to be restartless
and installed on the fly. The normal method of dropping the addon in the profile
folder will no longer work.

--HG--
extra : commitid : HaXy0GQQmz9
extra : rebase_source : 4ba87c3d40a7fea9dd7afc510ce16ab54019e32b
2015-11-10 08:29:36 -05:00
Edgar Chen cea3a0af78 Bug 1223676 - [Marionette] Remove waiting for homescreen on emulator. r=ahal
--HG--
extra : commitid : EppY5lQSe21
extra : rebase_source : 2520211aab893431f9af32ad2217c1b604c637e3
extra : amend_source : beb71aefc8d313ff0eeeec4becebac785535e3b2
2015-11-11 15:23:22 +08:00
Andreas Tolfsen dac05c8fbd Bug 1223028: Exhaust server-originated commands
The Python client does not currently exhaust all the command
requests originating from the server as pointed out by :bhsu in
https://bugzilla.mozilla.org/show_bug.cgi?id=1211503#c12.

This prevents making multiple calls to runEmulatorCmd and runEmulatorShell
inside executeScript/executeJSScript/executeAsyncScript.  This failure
makes marionette-webapi fail.

We loop through all the commands originating from the server until we
get sent back a response.

r=dburns

--HG--
extra : commitid : 1SVHwcJrDcU
2015-11-09 15:54:10 +00:00
Paolo Amadini 083cc54da4 Bug 1206244 - Fix Marionette test that used the identity icon element to test a framework function. r=ato on a CLOSED TREE
--HG--
extra : commitid : ILrIG9g5hRP
extra : amend_source : 3d5286fcd9394bede7a8ddc6b0d3711ecdb0eaf5
2015-11-12 17:55:01 +00:00
Maja Frydrychowicz efa9e8e397 Bug 1199588 - Add --workspace option to Marionette runner; r=automatedtester
The default behaviour is unchanged: gecko.log and logcat are saved to the
cwd, a temporary Firefox profile is cloned or created in TMP.

When a path is specified via --workspace, gecko.log, logcat and the Firefox
profile directory are all saved there instead. A profile saved in the
workspace does not get deleted at the end of a session unless it's a clone.

--HG--
extra : rebase_source : 155c26af065f55bcba0f2a139c9f06e4a526f740
2015-11-02 11:55:29 -05:00
Andreas Tolfsen e50c5aed41 Backed out changeset de2c852c9853 (bug 1217988)
CLOSED TREE

--HG--
extra : commitid : 7V7qyzLQGn4
extra : amend_source : afd52fb64b0ed6e49d12cd950ead847df153a6cd
2015-11-10 23:23:47 +00:00
Andreas Tolfsen 22ca8dbc18 Backed out changeset a3f9ac7c8454 (bug 1223028)
CLOSED TREE

--HG--
extra : commitid : 1bAUklMyy5l
extra : amend_source : 93e1e088fe70a510b51b27bdf8380ef577daf946
2015-11-10 22:47:17 +00:00
Andreas Tolfsen 942d6c9426 Bug 1223028: Exhaust server-originated commands
The Python client does not currently exhaust all the command
requests originating from the server as pointed out by :bhsu in
https://bugzilla.mozilla.org/show_bug.cgi?id=1211503#c12.

This prevents making multiple calls to runEmulatorCmd and runEmulatorShell
inside executeScript/executeJSScript/executeAsyncScript.  This failure
makes marionette-webapi fail.

We loop through all the commands originating from the server until we
get sent back a response.

r=dburns

--HG--
extra : commitid : 8oBRRddi4TJ
extra : rebase_source : 98b10ccaba525acd391bf614a91aec1b8f7daf4e
2015-11-09 15:54:10 +00:00
Andreas Tolfsen 4d78a9aa16 Bug 1217988: Use current system OS for platformName capability
Services.appinfo is populated by the target compile system's OS name,
taken from the OS_TARGET configure variable.

By using Services.sysinfo instead, we are returning the effective current
local system's operating system, which is similar to what is found in
Gecko's UA string.

r=dburns

--HG--
extra : commitid : 2UVeU9zzO6p
extra : rebase_source : cea1d6f8bc00173a68a28b51df33d59320be8093
2015-11-10 15:43:58 +00:00
Andreas Tolfsen 021a5ea9b8 Bug 1202381: Remove null check on element id
Corrects type checks on parameters passed to command, indentation level,
and clarifies when the code leaps into content space.

Thanks to Stanislas Daniel Claude Dolcini for doing the first iteration
fix for this.

r=dburns

--HG--
extra : commitid : 3HeTTEsvvBx
extra : rebase_source : 7088760ae24d695a2f9fa20b14a16cdec2e125d7
2015-11-09 17:48:31 +00:00
David Burns 19232bc3e9 Bug 1222388: Correct `./mach marionette-test` r=ato
There have been a number of improvements to the marionette test runner
unfortunately we missed this regression.

--HG--
extra : commitid : KE4FPolRysN
extra : rebase_source : 546152a67a4fd96a1d3c63ba914839c316022eaf
2015-11-09 14:07:52 +00:00
Maja Frydrychowicz 1b4a262a4c Bug 1219397 - Collect Firefox-Desktop-specific prefs in a subclass of GeckoInstance; r=automatedtester
--HG--
extra : rebase_source : 890b1e9915f8ef09e2c74dcbd0cacad68fb4c464
2015-11-05 12:16:32 -05:00
Maja Frydrychowicz 4cb179de44 Bug 1217557 - set browser.tabs.remote.autostart to False in GeckoInstance; r=automatedtester
--HG--
extra : rebase_source : 11ff5f88613b18ad7d46ca0f8ef008fdff2da2e3
2015-11-02 18:19:58 -05:00
Maja Frydrychowicz fc478b4b18 Bug 1212608 - Add parts of firefox_ui_harness to Marionette runner; r=automatedtester
* BaseMarionetteRunner: any change to self.bin resets self.marionette and
  self.tests, so you change binaries between calls to run_tests()
* Refactor runtests.py to make it easier to extend/customize the harness
  for different test suites. Add more error handling.

--HG--
extra : transplant_source : %BB%AC%A0%93%A1s%7F%23%A5%DER%E0%AF%B8Q%AF%83%98d%D9
2015-10-23 16:43:40 -04:00
Julien Pagès a4b97ca1c4 Bug 1173502 - add cmdline options to set prefs (same as in mozprofile). r=dburns
--HG--
extra : transplant_source : %15%16%84%D1%DB%A3%0F%E3%13y%04o%95%8B%24w%ADx%81%A4
2015-11-02 18:56:15 +01:00
Julien Pagès bb11933e45 Bug 1213026 - Skip a test based on the value of a browser pref. r=dburns
--HG--
extra : commitid : KuaEKJsQSB4
2015-11-02 19:09:18 +01:00
Andreas Tolfsen 446f2ed4ec Bug 1216967: Bump Marionette Python packages
Prepare release of new Python packages for Marionette, with the following
versions:

  marionette-client 1.1.0
  marionette-driver 1.1.0
  marionette-transport 1.0.0

r=dburns

--HG--
extra : commitid : DelEI4Q7Gnu
extra : rebase_source : 7cf900d42fbd60e44e6855c93807a7ba1409fb16
2015-10-21 14:21:27 +01:00
J. Ryan Stinnett 986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
David Burns 7cc0a899a5 Bug 1206122: Add support for switchToParentFrame r=jgriffin
This allows us from a child frame to go up one level. This is documented
at http://w3c.github.io/webdriver/webdriver-spec.html#switch-to-parent-frame

--HG--
extra : commitid : GtXAxWLM61v
extra : rebase_source : 9b18d51a5dbefb4dad1cb39b229dc3d55cfae26a
extra : histedit_source : d0a0479e0c9946f242efd71e722685447ae48fd1
2015-10-19 21:39:48 +01:00
Andreas Tolfsen 2d613cd4d7 Bug 1211503: Support for Marionette protocol level 3 in the Python client
Futures-proofs the Marionette Python client to have support for level
3 of the Marionette protocol outlined in bug 1211489.

This patch changes the marionette-transport API most notably by renaming
the MarionetteTransport class to TcpTransport and by splitting the
receive-capabilities of TcpTransport.send into a new function called
request.

Furthermore it introduces a message data structure for dealing with
incoming responses and commands, and for marshaling messages to send in
order to support all three protocol levels.

r=dburns
r=jgriffin

--HG--
extra : commitid : 3jwoFepZzgy
extra : rebase_source : 5012e774b6edf6a1d53db22e360b5a0b063dd59b
2015-10-09 11:15:24 +01:00
Carsten "Tomcat" Book 0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Ting-Yu Lin 1c82cbed60 Bug 1199625 - Test focus not being changed by long-pressing on non-selectable. r=mtseng
We already had focus changing tests covered by
_test_focus_obtained_by_long_press(). This patch adds tests for focus
not being changed from an editable element after long-pressing on a
non-selectable element.

These tests will fail after reverting this change.
"Bug 1197739 - Do not change focus too early unless the frame is selectable"
https://hg.mozilla.org/mozilla-central/rev/4f2822bbbdb2

--HG--
extra : transplant_source : %26%E8%BAx%D2y%3DS%5BvLH%0Fy%11N%2B%D9%3B%E0
2015-10-13 17:26:29 +08:00
Andreas Tolfsen 30ee512caa Bug 1213797: Refactor screen capture and SVG document support
Errors thrown by takeScreenshot used to be silently ignored.  When the
command started using the new dispatching technique in bug 1202663,
it was surfaced we do not support taking screen captures of SVG documents.

Since this is a requirement for Web Platform Tests, this patch corrects
the wrong assumptions about document body and document element.

This patch also significantly refactors the screen capture code, but
only uses the new implementation in contnent space, since some further
modifications are required to use it in chrome.

r=dburns
r=jgriffin

--HG--
extra : commitid : DdCIEpd5PEJ
extra : rebase_source : 7357010f992d7f995765c685000892cc59d9ec9a
2015-10-13 16:52:26 +01:00
Andreas Tolfsen 4e5128c472 Bug 1202663: Use dispatcher for screen capture command in listener
r=dburns
r=jgriffin

--HG--
extra : commitid : 8Hc32mr6EX
extra : rebase_source : 5036cfc0eb6a9acb5a8f91548414448365162751
2015-10-09 12:02:42 +01:00
Andreas Tolfsen c3c790dd87 Bug 1213800: More exhaustive Marionette screen capture tests
The screen capture tests were not testing that the screenshots are of
what they're meant to be of.  In order to confidently fix bug 1202663,
these new tests will ensure we do not have any regressions.

r=jgriffin
r=dburns

--HG--
extra : commitid : AulnylZMj6Y
extra : rebase_source : c2604e0e3bf1a975b1f35a149ef7f2bdb08840de
2015-10-13 16:58:40 +01:00
Wes Kocher ba7dc0b0c8 Backed out changeset 2d50cf0f2117 (bug 1213800) for Win8 Marionette failures 2015-10-12 12:09:49 -07:00
Maja Frydrychowicz 2f9c01a010 Bug 1040742 - Only ignore expected exceptions; r=automatedtester
--HG--
extra : amend_source : 77ea73088dcc9e2484fbe4c3fe818b333fdf9b1d
2015-10-05 18:31:57 -04:00
Andreas Tolfsen f6c4679cd9 Bug 1213800: More exhaustive Marionette screen capture tests
The screen capture tests were not testing that the screenshots are of
what they're meant to be of.  In order to confidently fix bug 1202663,
these new tests will ensure we do not have any regressions.

r=jgriffin

--HG--
extra : commitid : GkRPL9uVwjG
extra : rebase_source : 594ea1655f61552d430c3242e6b3418e550c27b3
2015-10-12 16:16:39 +01:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
David Burns ea7d4b9e69 Bug 977899: Have Marionette navigate the top frame on desktop when `navigate()`
is called. r=ato

This means that we are now doing step 7 in

http://w3c.github.io/webdriver/webdriver-spec.html#get

--HG--
extra : commitid : KQi5f9c0C1r
extra : rebase_source : 9c77a1d9aadf529ddbae2d32e0e1f9c4d532e181
extra : histedit_source : f40f377e1398f72fa68efd69ad864d9e4ae7e2b4
2015-10-06 16:47:09 +01:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo 52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Wes Kocher 20fcea1fca Backed out changeset 443dc9a9c21c (bug 1202663) for hidden-2 Wr bustage CLOSED TREE 2015-10-05 10:36:54 -07:00