lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.16.0 vs lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.17.0

- old
+ new

@@ -212,9 +212,26 @@ return NoSuchWindowError; })(Poltergeist.Error); +Poltergeist.ScriptTimeoutError = (function(superClass) { + extend(ScriptTimeoutError, superClass); + + function ScriptTimeoutError() { + return ScriptTimeoutError.__super__.constructor.apply(this, arguments); + } + + ScriptTimeoutError.prototype.name = "Poltergeist.ScriptTimeoutError"; + + ScriptTimeoutError.prototype.args = function() { + return []; + }; + + return ScriptTimeoutError; + +})(Poltergeist.Error); + Poltergeist.UnsupportedFeature = (function(superClass) { extend(UnsupportedFeature, superClass); function UnsupportedFeature(message1) { this.message = message1;