testing/marionette/jar.mn
author Alexandre Lissy <lissyx@lissyx.dyndns.org>
Sun, 08 Feb 2015 10:09:00 +0100
changeset 228241 8fff8db4305bd3b1bf68dcd6f0baf2de870929d0
parent 224549 bbd37e7c0d082f380fcc1373fefa23491cd30da9
child 235141 b6b20e7ca1189b93d0c68d25c9c159f19fee60f9
permissions -rw-r--r--
Bug 1130287 - Expose isB2G in SpecialPowers. r=sicking Some mochitests needs to behave differently when ran on B2G Desktop. Currently, this is implemented using user agent string detection, mostly relying on "Mobile" being present and "Android" being absent. This is only true on B2G Desktop when ran on Try because the mozconfig defined FXOS_SIMULATOR and that, per bug 1115935, this substring is only added in this case, but not if just MOZ_B2G is defined. A better approach is to expose 'isB2G' in SpecialPowers for this kind of detection.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

marionette.jar:
% content marionette %content/
  content/marionette-server.js      (marionette-server.js)
  content/marionette-listener.js    (marionette-listener.js)
  content/marionette-elements.js    (marionette-elements.js)
  content/marionette-sendkeys.js    (marionette-sendkeys.js)
  content/marionette-common.js      (marionette-common.js)
  content/marionette-simpletest.js  (marionette-simpletest.js)
  content/marionette-frame-manager.js  (marionette-frame-manager.js)
  content/EventUtils.js  (EventUtils.js)
  content/ChromeUtils.js  (ChromeUtils.js)
#ifdef ENABLE_TESTS
  content/test.xul  (client/marionette/chrome/test.xul)
  content/test2.xul  (client/marionette/chrome/test2.xul)
  content/test_nested_iframe.xul  (client/marionette/chrome/test_nested_iframe.xul)
  content/test_anonymous_content.xul  (client/marionette/chrome/test_anonymous_content.xul)
#endif

% content specialpowers %content/
  content/specialpowers.js (../specialpowers/content/specialpowers.js)
  content/SpecialPowersObserver.js (../specialpowers/components/SpecialPowersObserver.js)
* content/specialpowersAPI.js (../specialpowers/content/specialpowersAPI.js)
  content/SpecialPowersObserverAPI.js (../specialpowers/content/SpecialPowersObserverAPI.js)
  content/ChromePowers.js (../mochitest/tests/SimpleTest/ChromePowers.js)
  content/MozillaLogger.js (../specialpowers/content/MozillaLogger.js)

% resource specialpowers %modules/
  modules/MockFilePicker.jsm (../specialpowers/content/MockFilePicker.jsm)
  modules/MockColorPicker.jsm (../specialpowers/content/MockColorPicker.jsm)
  modules/MockPermissionPrompt.jsm (../specialpowers/content/MockPermissionPrompt.jsm)
  modules/MockPaymentsUIGlue.jsm (../specialpowers/content/MockPaymentsUIGlue.jsm)
  modules/Assert.jsm (../modules/Assert.jsm)