- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / ssl / top_frame.html
1 <html>
2  <head><title>This is a test page with frames</title>
3  <script>
4   function simulateClick(target) {
5     var evt = document.createEvent("MouseEvents");
6     evt.initMouseEvent("click", true, true, window,
7                        0, 0, 0, 0, 0, false, false,
8                        false, false, 0, null);
9
10     return target.dispatchEvent(evt);
11   }
12
13   function clickLink(linkID) {
14     target = frames['navFrame'].document.getElementById(linkID);
15     if (target == null)
16       alert("clickLink failed for id=" + linkID);
17     return simulateClick(target);
18   }
19  </script>
20  </head>
21  <frameset cols="25%,75%">
22    <frame src="REPLACE_WITH_FRAME_LEFT_PATH" name="navFrame">
23    <frame src="frame_right.html" name="contentFrame">
24  </frameset>
25 </html>