Skip to content

Commit

Permalink
FETCH_SEND_EVENT should expose overriden fetch promise (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
miherlosev authored and churkin committed May 30, 2016
1 parent ad9bedc commit 330f741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "testcafe-hammerhead",
"description": "A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).",
"version": "9.0.1",
"version": "9.0.2",
"homepage": "https://github.com/DevExpress/testcafe-hammerhead",
"bugs": {
"url": "https://github.com/DevExpress/testcafe-hammerhead/issues"
Expand Down
3 changes: 1 addition & 2 deletions src/client/sandbox/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ export default class FetchSandbox extends SandboxBase {

var fetchPromise = nativeMethods.fetch.apply(this, args);

sandbox.emit(sandbox.FETCH_REQUEST_SEND_EVENT, fetchPromise);

FetchSandbox._processFetchPromise(fetchPromise);
sandbox.emit(sandbox.FETCH_REQUEST_SEND_EVENT, fetchPromise);

return fetchPromise;
};
Expand Down

0 comments on commit 330f741

Please sign in to comment.