Skip to content

Simplify text for many conditional cross-context operations#304

Merged
wolenetz merged 1 commit intow3c:mainfrom
wolenetz:address_mwatson2_comments_on_initial_mseiw_draft_spec
Mar 18, 2022
Merged

Simplify text for many conditional cross-context operations#304
wolenetz merged 1 commit intow3c:mainfrom
wolenetz:address_mwatson2_comments_on_initial_mseiw_draft_spec

Conversation

@wolenetz
Copy link
Copy Markdown
Member

@wolenetz wolenetz commented Feb 18, 2022

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] #282 (review)


Preview | Diff

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 wolenetz requested a review from mwatson2 February 18, 2022 18:26
@wolenetz
Copy link
Copy Markdown
Member Author

@mwatson2 - please take a look. Thanks!

@wolenetz
Copy link
Copy Markdown
Member Author

wolenetz commented Mar 9, 2022

@mwatson2 please review. Thank you!

@wolenetz wolenetz merged commit 7f048c2 into w3c:main Mar 18, 2022
@wolenetz wolenetz deleted the address_mwatson2_comments_on_initial_mseiw_draft_spec branch March 18, 2022 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants