[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / resources / regress-pre.js
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);
8 }
9
10 if (typeof noInline == "undefined") {
11     if (window.testRunner)
12         noInline =window.testRunner.neverInlineFunction || function(){};
13     else
14         noInline = function(){}
15 }
16