#6999 BLOC Never A: NetworkManager puts the browser into "offline mode" after sleep.

Zarro Boogs per Child bugtracker at laptop.org
Wed May 28 19:52:29 EDT 2008


#6999: NetworkManager puts the browser into "offline mode" after sleep.
------------------------------+---------------------------------------------
  Reporter:  cjb              |       Owner:  cjb           
      Type:  defect           |      Status:  new           
  Priority:  blocker          |   Milestone:  Never Assigned
 Component:  browse-activity  |     Version:  Update.1      
Resolution:                   |    Keywords:                
  Verified:  0                |    Blocking:                
 Blockedby:                   |  
------------------------------+---------------------------------------------

Comment(by cjb):

 Worked around in Wikipedia.xo like so:

 {{{
 +        from xpcom import components
 +        from xpcom.components import interfaces
 +
 +        # Use xpcom to turn off "offline mode" detection, which disables
 +        # access to localhost for no good reason.  (Trac #6250.)
 +        ios_class = components.classes["@mozilla.org/network/io-
 service;1"]
 +        io_service = ios_class.getService(interfaces.nsIIOService2)
 +        io_service.manageOfflineStatus = False
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/6999#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list