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

Expose multiple execution contexts in Frame #87

Merged
merged 2 commits into from Sep 7, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+3 −1
Diff settings

Always

Just for now

Next

Frame.executionContext should return a promise

  • Loading branch information...
zploskey committed Sep 7, 2018
commit 35b4bedcf505c7b19652393262edd3bbe69c1002
Copy path View file
@@ -2,7 +2,9 @@ include FrameBase;

[@bs.send] external childFrames: t => array(t) = "";

[@bs.send] external executionContext: t => ExecutionContext.t = "";
/** Promise of the frame's default execution context. */
[@bs.send]
external executionContext: t => Js.Promise.t(ExecutionContext.t) = "";

[@bs.send] external isDetached: t => bool = "";

ProTip! Use n and p to navigate between commits in a pull request.