The jsc command can accept the JSC_timeout environment variable to set a "watch dog" type of timeout. There should be a way to set this from the command line and for a test to call a function to set this as well.
Add a timeout to the test created for https://bugs.webkit.org/show_bug.cgi?id=146298 after this is complete.
Created attachment 255564 [details] Patch
Please hold off on this until you figure out why your test didn't timeout using the existing timeout machinery.
Comment on attachment 255564 [details] Patch Lets hold off on this.