-
Notifications
You must be signed in to change notification settings - Fork 332
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
Should new Headers(undefined)
throw?
#185
Comments
wheresrhys
changed the title
Should Headers(undefined) throw?
Should Dec 17, 2015
new Headers(undefined)
throw?
Headers(undefined) is the same as Headers(), so yes, it should throw. |
Er, I meant should not. This may be fixed in Canary BTW. |
ok, I'll try it out |
No, still broken. Have raised an issue |
You filed a duplicate of https://code.google.com/p/chromium/issues/detail?id=335871. Next time you might want to test in Firefox too, it's usually more correct when it comes to IDL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On reading the spec I'm not clear if this is a bug in Chrome or not
The spec says
Before I raise a Chrome bug could someone clarify if the above behaviour is compliant with the spec. Should passing
undefined
toHeaders()
qualify as 'init is given'?The text was updated successfully, but these errors were encountered: