From 2767fe366cf9825001a8b80cacc28552b9d6e68a Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Mon, 26 Feb 2018 11:36:24 +0000 Subject: [PATCH] Bug 1441019 - Differentiate WorkerDebuggerTransport implementations. r=whimboo In the transport module there are two implementations of WorkDebuggerTransport: one for the main thread and another that is suitable for worker threads. This confuses JSDoc because they both exist in the same anonymous scope. MozReview-Commit-ID: 2UE4D6K97Qb --HG-- extra : rebase_source : 7a774320db37a05b6d7a0934e53279af4361b198 --- testing/marionette/transport.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/marionette/transport.js b/testing/marionette/transport.js index 77ee65640c6b..f82a010dcb4f 100644 --- a/testing/marionette/transport.js +++ b/testing/marionette/transport.js @@ -821,6 +821,8 @@ if (!this.isWorker) { /** * A transport that uses a WorkerDebugger to send packets from the main * thread to a worker thread. + * + * @class WorkerDebuggerTransport */ function WorkerDebuggerTransport(dbg, id) { this._dbg = dbg; @@ -873,6 +875,8 @@ if (!this.isWorker) { /** * A transport that uses a WorkerDebuggerGlobalScope to send packets * from a worker thread to the main thread. + * + * @class WorkerDebuggerTransportThread */ function WorkerDebuggerTransport(scope, id) { this._scope = scope;