Re: Auto-reload when coming back online

"Matthew N." <[email protected]> Thu, 17 Mar 2016 22:07:39 -0700
Newsgroups gmane.comp.mozilla.firefox.devel,gmane.comp.mozilla.devel.netlib
Message-ID <CANcCaXdVug3NUgWJNue0N=1ec=Dz+Jt_aOGDBBLKMqwosi73Sg@mail.gmail.com>
--===============1979896486089009064==
Content-Type: multipart/alternative; boundary=047d7bdc9e760e2e6c052e4bbb08

--047d7bdc9e760e2e6c052e4bbb08
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I think the main problem was that Necko (networking in Gecko) didn't have
good, if any, detection of network changes until recently. There has been
work on this in the last year but I don't know the current state of it and
it may vary by platform. There is discussion on mozilla.dev.tech.network
today about network change detection and IPv6 so I think it's something
still on the radar.

CC'ing mozilla.dev.tech.network to see what the Necko team has to say about
whether we can support this in Firefox yet.

Matthew N. (:MattN)

On Thu, Mar 17, 2016 at 9:29 PM, Bram Pitoyo <[email protected]> wrote:

> If a URL is loaded when there=E2=80=99s no internet connection, Firefox w=
ill throw
> an error page, as expected.
>
> But if my internet is back online, I still have to manually reload this
> site. I would like to propose a slightly different behaviour: pages that
> fail to load while the browser is offline should reload automatically.
>
> The result:
>
>    - I know that my internet is back on because Firefox now shows the
>    page I had failed to load
>    - I save a little bit of time by not needing to click =E2=80=9CReload=
=E2=80=9D or hit
>    Ctrl+R
>
> Have we thought of a behaviour like this?
>
> _______________________________________________
> firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/firefox-dev
>
>

--047d7bdc9e760e2e6c052e4bbb08
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">I think the main problem was that Necko (networking in =
Gecko) didn&#39;t have good, if any, detection of network changes until rec=
ently. There has been work on this in the last year but I don&#39;t know th=
e current state of it and it may vary by platform. There is discussion on m=
ozilla.dev.tech.network today about network change detection and IPv6 so I =
think it&#39;s something still on the radar.<br><br></div><div class=3D"gma=
il_default" style=3D"font-family:arial,helvetica,sans-serif">CC&#39;ing moz=
illa.dev.tech.network to see what the Necko team has to say about whether w=
e can support this in Firefox yet.<br><br></div><div class=3D"gmail_default=
" style=3D"font-family:arial,helvetica,sans-serif">Matthew N. (:MattN)<br><=
/div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu=
, Mar 17, 2016 at 9:29 PM, Bram Pitoyo <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div>If a URL i=
s loaded when there=E2=80=99s no internet connection, Firefox will throw an=
 error page, as expected.<br><br></div>But if my internet is back online, I=
 still have to manually reload this site. I would like to propose a slightl=
y different behaviour: pages that fail to load while the browser is offline=
 should reload automatically.<br><br>The result:<br><ul><li>I know that my =
internet is back on because Firefox now shows the page I had failed to load=
</li><li>I save a little bit of time by not needing to click =E2=80=9CReloa=
d=E2=80=9D or hit Ctrl+R<br></li></ul></div>Have we thought of a behaviour =
like this?<br></div>
<br>_______________________________________________<br>
firefox-dev mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://mail.mozilla.org/listinfo/firefox-dev" rel=3D"noreferrer=
" target=3D"_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>

--047d7bdc9e760e2e6c052e4bbb08--

--===============1979896486089009064==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/firefox-dev

--===============1979896486089009064==--