Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(page): properly create isolated worlds #4707

Merged

Conversation

aslushnikov
Copy link
Contributor

The following error:

Error: Protocol error (Page.createIsolatedWorld): No frame for given id found

was mentioned here:
FlowCrypt/flowcrypt-browser#1799 (comment)

This indeed seems to be a bug with our creation of isolated worlds.

The following error:
```
Error: Protocol error (Page.createIsolatedWorld): No frame for given id found
```

was mentioned here:
FlowCrypt/flowcrypt-browser#1799 (comment)

This indeed seems to be a bug with our creation of isolated worlds.
@@ -276,7 +276,7 @@ class FrameManager extends EventEmitter {
frameId: frame._id,
grantUniveralAccess: true,
worldName: name,
})));
}).catch(debugError)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment why this can fail. Frames die while we are creating worlds in them?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's the pattern we already use in code.

@aslushnikov aslushnikov merged commit c9977c8 into puppeteer:master Jul 16, 2019
@aslushnikov aslushnikov deleted the proper-create-isolated-worlds branch July 16, 2019 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants