Browse files

Add ExecutionContext.frame()

Technically should return a Frame.t not FrameBase.t but it introduces a
circular dependency and these types are currently the same anyway. If
we set up proper inheritance using the Impl method as done elsewhere
then this should probably be changed to just return a frame.
  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 751bfc8 commit fdaee4aece687a3164ab10aa9aa4d863d43212d9
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/
@@ -122,6 +122,9 @@ external evaluateHandlePromise4 :
external evaluateStringHandle : string => Js.Promise.t(JSHandle.t) =

[@bs.send] [@bs.return nullable]
external frame : t => option(FrameBase.t) = "";

* Iterates the JavaScript heap and finds all the objects with the given
* prototype. Returns a handle to an array of objects with this prototype.

0 comments on commit fdaee4a

Please sign in to comment.