Skip to content

Commit f5ba12e

Browse files
author
Paul Ellenbogen
committed
Fix comments in BackgoundFrame.
1 parent 37bad44 commit f5ba12e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backgroundframe-link.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if (typeof fdom === 'undefined') {
66
fdom.link = fdom.link || {};
77

88
/**
9-
* A port providing message transport between two freedom contexts via iBackgroundFrames.
9+
* A port providing message transport between two freedom contexts via iFrames
10+
* on the global backgound page.
1011
* @class link.BackgroundFrame
1112
* @extends Link
1213
* @uses handleEvents
@@ -74,7 +75,7 @@ fdom.link.BackgroundFrame.prototype.setupListener = function() {
7475
};
7576

7677
/**
77-
* Set up an iBackgroundFrame with an isolated freedom.js context inside.
78+
* Set up an iFrame with an isolated freedom.js context inside.
7879
* @method setupBackgroundFrame
7980
*/
8081
fdom.link.BackgroundFrame.prototype.setupBackgroundFrame = function() {
@@ -109,7 +110,7 @@ fdom.link.BackgroundFrame.prototype.setupBackgroundFrame = function() {
109110

110111
/**
111112
* Make frames to replicate freedom isolation without web-workers.
112-
* iBackgroundFrame isolation is non-standardized, and access to the DOM within frames
113+
* iFrame isolation is non-standardized, and access to the DOM within frames
113114
* means that they are insecure. However, debugging of webworkers is
114115
* painful enough that this mode of execution can be valuable for debugging.
115116
* @method makeBackgroundFrame

0 commit comments

Comments
 (0)