test_startup_nosession_async.js (573B)
1 /* Any copyright is dedicated to the Public Domain. 2 http://creativecommons.org/publicdomain/zero/1.0/ */ 3 4 // Test SessionStartup.sessionType in the following scenario: 5 // - no sessionstore.js; 6 // - the session store has been loaded, so no need to go 7 // through the synchronous fallback 8 9 function run_test() { 10 // Initialize the profile (the session startup uses it) 11 do_get_profile(); 12 13 do_test_pending(); 14 15 afterSessionStartupInitialization(function cb() { 16 Assert.equal(SessionStartup.sessionType, SessionStartup.NO_SESSION); 17 do_test_finished(); 18 }); 19 }