You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Try doing the following in the Phantom debug console:
window.crypto.foo='foo';
The string 'foo' is printed out indicating the value which was written, however, window.crypto.foo is undefined if you try to access the value.
Object.isFrozen(window.crypto) returns false as it does in Chrome. Chrome, however, allows us to write properties to the window.crypto object.
The reason we need to be able to write to window.crypto is so we can polyfill window.crypto.subtle which is implemented by Chrome but not Phantom. Is there some sort of CLI flag to allow us to write to window.crypto or if not is it possible to fix this?
We are using Phantom 1.9.8.
The text was updated successfully, but these errors were encountered:
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Try doing the following in the Phantom debug console:
The string
'foo'
is printed out indicating the value which was written, however,window.crypto.foo
is undefined if you try to access the value.Object.isFrozen(window.crypto)
returnsfalse
as it does in Chrome. Chrome, however, allows us to write properties to thewindow.crypto
object.The reason we need to be able to write to
window.crypto
is so we can polyfillwindow.crypto.subtle
which is implemented by Chrome but not Phantom. Is there some sort of CLI flag to allow us to write towindow.crypto
or if not is it possible to fix this?We are using Phantom 1.9.8.
The text was updated successfully, but these errors were encountered: