Created attachment 520731 [details] [diff] [review]
Patch and test
Noticed in passing while doing other JSON work. It's nitpicky to be sure, but it's what the spec says, implementations generally follow the spec here, and there's no good reason to do otherwise.
Created attachment 525822 [details] [diff] [review]
cdleary-bot mozilla-central merge info: