Commits on Feb 19, 2021
-
Bug 1693022 - Report errors when uninstalling unknown addons in mario…
…nette. r=whimboo,marionette-reviewers The AddonManager does not throw, but instead reports null, when trying to get information about an addon if the id is unknown. This makes sure marionette addresses this case. Differential Revision: https://phabricator.services.mozilla.com/D105467
Dexterp37 committedFeb 19, 2021
Commits on Sep 8, 2020
-
Bug 1660881 - [marionette] Use XPCOMUtils.defineLazyModuleGetters() t…
…o defer loading of not immediately necessary modules. r=marionette-reviewers,maja_zf Differential Revision: https://phabricator.services.mozilla.com/D89395
whimboo committedSep 8, 2020 -
Bug 1660881 - [marionette] Declare EXPORTED_SYMBOLS at the top of the…
… file. r=marionette-reviewers,maja_zf Differential Revision: https://phabricator.services.mozilla.com/D89394
whimboo committedSep 8, 2020
Commits on Aug 26, 2020
-
Bug 1660781 - [marionette] Refactor code in error.js into a single er…
…ror namespace. r=marionette-reviewers,maja_zf Differential Revision: https://phabricator.services.mozilla.com/D88137
whimboo committedAug 26, 2020
Commits on Jul 5, 2019
-
Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35962 --HG-- extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
victorporof committedJul 5, 2019
Commits on Jan 17, 2019
-
Bug 1514594: Part 3 - Change ChromeUtils.import API.
*** Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8 This changes the behavior of ChromeUtils.import() to return an exports object, rather than a module global, in all cases except when `null` is passed as a second argument, and changes the default behavior not to pollute the global scope with the module's exports. Thus, the following code written for the old model: ChromeUtils.import("resource://gre/modules/Services.jsm"); is approximately the same as the following, in the new model: var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm"); Since the two behaviors are mutually incompatible, this patch will land with a scripted rewrite to update all existing callers to use the new model rather than the old. *** Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs This was done using the followng script: https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm *** Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8 Differential Revision: https://phabricator.services.mozilla.com/D16747 *** Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D16748 *** Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D16749 *** Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs *** Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D16750 --HG-- extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895 extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7kmaglione committedJan 17, 2019
Commits on Sep 12, 2018
-
Bug 1486765 - Add installTelemetryInfo to addon installed from Marion…
…ette. r=ato Differential Revision: https://phabricator.services.mozilla.com/D5554 --HG-- extra : moz-landing-system : lando
rpl committedSep 12, 2018
Commits on Jul 31, 2018
-
Bug 1451513 Part 3: Make loading the mochitest extension more robust …
…r=kmag A couple of changes to ensure that the mochitest harness doesn't try to start executing changes before the mochitest extension is loaded: 1. Fix the marionette driver to wait for an installed extension to be started before returning from Addon:install 2. Wait for extension API onStartup() handlers to finish before considering a webextension started. MozReview-Commit-ID: 8YEdNn6s5qh --HG-- extra : rebase_source : 67e9abadcda82d55ac73c33367ec65cdbf7b823d
Andrew Swan committedJul 31, 2018
Commits on Apr 23, 2018
-
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
andreastt committedApr 23, 2018 -
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
andreastt committedApr 23, 2018 -
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
andreastt committedApr 23, 2018 -
Bug 1456051 - Avoid double-wrapping of UnknownError. r=maja_zf
MozReview-Commit-ID: LZVxzGhAKoD --HG-- extra : rebase_source : 863d127ea17a2bd05a0c688525e86229bd61d6e1
andreastt committedApr 23, 2018
Commits on Jan 30, 2018
-
Backed out 3 changesets (bug 1431533) for Android mochitest failures …
…on testEventDispatcher on a CLOSED TREE Backed out changeset a1eca62826a1 (bug 1431533) Backed out changeset 34c999fa006b (bug 1431533) Backed out changeset e2674287e57f (bug 1431533)
CosminSabou committedJan 30, 2018 -
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED…
… TREE Backed out changeset 6e56f4c8843e (bug 1431533) Backed out changeset 12fc4dee861c (bug 1431533)
cristianbrindusan committedJan 30, 2018
Commits on Jan 29, 2018
-
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import me…
…thods. r=florian This was done using the following script: https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm MozReview-Commit-ID: 1Nc3XDu0wGl --HG-- extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70 extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62 extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
kmaglione committedJan 29, 2018 -
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import me…
…thods. r=florian This was done using the following script: https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm MozReview-Commit-ID: 1Nc3XDu0wGl --HG-- extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
kmaglione committedJan 29, 2018 -
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import me…
…thods. r=florian This was done using the following script: https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm MozReview-Commit-ID: 1Nc3XDu0wGl --HG-- extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
kmaglione committedJan 29, 2018
Commits on Jan 19, 2018
-
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=f…
…lorian MozReview-Commit-ID: 7bVI1iM6hor --HG-- extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51 extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
kmaglione committedJan 19, 2018 -
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=f…
…lorian MozReview-Commit-ID: 7bVI1iM6hor --HG-- extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3 extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966 extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
kmaglione committedJan 19, 2018 -
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=f…
…lorian MozReview-Commit-ID: 7bVI1iM6hor --HG-- extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017 extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
kmaglione committedJan 19, 2018
Commits on Oct 20, 2017
-
Bug 1408066 - Addon.js install fails if path is incorrect. r=whimboo
MozReview-Commit-ID: Eu5RUGU2bY4 --HG-- extra : rebase_source : 73e46adc80d454e2d321a44b78199e3cc4fadf67
jrbenny35 committedOct 20, 2017
Commits on Oct 3, 2017
-
Bug 1405279 - Remove unused variables. r=whimboo
MozReview-Commit-ID: CmiDVCw6xVK --HG-- extra : rebase_source : e71cfb7da973d95c796a93cc1e4da6f709acf65e
andreastt committedOct 3, 2017
Commits on Sep 24, 2017
-
Bug 1389488 - Check that add-on file exists before forwarding request…
… to AddonManager r=whimboo MozReview-Commit-ID: 6b6QS9y6vPj --HG-- extra : rebase_source : c4d2174ba11ddcc5076152982b761bb02ee94d65
ihvaquestion committedSep 24, 2017
Commits on Aug 23, 2017
-
Bug 1331313 - Let add-on install() / uninstall() wait for the expecte…
…d add-on. r=ato Currently the listener for addon installs misses a check for the addon id, to only resolve the promise when it has been called for the expected addon. This can cause race-conditions if other addons are getting installed at the same time. The same applies to uninstall which doesn't wait at all until the operation has been completed. MozReview-Commit-ID: 5GsomMoAVZ1 --HG-- extra : rebase_source : a1b43adb2239b0c28cbee1d843f4b6c666a07f0a
whimboo committedAug 23, 2017
Commits on Jul 26, 2017
-
Bug 1384517 - Fix testing/marionette API docs; r=automatedtester
Various fixes to make the generated API documentation from testing/marionette somewhat easier to read. MozReview-Commit-ID: F9duuQoOYBt --HG-- extra : rebase_source : 3ade69773ceba42826aedef05b1371240b51cf82
andreastt committedJul 26, 2017
Commits on Jun 29, 2017
-
Bug 1376128 - Lint testing/marionette; r=automatedtester
MozReview-Commit-ID: DY4yCSBEZrN --HG-- extra : rebase_source : d4e25369418cc72a6ee9f78d44b050a87403391d
andreastt committedJun 29, 2017
Commits on Jun 28, 2017
-
Bug 1376128 - Use selective imports from error module; r=automatedtester
Instead of importing everything from the testing/marionette/error.js module into the global scope, we need to be selective about what symbols we want. MozReview-Commit-ID: HZDAS0bs0GD --HG-- extra : rebase_source : 14a300bb2cedc0716168d50846755a6faed83012
andreastt committedJun 28, 2017
Commits on Dec 4, 2016
-
Bug 1316975 - Correct function definition style in Marionette compone…
…nts; r=ato No functional changes. MozReview-Commit-ID: 25cWAnpRB9H --HG-- extra : rebase_source : c8b14bf47a476488568f54d3640b51bbeed5b04b
ThomasCharles94 committedDec 4, 2016
Commits on Aug 26, 2016
-
Bug 1298025 - Move addon installation internally to Marionette; r=aha…
…l,automatedtester Addons can be installed and uninstalled using the Marionette client utility found in testing/marionette/client/marionette_driver/addons.py. It injects system-privileged chrome JavaScript to manipulate the addon manager service. To make this feature more widely adopted, i.e. by other clients such as WebDriver, this patch moves the addon installation code to internally in Marionette and exposes them as so called WebDriver extension commands. This patch also _explicitly breaks_ backwards compatibility with older Geckos that do not support the new Marionette:installAddon and Marionette:uninstallAddon commands. MozReview-Commit-ID: 18IceiGIg5H --HG-- extra : rebase_source : 007802fa0a431a1438570caac3988177c6beab1d
andreastt committedAug 26, 2016
Commits on Aug 25, 2016
-
Bug 1280947 - Dispatch DOM change event on appending file to input; r…
…=automatedtester MozReview-Commit-ID: 6SC01AEkuTs --HG-- extra : rebase_source : ee4ed323e024bf6fdcf9a28ab7f44763c7475c8c
andreastt committedAug 25, 2016