On Wed, 2009-09-02 at 19:13 -0700, chengbo wrote: > Hi guys : > > When useing nsIIOService interface to set offline in moblin > mhs-service . > > But it does not work. > > Following code about set offline: > > nsresult rv; > nsCOMPtr<nsIIOService> mIOService = do_GetIOService(&rv); > mIOService->SetOffline(PR_TRUE); > > Following code is set javascript : > > > nsCOMPtr<nsIPrefService> pref_service > = do_GetService (NS_PREFSERVICE_CONTRACTID, &rv); > > pref_service->SetBoolPref("javascript.enable",PR_FALSE); > > > But offline and javascript functions still can not work . > > > Maybe offline or javascript has be removed from xulrunner-headless?
I don't know of any reason why offline mode would no longer work. Please file a bug and include more information about how you conclude that offline mode is not working. --rusty _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists