B2G/gecko/browser/base/content/test/browser_contentAreaClick.js
// Wraps around the methods' replacement mock function.
Wraps around the methods' replacement mock function.
Wraps around the methods ' replacement mock function .
function wrapperMethod(aInvokedMethods, aMethodName) {
  return function () {
    aInvokedMethods.push(aMethodName);
    return arguments[0];
  }
}
function wrapperMethod ( aInvokedMethods , aMethodName ) { return function ( ) { aInvokedMethods . push ( aMethodName ) ; return arguments [ 0 ] ; } }
Wraps around the methods' replacement mock function.
Wraps around the methods ' replacement mock function .
// At least getShortcutOrURI requires to return url that is the first param.