Changeset 84938 in webkit
- Timestamp:
- Apr 26, 2011 11:53:45 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 16 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84936 r84938 1 2011-04-26 Dmitry Titov <dimich@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 Convert fast/frames/contentWindow_Frame.html and fast/frames/contentWindow_IFrame.html to 'dumpAsText' 6 https://bugs.webkit.org/show_bug.cgi?id=59436 7 8 * fast/frames/contentWindow_Frame-expected.txt: Added. 9 * fast/frames/contentWindow_Frame.html: 10 * fast/frames/contentWindow_iFrame-expected.txt: Added. 11 * fast/frames/contentWindow_iFrame.html: 12 * platform/chromium-linux/fast/frames/contentWindow_Frame-expected.png: Removed. 13 * platform/chromium-linux/fast/frames/contentWindow_iFrame-expected.png: Removed. 14 * platform/chromium-win/fast/frames/contentWindow_Frame-expected.png: Removed. 15 * platform/chromium-win/fast/frames/contentWindow_Frame-expected.txt: Removed. 16 * platform/chromium-win/fast/frames/contentWindow_iFrame-expected.png: Removed. 17 * platform/chromium-win/fast/frames/contentWindow_iFrame-expected.txt: Removed. 18 * platform/gtk/fast/frames/contentWindow_Frame-expected.txt: Removed. 19 * platform/gtk/fast/frames/contentWindow_iFrame-expected.txt: Removed. 20 * platform/mac-leopard/fast/frames/contentWindow_Frame-expected.png: Removed. 21 * platform/mac-leopard/fast/frames/contentWindow_iFrame-expected.png: Removed. 22 * platform/mac/fast/frames/contentWindow_Frame-expected.png: Removed. 23 * platform/mac/fast/frames/contentWindow_Frame-expected.txt: Removed. 24 * platform/mac/fast/frames/contentWindow_iFrame-expected.png: Removed. 25 * platform/mac/fast/frames/contentWindow_iFrame-expected.txt: Removed. 26 * platform/qt/fast/frames/contentWindow_Frame-expected.txt: Removed. 27 * platform/qt/fast/frames/contentWindow_iFrame-expected.txt: Removed. 28 1 29 2011-04-26 Stephen White <senorblanco@chromium.org> 2 30 -
trunk/LayoutTests/fast/frames/contentWindow_Frame.html
r63519 r84938 1 1 <html> 2 3 2 <head> 4 5 <title>Testing contentWindow on Frames</title>6 7 3 <script> 8 function putText() 9 { 4 function putText() { 5 if (window.layoutTestController) { 6 layoutTestController.dumpAsText(); 7 layoutTestController.dumpChildFramesAsText(); 8 } 10 9 var t = document.getElementById("t_frame"); 11 10 var b = document.getElementById("b_frame"); 12 11 13 12 var dv = t.contentDocument.getElementById("my_div"); 14 15 dv.innerText = b.contentWindow.location;16 13 dv.innerText = "Testing contentWindow on Frames. Test passes if there is a 'PASS' line.\n"; 14 var result = b.contentWindow.location == "about:blank" ? "PASS" : "FAIL"; 15 dv.innerText += result; 17 16 } 18 19 17 window.onload = putText; 20 18 </script> 21 19 22 20 </head> 23 24 21 <FRAMESET rows="30%, 70%"> 25 22 <FRAME id="t_frame" name="top" src="resources/frame_top.html"> -
trunk/LayoutTests/fast/frames/contentWindow_iFrame.html
r11995 r84938 1 1 <html> 2 3 2 <head> 4 5 <title>Testing contentWindow on an iFrame</title> 6 7 <script> 8 function putText() 9 { 10 var w = document.getElementById("my_iframe").contentWindow; 11 var d = document.getElementById("my_div"); 12 d.innerText = w.location; 13 } 14 </script> 15 3 <script> 4 function putText() { 5 if (window.layoutTestController) { 6 layoutTestController.dumpAsText(); 7 } 8 var w = document.getElementById("my_iframe").contentWindow; 9 var d = document.getElementById("my_div"); 10 var result = w.location == "about:blank" ? "PASS" : "FAIL"; 11 d.innerText = result; 12 } 13 </script> 16 14 </head> 17 18 15 <body onload="putText()"> 19 20 <div> 21 Here is the iFrame: 22 <iframe id="my_iframe" src="about:blank" width=200 height=200 frameborder=1></iframe> 23 </div> 24 25 <div id="my_div"> 26 div text will be replaced 27 </div> 28 16 <div>Testing contentWindow on Frames. Test passes if there is a 'PASS' line. 17 <iframe id="my_iframe" src="about:blank"></iframe> 18 </div> 19 <div id="my_div">div text will be replaced</div> 29 20 </body> 30 31 21 </html>
Note: See TracChangeset
for help on using the changeset viewer.