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

3438 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen 4f9b7406ab Bug 1458742 - Add documentation for marionette.* prefs. r=maja_zf
MozReview-Commit-ID: HRWkFQtlsEv

--HG--
extra : rebase_source : 4bd917b16be9ca064037f7ca45f307c2ab321570
2018-05-02 17:31:25 -07:00
Andreas Tolfsen 53d1d59075 Bug 1458742 - Correct marionette.log.level docs for case insensitivity. r=maja_zf
The marionette.log.level value is case insensitive and this commit
points that out in the documentation associated with the preference.

MozReview-Commit-ID: KZGFE9feFRl

--HG--
extra : rebase_source : 26dad92ff74f8752785061a59df891668c9a0310
2018-05-02 17:18:51 -07:00
Aditya Khadse 98e9eed20b Bug 1441433 - Move test_carets_* files into layout subdirectory. r=ato
MozReview-Commit-ID: D3LrdVj7yOR


--HG--
rename : testing/marionette/harness/marionette_harness/www/test_carets_columns.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_columns.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_cursor.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_cursor.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_display_none.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_display_none.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_iframe.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_iframe.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_longtext.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_longtext.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_multipleline.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_multipleline.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_multiplerange.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette_harness/www/test_carets_selection.html => testing/marionette/harness/marionette_harness/www/layout/test_carets_selection.html
2018-05-04 00:17:30 +01:00
AlvaroRe 40aa938a18 Bug 1440577 - Marionette has to use "eForceQuit" for in_app shutdown and restart requests r=whimboo
MozReview-Commit-ID: KEwEg7AK7yu

--HG--
extra : rebase_source : defa0d3a95d0598dc0cab10e4b74163e2f932b1e
2018-04-10 18:11:08 +02:00
Geoff Brown 99fda64d55 Bug 1458280 - Release marionette_driver 2.7.0 and marionette_harness 4.5.0; r=whimboo 2018-05-01 16:10:50 -06:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Geoff Brown 14920af2df Bug 1456520 - Make test_capabilities.py more resilient to mozdevice changes; r=bc,whimboo 2018-04-26 10:43:08 -06:00
Geoff Brown 4f07c8ba29 Bug 1440714 - Convert Android marionette tests to use adb.py; r=bc 2018-04-26 10:43:08 -06:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Maja Frydrychowicz eec8552cbf NO BUG - Update Marionette New Contributors guide and links; r=me
--HG--
extra : rebase_source : b4da2a45415e19634dd025e76d678283d8b28d7a
2018-04-24 15:55:00 -04:00
Brindusan Cristian 9265429dcd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-25 00:57:49 +03:00
Brindusan Cristian 59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
Andreas Tolfsen c14aed4d78 Bug 1456450 - Sort marionette.jar manifest lexicographically. r=maja_zf,whimboo
Normally this sort of change could be filed under "needless churn",
but by appending new files to this list we end up with constant
merge conflicts.

MozReview-Commit-ID: HnaIN2d5fOa

--HG--
extra : rebase_source : b6661417d4e7afeb8e73abe5c2ea15714b4f7dbd
2018-04-24 13:35:24 +01:00
Andrew Swan 7b20ac46dc Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : 6c70243496248b617d3bf5d7244388d0c30004f8
2018-04-23 14:59:11 -07:00
Andreas Tolfsen 68de720a58 NO BUG - Improve navigation of Marionette docs. r=me
MozReview-Commit-ID: 7sW0qDYWjGB
2018-04-24 08:27:33 +01:00
Andreas Tolfsen 9c4c163cff NO BUG - Marionette docs are generated with Sphinx. r=me
MozReview-Commit-ID: 7PnX4xqROm2
2018-04-24 08:27:31 +01:00
Andreas Tolfsen 39c859e008 NO BUG - Eliminate one header level in Taskcluster docs. r=me
MozReview-Commit-ID: GLZowUaSJ3i
2018-04-24 08:16:24 +01:00
Andreas Tolfsen 5490987119 NO BUG - Reorganise and improve Marionette testing docs. r=me
MozReview-Commit-ID: IOzMkxco0Fp
2018-04-24 08:13:37 +01:00
Ciure Andrei 33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Andreas Tolfsen 6a67ccf821 NO BUG - Migrate docs on how to run Mn on Fennec. r=me
MozReview-Commit-ID: GQaEHUBfgAj
2018-04-23 17:53:22 +01:00
Andreas Tolfsen f8effc614b Bug 1456051 - Make server an ES module. r=maja_zf
MozReview-Commit-ID: Cc8LEdVtmVg

