feat(targets): add target.opener() (#2641)

This adds a `.opener` property to a target so that its origin can be tracked.
For now returns `null` when there's no `openerId`.

Fixes #1830
This commit is contained in:
Jan Potoms
2018-06-01 02:06:29 +02:00
committed by Andrey Lushnikov
parent 0b94fa70eb
commit f6356683cd
5 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Popup</title>
</head>
<body>
I am a popup
</body>
</html>