I'm not a 100% sure still, but the more I read, the more it seems like "create a script" has a side effect in step 7. It invokes "report an error" which ends up dispatching an event of sorts on the global.
However, importScripts() seems to expect it to rethrow.
This came up in #166 which does some refactoring in that general area.
I'm not a 100% sure still, but the more I read, the more it seems like "create a script" has a side effect in step 7. It invokes "report an error" which ends up dispatching an event of sorts on the global.
However,
importScripts()seems to expect it to rethrow.This came up in #166 which does some refactoring in that general area.