Skip to content

Commit

Permalink
Necessary changes to simulate clicks
Browse files Browse the repository at this point in the history
Closes GH-110
  • Loading branch information
marianocarrazana authored and nmaier committed Mar 15, 2016
1 parent b4537df commit 850c85a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/sandboxscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Request.prototype = {
setRequestHeader: function(header, value) _outer_callFunction(this._token, "setRequestHeader", header, value),
getResponseHeader: function(header) _outer_callFunction(this._token, "getResponseHeader", header),
open: function(method, url) _outer_callFunction(this._token, "open", method, url),
send: function() _outer_callFunction(this._token, "send"),
send: function(data) _outer_callFunction(this._token, "send", data),
};


Expand Down
4 changes: 3 additions & 1 deletion modules/sandboxfactories.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,7 @@ XMLHttpRequest_WRAP.prototype = {
}
return rv;
},
send: function() this._xhr.send(null, true)
send: function(data) {
return this._xhr.send(data, true);
}
};

0 comments on commit 850c85a

Please sign in to comment.