]> zoso.dev Git - buffer.git/commit
Treat ArrayBuffers from another context as valid
authorFeross Aboukhadijeh <feross@feross.org>
Fri, 4 Aug 2017 22:27:08 +0000 (15:27 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Fri, 4 Aug 2017 22:27:08 +0000 (15:27 -0700)
commitbcfa52bd9a8ca6b10e452fbd60eade7167bd0f6b
treef90d40e9919125d3d682538e9ea2183c974620a8
parentcf0c27e9bc645fdcfeefaac9f8da0172475a5277
Treat ArrayBuffers from another context as valid

Fixes: https://github.com/feross/buffer/issues/166
ArrayBuffers from another context (i.e. an iframe) do not pass the
`instanceof` check but they should be treated as valid.
index.js