feat(Browser): introduce Browser.pages() (#554)

This patch:
- introduces Target class that represents any inspectable target, such as service worker or page
- emits events when targets come and go
- introduces target.page() to instantiate a page from a target

Fixes #386, fixes #443.
This commit is contained in:
JoelEinbinder
2017-10-17 19:14:57 -07:00
committed by Andrey Lushnikov
parent 273c733237
commit 32398d11bd
9 changed files with 326 additions and 15 deletions

0
test/assets/sw.js Normal file
View File