This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26758 - Need a more robust way of preventing multiple MediaKeySession objects for persisted session data
Summary: Need a more robust way of preventing multiple MediaKeySession objects for per...
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Encrypted Media Extensions (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Dorwin
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2014-09-08 20:14 UTC by David Dorwin
Modified: 2014-09-15 22:14 UTC (History)
3 users (show)

See Also:


Description David Dorwin 2014-09-08 20:14:37 UTC
The spec currently says the user agent* should maintain a "list of active session IDs." This is intended to prevent a persistent session from being loaded twice (or loaded after creation) so that the spec and implementations do not need to worry about multiple representations of the same session data. (This is very similar to the problems with reusing sessions as a way to optimize session creation or message generation.)

The problem is that the current text only addresses multiple sessions within the same DOM. The current text would not prevent loading the session in another browser, which is just as problematic. Thus, the limit must be global, at the same level as the persistent storage.

We should probably just move this responsibility to the CDM portion of the algorithm. The CDM already needs global (to the origin) synchronization to properly manage the persistent sessions. The app-facing behavior (rejecting load() with "QuotaExceededError") would not change.

* It is specified for all implementations, but it should only really be required for implementations that intend to support persistent sessions.
Comment 1 David Dorwin 2014-09-09 15:18:09 UTC
I meant s/another browser/another browser tab/.
Comment 2 David Dorwin 2014-09-15 22:14:02 UTC
Implemented in