mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f6356683cd
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
12 lines
161 B
HTML
12 lines
161 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Popup test</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
window.open('./popup.html');
|
|
</script>
|
|
</body>
|
|
</html>
|