Implement FrameManager

This patch implements FrameManager which is responsible for maintaining
the frame tree. FrameManager is quite basic: it sends FrameAttached,
FrameDetached and FrameNavigated events, and can report mainFrame and
all frames.

The next step would be moving certain Page API's to the Frame. For
example, such method as Page.evaluate, Page.navigate and others should
be available on Frame object as well.

References #4
This commit is contained in:
Andrey Lushnikov
2017-06-17 14:27:51 -07:00
committed by Pavel Feldman
parent a66480a416
commit 175963182e
13 changed files with 563 additions and 56 deletions

View File

@@ -0,0 +1 @@
console.log('Cheers!');