B2G/gecko/browser/components/tabview/storage.js
// Returns the current busyState for the given window.
Returns the current busyState for the given window.
Returns the current busyState for the given window .
function Storage_readWindowBusyState(win) {
    let state;
    try {
      let data = this._sessionStore.getWindowState(win);
      if (data)
        state = JSON.parse(data);
    } catch (e) {
      Utils.log("Error while parsing window state");
    }
    return (state && state.windows[0].busy);
  }
function Storage_readWindowBusyState ( win ) { let state ; try { let data = this . _sessionStore . getWindowState ( win ) ; if ( data ) state = JSON . parse ( data ) ; } catch ( e ) { Utils . log ( "Error while parsing window state" ) ; } return ( state && state . windows [ 0 ] . busy ) ; }
Returns the current busyState for the given window.
Returns the current busyState for the given window .