Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

ReferenceError: 'Proxy' is undefined in IE11 #76

@terrylks

Description

@terrylks

To @chris-allnutt and refer to #56
An error ReferenceError: 'Proxy' is undefined will appear while using eosjs in IE11. We could reproduce this error in the simple boilerplate project:

Reproducing steps:
Clone repo https://github.com/EOSIO/eosio-project-boilerplate-simple and run ./quick_start.sh
Open http://localhost:3000/ in IE11
Add a note by using the first account in the listed account array.
Then you could see the error in the console and the note is not added to the blockchain.

FYI:
By looking into the source code of eosjs, the Proxy object is used in /src/ripemd.js line 382.
The ripemd is required from /src/eosjs-numeric.ts.

And Proxy is not supported in IE11 at all.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

@ChristianDunst @rickykung

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions