blob: 2f587bf25c88ba0422a9f68f0414e6ef0d53d596 [file] [log] [blame]
fpizlo@apple.com135a9462013-01-20 20:06:05 +00001description("JSRegress/" + ("" + window.location).split('/').pop().split('.')[0]);
2_JSRegress_didSucceed = true;
3_JSRegress_oldOnError = window.onerror;
4window.onerror = function(message) {
5 debug("FAIL caught exception: " + message);
6 _JSRegress_didSucceed = false;
7 _JSRegress_oldOnError.apply(this, arguments);
8}
oliver@apple.com22b40a62013-12-17 00:01:01 +00009
10if (typeof noInline == "undefined") {
11 if (window.testRunner)
12 noInline =window.testRunner.neverInlineFunction || function(){};
13 else
14 noInline = function(){}
15}
16