Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / target_new-1.html
blob66e16c498710f657d08d6d45f405f4c14664ea51
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="en"><head>
3 <body>
4 <p>Reference the opener, its properties and functions via the links below.</p>
5 <ol>
7 <li>Clicking <a href="#" onclick="alert(window.opener)">here</a> should alert "[object Window]"</li>
8 <li>Clicking <a href="#" onclick="alert(window.opener.aVar)">here</a> should alert "some value"</li>
9 <li>Clicking <a href="#" onclick="window.opener.externallyCalled()">here</a> should alert "hello from opener"</li>
10 </ol>
11 </body></html>