bug-1540670.js (362B)
1 // Adapted from a fuzz test, the origianl test was: 2 // 3 // gcparam('minNurseryBytes', 0); 4 // gczeal(4); 5 // 6 // And would trick the GC into a state where the nursery had been setup but 7 // thought that it was disabled. 8 9 load(libdir + "asserts.js"); 10 11 assertErrorMessage( 12 () => gcparam('minNurseryBytes', 0), 13 Error, 14 "Parameter value out of range"); 15 16 gczeal(4);