Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: chrome_frame/test/data/src_property_host.html

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/data/src_property_frame2.html ('k') | chrome_frame/test/data/sub_frame1.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head><title>src property test</title>
3 <script type="text/javascript" src="chrome_frame_tester_helpers.js">
4 </script>
5 <script type="text/javascript">
6 function OnNavigationFailed() {
7 onFailure("ChromeFrame_SrcTest", 1, "ChromeFrame Navigation failed");
8 }
9
10 function OnChromeFrameLoaded(url) {
11 try {
12 url = url.data;
13 var chromeFrame = GetChromeFrame();
14 var frame_url = chromeFrame.src;
15 appendStatus("Loaded URL: " + url + " Frame url: " + frame_url);
16 }
17 catch (err) {
18 onFailure("ChromeFrame_SrcTest", 2, "OnChromeFrameLoaded failed.");
19 }
20 }
21
22 function GetChromeFrame() {
23 return window.document.ChromeFrame;
24 }
25
26 </script>
27 </head>
28 <body>
29 <div id="statusPanel" style="border: 1px solid red; width: 100%">
30 Test running....
31 </div>
32 <span id="ChromeFrameSpan"></span>
33 <script type="text/javascript">
34 insertControl(
35 "ChromeFrameSpan",
36 { "src": "src_property_frame1.html",
37 "eventHandlers": {
38 "onload": "return OnChromeFrameLoaded(arguments[0]);",
39 "onloaderror": "return OnNavigationFailed(arguments[0]);"
40 }
41 });
42 </script>
43 <p>Tests ChromeFrame Navigation</p>
44 </body>
45 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/src_property_frame2.html ('k') | chrome_frame/test/data/sub_frame1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698