From af30d328efb1e6fb7f54cfea654bebf6cb2788e0 Mon Sep 17 00:00:00 2001 From: Mikhail Losev Date: Wed, 22 Jun 2016 14:31:00 +0300 Subject: [PATCH] fix wrong event name (close #634) (#635) --- package.json | 2 +- src/client/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 112d888d5..d29a131a2 100644 --- a/package.json +++ b/package.json @@ -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.2.1", + "version": "9.2.2", "homepage": "https://github.com/DevExpress/testcafe-hammerhead", "bugs": { "url": "https://github.com/DevExpress/testcafe-hammerhead/issues" diff --git a/src/client/index.js b/src/client/index.js index c5876dbcd..418800596 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -31,7 +31,7 @@ class Hammerhead { beforeFormSubmit: this.sandbox.node.element.BEFORE_FORM_SUBMIT, beforeBeforeUnload: this.sandbox.event.unload.BEFORE_BEFORE_UNLOAD_EVENT, beforeUnload: this.sandbox.event.unload.BEFORE_UNLOAD_EVENT, - upload: this.sandbox.event.unload.UNLOAD_EVENT, + unload: this.sandbox.event.unload.UNLOAD_EVENT, bodyCreated: this.sandbox.node.mutation.BODY_CREATED_EVENT, documentCleaned: this.sandbox.node.mutation.DOCUMENT_CLEANED_EVENT, uncaughtJsError: this.sandbox.node.win.UNCAUGHT_JS_ERROR_EVENT,