W3C home > Mailing lists > Public > public-webappsec@w3.org > November 2015

Re: In what circumstances is "delayed execution" acceptable on the web?

From: Jake Archibald <jakearchibald@google.com>
Date: Fri, 13 Nov 2015 10:01:25 +0000
Message-ID: <CAPy=JopXLkX3+XvzXsBUPGB4wzU-oEs+Ai+5zy7jLvRw25CAMg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>, Jeffrey Yasskin <jyasskin@google.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, WebAppSec WG <public-webappsec@w3.org>, Anne van Kesteren <annevk@annevk.nl>
On Fri, 13 Nov 2015 at 03:33 Martin Thomson <martin.thomson@gmail.com>
wrote:

> To that end, some visible indication that background
> activity is ongoing is a fine idea.  But anything that involves modal
> user interaction is right out in my opinion.
>

This is something we considered. As in, the user hears nothing about the
background sync unless they close all tabs to the origin and there's a
background sync in progress or pending, then there's be some kind of "
gmail.google.com has pending uploads" notification that can be cancelled.

The worry here is the lack of association with the initiating action - will
the user understand the notification?

Additionally, there's a further problem when it comes to mobile. When is a
tab closed on mobile? Is it when it's physically closed by the user, or
when the tab is removed from memory (but still appears as an entry in the
tab switcher or task manager). In the removed-from-memory case, that's
likely to happen while the phone is locked and in the user's pocket. Should
the "pending upload" notification cause a vibration to alert the user?
Received on Friday, 13 November 2015 10:02:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:16 UTC