Fix builds by working around browser timing functions not being successfully overridden

This commit is contained in:
Sheel Choksi
2013-10-29 17:32:04 -07:00
parent 966f76b481
commit cb5aea1fcf
3 changed files with 21 additions and 0 deletions

View File

@@ -94,6 +94,11 @@
return specFilter.matches(spec.getFullName());
};
window.setTimeout = window.setTimeout;
window.setInterval = window.setInterval;
window.clearTimeout = window.clearTimeout;
window.clearInterval = window.clearInterval;
var currentWindowOnload = window.onload;
window.onload = function() {