Tests that AudioWorklet.addModule() rejects the promise when the URL is invalid. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS context.audioWorklet.addModule(invalidURL); rejected promise with SyntaxError: Module URL is invalid. | |
PASS context.audioWorklet.addModule('doesnotExist.js'); rejected promise with AbortError: Failed to fetch module, error: The requested URL was not found on this server.. | |
PASS successfullyParsed is true | |
TEST COMPLETE | |