The current spec algorithm step doesn't handle a case when the deserialization of a transferred processorOptions fails.
This step can actually fail for some reasons; then the failure should be reported via AudioWorkletNode.onprocessorerror and it should cause the AudioWorkletNode/Processor non-functional. (i.e. failure at construction)
The current spec algorithm step doesn't handle a case when the deserialization of a transferred
processorOptions
fails.This step can actually fail for some reasons; then the failure should be reported via
AudioWorkletNode.onprocessorerror
and it should cause the AudioWorkletNode/Processor non-functional. (i.e. failure at construction)Reference: https://crbug.com/1429681