Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify text for many conditional cross-context operations #304

Commits on Feb 18, 2022

  1. Simplify text for many conditional cross-context operations

    Following one of the suggested alternatives by @mwatson2 on previous
    pull request review [1], this change introduces a "mirror if necessary"
    algorithm and uses it to simplfiy multiple places in the spec text where
    the attached MediaSource needs to update the state of the attached
    HTMLMediaElement. Note, there are several other cross-context pieces of
    text left unchanged, since they are specific to either setting up the
    conditionally cross-context communication ports, conditionally tearing
    them down, or describe how the extended media element buffering or
    seekable attributes behave relative to the potentially cross-context and
    asynchronous communication of the state used in those extensions.
    
    Note, upcoming PR for privacy and security section addition will also
    update (restrict) the flexibility for optimizing cross-context
    communication to help mitigate related timing attacks in
    implementations.
    
    [1] w3c#282 (review)
    wolenetz committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    a8ad2dd View commit details
    Browse the repository at this point in the history