[core-http] fix An exception thrown on Safari 5.0#11759
Conversation
|
Thank you for your contribution ewfian! We will review the pull request and get back to you soon. |
xirzec
left a comment
There was a problem hiding this comment.
The fix looks good to me, though can you confirm if the different way of doing this in core-client also works in Safari 5?
@xirzec There is no above code line in js file what I bundled. But the result of next is as follows. it seems won't be work. ![]()
|
|
Concerned that we will not have a good error message now if a user passes in a vanilla object, since we'll now try to do an instanceof check using it. |
This shouldn't affect the value being passed in, the only thing that seems to be changing is how we detect that the global name |
|
@bterlson any more concerns? |
|
Sorry, no concerns, @xirzec is right that I misread the situation. |


Fixes #11758
When uploading files on Safari 5.0, An exception
body must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.will thrown.