item() indexed straight into the array, so an out-of-range index crashed. Blink's item() returns nullptr there and its bindings hand that to JS as null, so make the WebIDL return type nullable and do the same. https://github.com/WebAudio/web-speech-api/pull/212 aligns the spec. Differential Revision: https://phabricator.services.mozilla.com/D324284