Skip to content

[cssom] MediaList.deleteMedium should raise an exception if corresponding medium is not found #696

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
upsuper opened this issue Nov 9, 2016 · 1 comment
Labels
cssom-1 Current Work

Comments

@upsuper
Copy link
Member

upsuper commented Nov 9, 2016

It seems to me that Firefox, Chrome, and Edge all agree on raising an exception on deleteMedium if the corresponding medium is not found. I think the spec should follow that behavior.

@upsuper upsuper added the cssom-1 Current Work label Nov 9, 2016
@upsuper upsuper changed the title [cssom] deleteMedium should raise an exception if corresponding medium is not found [cssom] MediaList.deleteMedium should raise an exception if corresponding medium is not found Nov 9, 2016
@upsuper
Copy link
Member Author

upsuper commented Nov 9, 2016

And Safari has the same behavior, so all browsers agree on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cssom-1 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant