#6250 NORM Retriag: Browse activity gets stuck in offline mode

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


#6250: Browse activity gets stuck in offline mode
------------------------------+---------------------------------------------
  Reporter:  supersat         |       Owner:  erikos           
      Type:  defect           |      Status:  new              
  Priority:  normal           |   Milestone:  Retriage, Please!
 Component:  browse-activity  |     Version:                   
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/6250#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list