Source code

Revision control

Copy as Markdown

Other Tools

load(libdir + "asserts.js");
var entry = streamCacheEntry(new ArrayBuffer());
assertErrorMessage(() => entry.getBuffer.call(),
Error, /Expected StreamCacheEntry/);
assertErrorMessage(() => Object.getOwnPropertyDescriptor(entry, "cached").get(),
Error, /Expected StreamCacheEntry/);