B2G/gecko/browser/base/content/browser.js
/* Called from the openLocation dialog. This allows that dialog to instruct
   its opener to open a new window and then step completely out of the way.
   Anything less byzantine is causing horrible crashes, rather believably,
   though oddly only on Linux. */
Called from the openLocation dialog. This allows that dialog to instruct
its opener to open a new window and then step completely out of the way.
Anything less byzantine is causing horrible crashes, rather believably,
though oddly only on Linux.
Called from the openLocation dialog . This allows that dialog to instruct its opener to open a new window and then step completely out of the way . Anything less byzantine is causing horrible crashes rather believably though oddly only on Linux .
function delayedOpenWindow(chrome, flags, href, postData)
{
  setTimeout(function() { openDialog(chrome, "_blank", flags, href, null, null, postData); }, 10);
}
function delayedOpenWindow ( chrome , flags , href , postData ) { setTimeout ( function ( ) { openDialog ( chrome , "_blank" , flags , href , null , null , postData ) ; } , 10 ) ; }
Called from the openLocation dialog.
Called from the openLocation dialog .
// The other way to use setTimeout, // setTimeout(openDialog, 10, chrome, "_blank", flags, url), // doesn't work here.  The extra "magic" extra argument setTimeout adds to // the callback function would confuse gBrowserInit.onLoad() by making // window.arguments[1] be an integer instead of null.