[Bugs] #3500 Browse NORM: Better error message when a page can not be loaded

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 18 15:04:11 EDT 2012

#3500: Better error message when a page can not be loaded
    Reporter:  erikos       |          Owner:  humitos          
        Type:  defect       |         Status:  accepted         
    Priority:  Normal       |      Milestone:  0.98             
   Component:  Browse       |        Version:  Git as of bugdate
    Severity:  Unspecified  |       Keywords:                   
Distribution:  Unspecified  |   Status_field:  New              

Comment(by garycmartin):

 Replying to [comment:7 humitos]:
 > Gary: I've just see your last comment. WebKit doesn't make different
 between being connected to internet or not. It just says: "Cannot resolve
 hostname (google.com)" and the error code is always "2".
 > So, we need another way to check if we are connected to the internet or
 not and make that difference. Any idea?

 Blast, I hoped webkit had some hooks. I had a quick look at using
 javascript testing navigator.onLine, but that always seems to be reporting
 that our browser is online (even when it isn't), and most other scripts
 'phone home' to their servers to test for internet access (which is not a
 general enough solution for us). Let me reword the dialogue message and we
 just go with the one type of message webkit currently provides. Will
 attach another mockup with the rewording.

Ticket URL: <http://bugs.sugarlabs.org/ticket/3500#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list