[testharness.js] Implement single_test()
opt-in to single page test
#11364
+192
−23
single_test()
opt-in to single page test
#11364