B2G/gecko/extensions/cookie/test/channel_utils.js
/**
 * Class that implements nsILoadContext.  Use it as callbacks for channel when
 * test needs it.
 */
Class that implements nsILoadContext.  Use it as callbacks for channel when
test needs it.
Class that implements nsILoadContext . Use it as callbacks for channel when test needs it .
function LoadContextCallback(appId, inBrowserElement, isPrivate, isContent) {
  this.appId = appId;
  this.isInBrowserElement = inBrowserElement;
  this.usePrivateBrowsing = isPrivate;
  this.isContent = isContent;
}
function LoadContextCallback ( appId , inBrowserElement , isPrivate , isContent ) { this . appId = appId ; this . isInBrowserElement = inBrowserElement ; this . usePrivateBrowsing = isPrivate ; this . isContent = isContent ; }
Class that implements nsILoadContext.
Class that implements nsILoadContext .