Re: Auto-reload when coming back online

Gijs Kruitbosch <[email protected]> Fri, 18 Mar 2016 10:20:34 +0000
Newsgroups gmane.comp.mozilla.firefox.devel,gmane.comp.mozilla.devel.netlib
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4752374289904085848==
Content-Type: multipart/alternative;
 boundary="------------080006050100090105060302"

This is a multi-part message in MIME format.
--------------080006050100090105060302
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

I'd also say there are "interesting" privacy aspects to this, and it=20
might violate the principle of least surprise if we automatically=20
reloaded the page. If I'm trying to load www.mydatingsite.com on my way=20
to work, and the signal on the subway/tube is too rubbish to do so, I=20
might not necessarily want it to be loaded automatically once I connect=20
to the (employer-monitored) work wifi... Such a situation is likely to=20
be the minority case, but we should keep it in mind when designing such=20
a feature.

~ Gijs

On 18/03/2016 05:07, Matthew N. wrote:
> I think the main problem was that Necko (networking in Gecko) didn't=20
> have good, if any, detection of network changes until recently. There=20
> has been work on this in the last year but I don't know the current=20
> state of it and it may vary by platform. There is discussion on=20
> mozilla.dev.tech.network today about network change detection and IPv6=20
> 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=20
> 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]=20
> <mailto:[email protected]>> wrote:
>
>     If a URL is loaded when there=92s no internet connection, Firefox
>     will 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 =93Reload=94
>         or hit Ctrl+R
>
>     Have we thought of a behaviour like this?
>
>     _______________________________________________
>     firefox-dev mailing list
>     [email protected] <mailto:[email protected]>
>     https://mail.mozilla.org/listinfo/firefox-dev
>
>
>
>
> _______________________________________________
> firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/firefox-dev


--------------080006050100090105060302
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix">I'd also say there are "interesting"
      privacy aspects to this, and it might violate the principle of
      least surprise if we automatically reloaded the page. If I'm
      trying to load <a class=3D"moz-txt-link-abbreviated" href=3D"http:/=
/www.mydatingsite.com">www.mydatingsite.com</a> on my way to work, and th=
e
      signal on the subway/tube is too rubbish to do so, I might not
      necessarily want it to be loaded automatically once I connect to
      the (employer-monitored) work wifi... Such a situation is likely
      to be the minority case, but we should keep it in mind when
      designing such a feature.<br>
      <br>
      ~ Gijs<br>
      <br>
      On 18/03/2016 05:07, Matthew N. wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CANcCaXdVug3NUgWJNue0N=3D1ec=3DDz+Jt_aOGDBBLKMqwosi73Sg@mail.=
gmail.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_default"
          style=3D"font-family:arial,helvetica,sans-serif">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.<br>
          <br>
        </div>
        <div class=3D"gmail_default"
          style=3D"font-family:arial,helvetica,sans-serif">CC'ing
          mozilla.dev.tech.network to see what the Necko team has to say
          about whether we 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 moz-do-not-send=3D"true"
              href=3D"mailto:[email protected]" target=3D"_blank">bram@moz=
illa.com</a>&gt;</span>
          wrote:<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 is loaded when there=92s 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
                slightly 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 =93Reload=94 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 moz-do-not-send=3D"true"
              href=3D"mailto:[email protected]">firefox-dev@mozilla=
.org</a><br>
            <a moz-do-not-send=3D"true"
              href=3D"https://mail.mozilla.org/listinfo/firefox-dev"
              rel=3D"noreferrer" target=3D"_blank">https://mail.mozilla.o=
rg/listinfo/firefox-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class=3D"mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap=3D"">_______________________________________________
firefox-dev mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:firefox-dev@mozilla.=
org">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://mail.mozilla.org/listi=
nfo/firefox-dev">https://mail.mozilla.org/listinfo/firefox-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------080006050100090105060302--

--===============4752374289904085848==
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

--===============4752374289904085848==--