Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 642065: Spelling and grammar nits in comments in worker.js r=diet…
Browse files Browse the repository at this point in the history
…rich
  • Loading branch information
KWierso authored and ochameau committed Mar 16, 2011
1 parent e014ea3 commit 398f4d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api-utils/lib/content/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const AsyncEventEmitter = EventEmitter.compose({

/**
* Function for sending data to the port. Used to send messages
* form the worker to the symbiont and other way round.
* from the worker to the symbiont and other way round.
* Function validates that data is a `JSON` or primitive value and emits
* 'message' event on the port in the next turn of the event loop.
* _Later this will be sending data across process boundaries._
Expand Down Expand Up @@ -275,7 +275,7 @@ const WorkerGlobalScope = AsyncEventEmitter.compose({
},
/**
* Imports scripts to the sandbox by reading files under urls and
* evaluating it's source. If exception occurs during evaluation
* evaluating its source. If exception occurs during evaluation
* `"error"` event is emitted on the worker.
* This is actually an analog to the `importScript` method in web
* workers but in our case it's not exposed even though content
Expand Down Expand Up @@ -308,7 +308,7 @@ const Worker = AsyncEventEmitter.compose({

/**
* Sends a message to the worker's global scope. Method takes single
* argument, which represents data to be send to the worker. The data may
* argument, which represents data to be sent to the worker. The data may
* be any primitive type value or `JSON`. Call of this method asynchronously
* emits `message` event with data value in the global scope of this
* symbiont.
Expand Down

0 comments on commit 398f4d6

Please sign in to comment.