A follow-up to #3727.
The current WebGL 2.0 specs do not apply the same string validation rules (max length and allowed characters) to the name parameter of the getFragDataLocation command as to the name parameter of getAttribLocation or getUniformLocation. This is likely an oversight.