Skip to content

Add explicit arguments to codec algorithms. #111

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

Closed
wants to merge 1 commit into from

Conversation

chcunningham
Copy link
Collaborator

@chcunningham chcunningham commented Dec 9, 2020

NOTE: I'm not asking to merge this. I think its hard to read. I'm working
on an alternative impl (less parameterization, more duplication). We
should compare them and decide which is prefered. I'll reply here when
option 2 is ready.

Previously the algorithms assume that any mentioned interface attribute
is implicitly belonging to the codec interface shared by the method that
invoked the algorithm. Unfortunately, that meant none of the bikeshed
autolinking picked up on usage of the interface attributes within the
algorithm.

Now, all interface attributes are explicitly mentioned when invoking the
algorithm, so the linking picks up on this.

I do think it turns out pretty verbose and hard to read :/.


Preview | Diff

Previously the algorithms assume that any mentioned interface attribute
is implicitly belonging to the codec interface shared by the method that
invoked the algorithm. Unfortunately, that meant none of the bikeshed
autolinking picked up on usage of the interface attributes within the
algorithm.

Now, all interface attributes are explicitly mentioned when invoking the
algorithm, so the linking picks up on this.

I do think it turns out pretty verbose and hard to read :/. Still
considering other approaches.
@yoavweiss
Copy link
Contributor

@chcunningham - can you join the WICG to appease the IPR bots?

@chcunningham
Copy link
Collaborator Author

Re: IPR - I think I'm already joined? When I go to https://www.w3.org/community/wicg/join it says "You are already a participant in this group."

In an earlier PR the bots were happy on one commit, then unhappy on the next: https://github.com/WICG/web-codecs/pull/109/commits

Nothing changed on my end that I'm aware of. I filed w3c/ash-nazg#188

@chcunningham
Copy link
Collaborator Author

Closing in favor of #112

@chcunningham chcunningham deleted the algorithms_with_more_args branch December 9, 2020 07:58
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