mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
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
This commit is contained in:
parent
8762d0c370
commit
2767fe366c
@ -821,6 +821,8 @@ if (!this.isWorker) {
|
|||||||
/**
|
/**
|
||||||
* A transport that uses a WorkerDebugger to send packets from the main
|
* A transport that uses a WorkerDebugger to send packets from the main
|
||||||
* thread to a worker thread.
|
* thread to a worker thread.
|
||||||
|
*
|
||||||
|
* @class WorkerDebuggerTransport
|
||||||
*/
|
*/
|
||||||
function WorkerDebuggerTransport(dbg, id) {
|
function WorkerDebuggerTransport(dbg, id) {
|
||||||
this._dbg = dbg;
|
this._dbg = dbg;
|
||||||
@ -873,6 +875,8 @@ if (!this.isWorker) {
|
|||||||
/**
|
/**
|
||||||
* A transport that uses a WorkerDebuggerGlobalScope to send packets
|
* A transport that uses a WorkerDebuggerGlobalScope to send packets
|
||||||
* from a worker thread to the main thread.
|
* from a worker thread to the main thread.
|
||||||
|
*
|
||||||
|
* @class WorkerDebuggerTransportThread
|
||||||
*/
|
*/
|
||||||
function WorkerDebuggerTransport(scope, id) {
|
function WorkerDebuggerTransport(scope, id) {
|
||||||
this._scope = scope;
|
this._scope = scope;
|
||||||
|
Loading…
Reference in New Issue
Block a user