Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / regress / resources / regress-pre.js
blobc9b9f231b55b413d307c975daa7f6d6d670f59c5
1 description("JSRegress/" + ("" + window.location).split('/').pop().split('.')[0]);
2 _JSRegress_didSucceed = true;
3 _JSRegress_oldOnError = window.onerror;
4 window.onerror = function(message) {
5 debug("FAIL caught exception: " + message);
6 _JSRegress_didSucceed = false;
7 _JSRegress_oldOnError.apply(this, arguments);