B2G/gecko/browser/base/content/browser-syncui.js
/**
   * Invoke the Sync setup wizard.
   *
   * @param wizardType
   *        Indicates type of wizard to launch:
   *          null    -- regular set up wizard
   *          "pair"  -- pair a device first
   *          "reset" -- reset sync
   */
Invoke the Sync setup wizard.
Invoke the Sync setup wizard .
function SUI_openSetup(wizardType) {
    let win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
    if (win)
      win.focus();
    else {
      window.openDialog("chrome://browser/content/sync/setup.xul",
                        "weaveSetup", "centerscreen,chrome,resizable=no",
                        wizardType);
    }
  }
function SUI_openSetup ( wizardType ) { let win = Services . wm . getMostRecentWindow ( "Weave:AccountSetup" ) ; if ( win ) win . focus ( ) ; else { window . openDialog ( "chrome://browser/content/sync/setup.xul" , "weaveSetup" , "centerscreen,chrome,resizable=no" , wizardType ) ; } }
Invoke the Sync setup wizard.
Invoke the Sync setup wizard .