currently we fail this test case; function test(){ /** literal tab in JSONString */ /* * Spec: 15.12.1.1 * Spec grammar seems to insist that anything below U+001F is a "control character" * and not allowed to appear literally in JSONString. * As JSON grammar isn't meant to change we're stuck with this even if browsers so far aligned on allowing this.. */ var passed=false; try{ JSON.parse( '{"test": " "}' // Replace the space with Tab, which can't be input here and converts to 4-spaces copy and paste ); }catch(e){ passed = true; } return passed; }
Created attachment 121322 [details] Fix
Fixed in r104212.
*** Bug 41102 has been marked as a duplicate of this bug. ***