B2G/gecko/netwerk/test/unit/test_bug767025.js
/*
 * Start caching app1 as a non-pinned app.
 */
Start caching app1 as a non-pinned app.
Start caching app1 as a non - pinned app .
function start_cache_nonpinned_app() {
  do_print("Start non-pinned App1");
  start_and_watch_app_cache(kHttpLocation + "app.appcache",
                          kHttpLocation + "app",
                          function (update, state) {
                            switch(state) {
                            case STATE_FINISHED:
			      check_bug();
                              break;
                            case STATE_ERROR:
                              do_throw("App cache state = " + state);
                              break;
                            }
                          },
                          function (appcahe) {
                            do_print("app avail " + appcache + "\n");
                          });
}
function start_cache_nonpinned_app ( ) { do_print ( "Start non-pinned App1" ) ; start_and_watch_app_cache ( kHttpLocation + "app.appcache" , kHttpLocation + "app" , function ( update , state ) { switch ( state ) { case STATE_FINISHED : check_bug ( ) ; break ; case STATE_ERROR : do_throw ( "App cache state = " + state ) ; break ; } } , function ( appcahe ) { do_print ( "app avail " + appcache + "\n" ) ; } ) ; }
Start caching app1 as a non-pinned app.
Start caching app1 as a non - pinned app .