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

An empty string for AudioWorkletProcessor name. #1172

Closed
hoch opened this issue Mar 20, 2017 · 3 comments
Closed

An empty string for AudioWorkletProcessor name. #1172

hoch opened this issue Mar 20, 2017 · 3 comments
Assignees
Milestone

Comments

@hoch
Copy link
Member

hoch commented Mar 20, 2017

registerProcessor('', class { /* ... */ });

Should we allow this? An empty string is still a valid string and can be defined a valid key within a JS object. I prefer to throw an exception, but would love to hear WG's opinion.

@joeberkovitz
Copy link
Contributor

I don't see why it is a problem as the content of the string is not used elsewhere. (speaking as member not chair)

@joeberkovitz
Copy link
Contributor

We're going to disallow the empty string.

@hoch
Copy link
Member Author

hoch commented Apr 11, 2017

@joeberkovitz Perhaps this is ready for editing?

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

No branches or pull requests

3 participants