Skip to content

Commit

Permalink
Bind native methods (#2850)
Browse files Browse the repository at this point in the history
* bind

* bump version
  • Loading branch information
AlexKamaev authored Feb 1, 2023
1 parent 89f7876 commit ad45f8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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": "28.3.0",
"version": "28.3.1",
"homepage": "https://github.com/DevExpress/testcafe-hammerhead",
"bugs": {
"url": "https://github.com/DevExpress/testcafe-hammerhead/issues"
Expand Down
2 changes: 2 additions & 0 deletions src/client/sandbox/native-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ class NativeMethods {
Function: any;
Error: any;
functionToString: Function;
functionBind: Function;
FontFace: any;
StorageEvent: typeof StorageEvent;
MutationObserver: any;
Expand Down Expand Up @@ -1191,6 +1192,7 @@ class NativeMethods {
this.Image = win.Image;
this.Function = win.Function;
this.functionToString = win.Function.prototype.toString;
this.functionBind = win.Function.prototype.bind;
this.Error = win.Error;
this.FontFace = win.FontFace;
this.StorageEvent = win.StorageEvent;
Expand Down

0 comments on commit ad45f8a

Please sign in to comment.