You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have strong views on how this should work, but yeah, the only difference I can think of is in how new Blob(undefined) is handled. At least that's the case as long as we don't add more overloads of the constructor.
This is part of the reason why we should avoid overloads I think. new Blob(undefined) not being new Blob() is weird and we should fix that here. (We cannot change it at the IDL-level unfortunately as that would break XMLHttpRequest, though if that's the only case maybe we should fix that specially somehow?)
Activity
bzbarsky commentedon Mar 2, 2016
I don't have strong views on how this should work, but yeah, the only difference I can think of is in how
new Blob(undefined)is handled. At least that's the case as long as we don't add more overloads of the constructor.annevk commentedon Mar 2, 2016
This is part of the reason why we should avoid overloads I think.
new Blob(undefined)not beingnew Blob()is weird and we should fix that here. (We cannot change it at the IDL-level unfortunately as that would break XMLHttpRequest, though if that's the only case maybe we should fix that specially somehow?)