bug 1523104: remote: document what a Target is; r=ochameau
authorAndreas Tolfsen <ato@sny.no>
Fri, 08 Feb 2019 16:12:15 +0000
changeset 521070 7b87252c4a31
parent 521069 9b980764075b
child 521071 af7a76690b8a
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1523104
milestone67.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 1523104: remote: document what a Target is; r=ochameau
remote/Target.jsm
--- a/remote/Target.jsm
+++ b/remote/Target.jsm
@@ -9,17 +9,22 @@ var EXPORTED_SYMBOLS = ["Target"];
 const {EventEmitter} = ChromeUtils.import("chrome://remote/content/EventEmitter.jsm");
 const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
 const {TargetListener} = ChromeUtils.import("chrome://remote/content/TargetListener.jsm");
 const {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
 
 XPCOMUtils.defineLazyServiceGetter(this, "Favicons",
     "@mozilla.org/browser/favicon-service;1", "nsIFaviconService");
 
-/** A debugging target. */
+/**
+ * A debugging target.
+ *
+ * Targets can be a document (page), an OOP frame, a background
+ * document, or a worker.  They can all run in dedicated process or frame.
+ */
 this.Target = class {
   constructor(browser) {
     this.browser = browser;
     this.debugger = new TargetListener(this);
 
     EventEmitter.decorate(this);
   }