W3C home > Mailing lists > Public > public-html-media@w3.org > January 2017

[encrypted-media] Clarify text regarding how applications remove stored data

From: ddorwin via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Jan 2017 20:42:57 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-202934476-1485290575-sysbot+gh@w3.org>
ddorwin has just created a new issue for 
https://github.com/w3c/encrypted-media:

== Clarify text regarding how applications remove stored data ==
The [Session Storage and 
Persistence](https://w3c.github.io/encrypted-media/#session-storage) 
section currently says:
>An application that creates a session using a type for which the Is 
persistent session type? algorithm returns `true` SHOULD later remove 
the stored data using `remove()`.

While true, I do not believe the last part is complete. It made sense 
before we changed the meaning of `remove()` 
(https://github.com/w3c/encrypted-media/issues/180#issuecomment-222194463).
 We should probably add something about handling the response and 
following the process through [until the client removes the data]. 
Currently, that means sending a message to the server, getting the 
response, and passing it to `update()`, though we should not 
(normatively) duplicate that in this section.

We may also want to reword the existing text to avoid implying that 
`remove()` removes all stored data. It is not until `update()` 
succeeds that all stored data is removed.

Please view or discuss this issue at 
https://github.com/w3c/encrypted-media/issues/368 using your GitHub 
account
Received on Tuesday, 24 January 2017 20:43:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 24 January 2017 20:43:03 UTC