Bug 1274274 - Update exported symbols and correct docs; r=automatedtester
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 20 May 2016 16:52:01 +0100
changeset 337938 74c4d72ac0dee69aea077a1615d50cf70b84ec21
parent 337937 dc85479726f9a1ad5cfbbc873b0168bedbd839f6
child 337939 769533c99dd8cc09e7c9dfe4327660b925aa7037
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1274274
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1274274 - Update exported symbols and correct docs; r=automatedtester MozReview-Commit-ID: 95ikD0oyrmy
testing/marionette/element.js
--- a/testing/marionette/element.js
+++ b/testing/marionette/element.js
@@ -9,47 +9,44 @@ const {classes: Cc, interfaces: Ci, util
 Cu.import("resource://gre/modules/Log.jsm");
 
 Cu.import("chrome://marionette/content/atom.js");
 Cu.import("chrome://marionette/content/error.js");
 
 const logger = Log.repository.getLogger("Marionette");
 
 /**
- * The ElementManager manages DOM element references and
- * interactions with elements.
+ * This module provides shared functionality for dealing with DOM-
+ * and web elements in Marionette.
  *
  * A web element is an abstraction used to identify an element when it
  * is transported across the protocol, between remote- and local ends.
  *
  * Each element has an associated web element reference (a UUID) that
  * uniquely identifies the the element across all browsing contexts. The
  * web element reference for every element representing the same element
  * is the same.
  *
- * The element manager provides a mapping between web element references
- * and DOM elements for each browsing context.  It also provides
+ * The @code{element.Store} provides a mapping between web element
+ * references and DOM elements for each browsing context.  It also provides
  * functionality for looking up and retrieving elements.
  */
 
-this.EXPORTED_SYMBOLS = [
-  "element",
-  "ElementManager",
-];
+this.EXPORTED_SYMBOLS = ["element"];
 
 const DOCUMENT_POSITION_DISCONNECTED = 1;
 const XMLNS = "http://www.w3.org/1999/xhtml";
 
 const uuidGen = Cc["@mozilla.org/uuid-generator;1"]
     .getService(Ci.nsIUUIDGenerator);
 
 this.element = {};
 
+element.Key = "element-6066-11e4-a52e-4f735466cecf";
 element.LegacyKey = "ELEMENT";
-element.Key = "element-6066-11e4-a52e-4f735466cecf";
 
 element.Strategy = {
   ClassName: "class name",
   Selector: "css selector",
   ID: "id",
   Name: "name",
   LinkText: "link text",
   PartialLinkText: "partial link text",