OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <script type="text/javascript"> |
| 5 function addNewMarker(elementId, marker) { |
| 6 f = document.getElementById(elementId) |
| 7 f.contentDocument.body.innerHTML = elementId + ": " + marker |
| 8 } |
| 9 |
| 10 function onLoad() { |
| 11 if (location.href.indexOf("do_runtime_changes") == (-1)) |
| 12 return |
| 13 |
| 14 addNewMarker("subframe1", "21595339-61fc-4854-b6df-0668328ea263") |
| 15 addNewMarker("subframe2", "adf55719-15e7-45be-9eda-d12fe782a1bd") |
| 16 addNewMarker("subframe3", "50e294bf-3a5b-499d-8772-651ead26952f") |
| 17 addNewMarker("subframe4", "e0ea9289-7467-4d32-ba5c-c604e8d84cb7") |
| 18 } |
| 19 </script> |
| 20 </head> |
| 21 <body onload="onLoad()"> |
| 22 <h1>Test page features</h1> |
| 23 |
| 24 IFrames below have the same URI, but JavaScript will change their |
| 25 contents - the saved page should preserve this difference in |
| 26 contents of the IFrames. |
| 27 |
| 28 <h1>Test content</h1> |
| 29 |
| 30 Content verification marker: |
| 31 frames-runtime-changes.htm: 4388232f-8d45-4d2e-9807-721b381be153 |
| 32 <br> |
| 33 <br> |
| 34 |
| 35 Frames with orignal content fetched via "src" attribute: |
| 36 <br> |
| 37 <iframe id="subframe1" src="b.htm"></iframe> |
| 38 <br> |
| 39 <br> |
| 40 <iframe id="subframe2" src="b.htm"></iframe> |
| 41 <br> |
| 42 <br> |
| 43 |
| 44 Frames with orignal content defined via "srcdoc" attribute: |
| 45 <br> |
| 46 <iframe id="subframe3" srcdoc=" |
| 47 <html> |
| 48 <head> |
| 49 <title>subtitle3</title> |
| 50 </head> |
| 51 <body> |
| 52 srcdoc3: bd191e37-1797-41a4-9e25-a732d988b255 |
| 53 <br> |
| 54 <br> |
| 55 </body> |
| 56 </html>"></iframe> |
| 57 <br> |
| 58 <br> |
| 59 <iframe id="subframe4" srcdoc=" |
| 60 <html> |
| 61 <head> |
| 62 <title>subtitle4</title> |
| 63 </head> |
| 64 <body> |
| 65 srcdoc4: c60fa69e-20a8-4cb0-ad9d-122355fe2522 |
| 66 <br> |
| 67 <br> |
| 68 </body> |
| 69 </html>"></iframe> |
| 70 <br> |
| 71 <br> |
| 72 |
| 73 </body> |
| 74 </html> |
OLD | NEW |