Skip to content

v3.0.2

Compare
Choose a tag to compare
@dumbmatter dumbmatter released this 06 Jul 14:09
· 39 commits to master since this release

This should obviously print "true":

blob = new Blob(["self.onmessage = function() {};"], { type: "text/javascript" });
worker = new Worker(window.URL.createObjectURL(blob));
console.log(worker instanceof Worker);

However in some rare cases, it will print "false" in Safari. This caused bugs in prior versions of promise-worker-bi, but this release includes a workaround.