This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@frozeman ok, trying to figure out the failing build, then I'll make the 02-007. |
evertonfraga
added a commit
that referenced
this pull request
Apr 19, 2017
It still looks really unstable to me. It gives hard crashes pretty often. First test
Second test
Third test
Random exceptions found in mist.log while using it:
|
Using the recommended node version from electron, I was getting the same sorts of exceptions on electron Didn't get any exception on electron |
evertonfraga
previously approved these changes
Jul 4, 2017
evertonfraga
approved these changes
Jul 4, 2017
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should fix ETH-02-007, by adding preloader isolation for browser and dapps.
We could do that even for MistUI in the future, but this is not crucial.
Please test the PR with many Dapps, as this also removes sync call support for web3.js.
(There is no way to make sync calls with the postMessage transfer we have to use now.)
@alexvandesande please test ENS dapp
@MaiaVictor please take a look at ETH-02-007 and try to reproduce.
@evertonfraga could you add tests for ETH-02-007 ?
What this PR does
/modules/preloader/injected
which contains the files which will be injected in the websites context usingwebFrame.executeJavaScript("..")
window.postMessage
and the preloader talks to the mist backend usingipcRender
, as before. This way these two contexts are completely isolated, but can communicate.Once im back i can port everything to the isolated preloader, but this increases security and works.