--HG--
extra : rebase_source : 41898d5f0ea2745be08eb910d71f3b1abcec17db
2018-04-23 10:19:52 +01:00
Andreas Tolfsen d458b76e52 Bug 1456051 - Make cert an ES module. r=maja_zf
In addition to the way symbols are exposed, this patch makes a few
changes to what is exposed.  Unexposing currentOverride and the
error override bitmasks should not cause any problems.

MozReview-Commit-ID: 9CWZHVyAKbg

--HG--
extra : rebase_source : 6411f842c1eec26661cbe6f4d9e821904ffc4811
2018-04-23 10:01:40 +01:00
Andreas Tolfsen 916ef8de56 Bug 1456051 - Make addon an ES module. r=maja_zf
This does not really functionally change anything, but it prevents
us from polluting the global space in testing/marionette/driver.js.

MozReview-Commit-ID: Guwt3g0lS8q

--HG--
extra : rebase_source : ad2c38e51d54b7c4ead6b8d6a49d05a0dfef7c6c
2018-04-23 08:12:30 +01:00
Andreas Tolfsen 921d8f6a6e Bug 1456051 - Make addon.uninstall race safe. r=maja_zf
addon.uninstall would return immediately, not waiting for the
onUninstalled listener event to fire.  We can eliminate this race
condition by using a promise that resolves when it fires.

MozReview-Commit-ID: E4Mh797X9n8

--HG--
extra : rebase_source : 473e60cc393553302dcf1a2f7a18d2a45091652f
2018-04-23 08:05:35 +01:00
Andreas Tolfsen f3f07d1533 Bug 1456051 - Propagate OS errors on addon installation. r=maja_zf
The error descriptions are rather vague and may obfuscate the
real problem.  This changes the messages to be more in line with
the underlying error, and also ensures the original error is propagated.

MozReview-Commit-ID: EjctkgeUgNH

--HG--
extra : rebase_source : be10efb18f581d4643e5f52a982b888a72ef27be
2018-04-23 07:48:54 +01:00
Andreas Tolfsen 6fcd3c1caa Bug 1456051 - Avoid double-wrapping of UnknownError. r=maja_zf
MozReview-Commit-ID: LZVxzGhAKoD

--HG--
extra : rebase_source : 863d127ea17a2bd05a0c688525e86229bd61d6e1
2018-04-23 07:45:28 +01:00
Andreas Tolfsen 740636cd1f Bug 1456050 - Use MarionettePrefs.port in TCPListener. r=whimboo
MozReview-Commit-ID: 8Ta5TgUzYBw

--HG--
extra : rebase_source : b789989ea251f0bb5f66e95506caa1d71dae54ca
2018-04-23 07:29:38 +01:00
Andreas Tolfsen 4e7776764d Bug 1456050 - Add marionette.contentListener to MarionettePrefs. r=whimboo
MozReview-Commit-ID: 1SPrw4Vwd3N

--HG--
extra : rebase_source : f2218a9ec0ebc3472a964abcca0bd1aa09ed2eb0
2018-04-23 07:26:09 +01:00
Andreas Tolfsen d964f30a08 Bug 1456050 - Add marionette.debugging.clicktostart to MarionettePrefs. r=whimboo
MozReview-Commit-ID: BAxcJFcv1uD

--HG--
extra : rebase_source : 7982a7e72b0c878621db896613f53599053c56e7
2018-04-23 07:17:44 +01:00
Margareta Eliza Balazs 52c01b70d5 Backed out changeset b3ef06fe604d (bug 1433574) for causing merge conflicts 2018-04-24 14:47:45 +03:00
Andrew Swan 0296ae6c8e Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : 90cb17fd8c9f3ec941933156ee069193b989cb07
2018-04-23 14:59:11 -07:00
Andreea Pavel a608b0b7f9 Backed out changeset cf1022433399 (bug 1433574) Linux build bustages on a CLOSED TREE 2018-04-24 04:35:07 +03:00
Ciure Andrei 84bde96dc6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-24 04:26:26 +03:00
Andrew Swan a359959d1e Bug 1433574 Remove startup addon update check r=kmag
MozReview-Commit-ID: AjcRaDqjDNy

--HG--
extra : rebase_source : a95e8b61647d7fb91a3d5b455ba55a056fe0c2bc
2018-04-23 14:59:11 -07:00
Andreas Tolfsen f95f4092ed Bug 1432894 - Remove fallback preferences from Marionette. r=whimboo
Marionette has quite a complicated system in
testing/marionette/components/marionette.js for support fallback
preferences for earlier Firefoxen.  Since Firefox 55 shipped
quite some time ago it is time to remove the fallbacks.  This will
significantly simplify the overall complexity of this file.

MozReview-Commit-ID: 5lfstTBVF3N

--HG--
extra : rebase_source : 7e4b68d12c7e7bd33474acb3fcf6f6001fd81341
2018-04-14 17:28:42 +01:00
Andreas Tolfsen eb2244da5a Bug 1432894 - Provide shorthands for Marionette prefs. r=whimboo
This introduces a new testing/marionette/prefs.js module with shorthands
for all of Marionette's preferences.  Getters are provided for all
preferences, but setters are only offered for preference we expect
to mutate at runtime.

The new module additionally provides a preference abstraction on
top of nsIPrefService instead of Preferences.jsm.  We cannot use
Preferences.jsm during startup in Marionette because Marionette
gets loaded unconditionally.

Finally an EnvironmentPrefs class is provided for reading and iterating
over preferences stored in JSON Objects in environment variables.

MozReview-Commit-ID: FbgdBEkf5A

--HG--
extra : rebase_source : 0d5b2f11dc94a74aff3f742ef191b72b159b5ee7
2018-04-14 17:25:26 +01:00
Andreas Tolfsen d511d9ebaf Bug 1432894 - Rely on MarionetteMainProcess#enabled instead of pref. r=whimboo
The MarionetteMainProcess#enabled getter returns the value of the
preference so it is more appropriate to use the correct API than
to fetch the preference directly.

MozReview-Commit-ID: 16rpk7rrves

--HG--
extra : rebase_source : d4a4a817ca20f24a99e86aad9fc3d98f12fc05aa
2018-04-14 16:02:42 +01:00
Andreas Tolfsen 0d24869932 Bug 1432894 - Register marionette.contentListener pref. r=whimboo
marionette.contentListener is being used for silly purposes in
Marionette to tell us when it is "safe" to reuse a content frame.
It will be removed with https://bugzil.la/marionette-window-tracking
but we should nonetheless keep track of which preferences are used.

MozReview-Commit-ID: 5gMCMuYfLBa

--HG--
extra : rebase_source : 884b9e546dd8dd8786fb9b6a984642ff3cb3dcc2
2018-04-16 09:15:48 +01:00
Brindusan Cristian 681c4cb5d6 Backed out 4 changesets (bug 1432894) for linting opt test-doc-generate failures.
Backed out changeset fb56c3c325d3 (bug 1432894)
Backed out changeset 531f8f2af57d (bug 1432894)
Backed out changeset 8e9f1887bc89 (bug 1432894)
Backed out changeset f37ff744e424 (bug 1432894)
2018-04-22 19:24:09 +03:00
Andreas Tolfsen 9845e608a3 Bug 1432894 - Remove fallback preferences from Marionette. r=whimboo
Marionette has quite a complicated system in
testing/marionette/components/marionette.js for support fallback
preferences for earlier Firefoxen.  Since Firefox 55 shipped
quite some time ago it is time to remove the fallbacks.  This will
significantly simplify the overall complexity of this file.

MozReview-Commit-ID: 5lfstTBVF3N

--HG--
extra : rebase_source : aee88f5741f624355c4c32eecc18940571d1b8cc
2018-04-14 17:28:42 +01:00
Andreas Tolfsen 7f913180d9 Bug 1432894 - Provide shorthands for Marionette prefs. r=whimboo
This introduces a new testing/marionette/prefs.js module with shorthands
for all of Marionette's preferences.  Getters are provided for all
preferences, but setters are only offered for preference we expect
to mutate at runtime.

The new module additionally provides a preference abstraction on
top of nsIPrefService instead of Preferences.jsm.  We cannot use
Preferences.jsm during startup in Marionette because Marionette
gets loaded unconditionally.

Finally an EnvironmentPrefs class is provided for reading and iterating
over preferences stored in JSON Objects in environment variables.

MozReview-Commit-ID: FbgdBEkf5A

--HG--
extra : rebase_source : c3666ff19f4bf8092d9976bbf5e98cd45438e586
2018-04-14 17:25:26 +01:00
Andreas Tolfsen 873a4b73cc Bug 1432894 - Rely on MarionetteMainProcess#enabled instead of pref. r=whimboo
The MarionetteMainProcess#enabled getter returns the value of the
preference so it is more appropriate to use the correct API than
to fetch the preference directly.

MozReview-Commit-ID: 16rpk7rrves

--HG--
extra : rebase_source : d4a4a817ca20f24a99e86aad9fc3d98f12fc05aa
2018-04-14 16:02:42 +01:00
Andreas Tolfsen 516454daac Bug 1432894 - Register marionette.contentListener pref. r=whimboo
marionette.contentListener is being used for silly purposes in
Marionette to tell us when it is "safe" to reuse a content frame.
It will be removed with https://bugzil.la/marionette-window-tracking
but we should nonetheless keep track of which preferences are used.

MozReview-Commit-ID: 5gMCMuYfLBa

--HG--
extra : rebase_source : 884b9e546dd8dd8786fb9b6a984642ff3cb3dcc2
2018-04-16 09:15:48 +01:00
Kris Maglione 9e4e8a2190 Bug 1454202: Follow-up: Fix Marionette test bustage. r=bustage,test-only
MozReview-Commit-ID: 5iWc4ta8TOg
2018-04-21 18:32:00 -07:00
Boris Zbarsky 1df89947b2 Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Mike de Boer ecf63670d4 Bug 1034036 - Part 2: Rename and shorten `getMostRecentBrowserWindow` to `getTopWindow` and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a

--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Andreas Tolfsen cb8c6e7e1d Bug 1454876 - Correct marionette.enabled pref doc. r=maja_zf
The documentation for the marionette.enabled preference is wrong: it
claims that it is used for disabling the Marionette XPCOM component,
but in reality it starts and stops the TCP server.

MozReview-Commit-ID: 8oQz8HjPnii

--HG--
extra : rebase_source : 7771f02e18457bc5e567553ca921995d95c40bdd
2018-04-18 08:05:26 +01:00
James Graham 4daf082666 Bug 1452643 - Update wptserve args in marionette runner, r=me ON A CLOSED TREE
MozReview-Commit-ID: DvCYUNlX3VQ
2018-04-15 19:26:00 +01:00
Emilio Cobos Álvarez 9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00