lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.8.1 vs lib/capybara/poltergeist/client/compiled/main.js in poltergeist-1.9.0
- old
+ new
@@ -180,17 +180,18 @@
})(Poltergeist.Error);
Poltergeist.StatusFailError = (function(superClass) {
extend(StatusFailError, superClass);
- function StatusFailError(url) {
+ function StatusFailError(url, details) {
this.url = url;
+ this.details = details;
}
StatusFailError.prototype.name = "Poltergeist.StatusFailError";
StatusFailError.prototype.args = function() {
- return [this.url];
+ return [this.url, this.details];
};
return StatusFailError;
})(Poltergeist.Error);