Changeset 24063 in webkit
- Timestamp:
- Jul 6, 2007 10:08:50 AM (17 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r24056 r24063 1 2007-07-06 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Alexey. 4 5 <rdar://problem/5313512> fast/frames/frame-set-same-{location,src}.html sometimes hang on Leopard 6 7 Make these tests more robust against frames loading in a different order. Also, turn the tests 8 into text tests and remove them from the Leopard skipped list. 9 10 * fast/frames/frame-set-same-location-expected.checksum: Removed. 11 * fast/frames/frame-set-same-location-expected.png: Removed. 12 * fast/frames/frame-set-same-location-expected.txt: 13 * fast/frames/frame-set-same-location.html: 14 * fast/frames/frame-set-same-src-expected.checksum: Removed. 15 * fast/frames/frame-set-same-src-expected.png: Removed. 16 * fast/frames/frame-set-same-src-expected.txt: 17 * fast/frames/frame-set-same-src.html: 18 * mac/leopard/Skipped: 19 1 20 2007-07-06 Mark Rowe <mrowe@apple.com> 2 21 -
trunk/LayoutTests/fast/frames/frame-set-same-location-expected.txt
r20271 r24063 1 layer at (0,0) size 800x600 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x600 4 RenderBlock {HTML} at (0,0) size 800x600 5 RenderFrameSet {FRAMESET} at (0,0) size 800x600 6 RenderFrame {FRAME} at (0,0) size 397x600 7 layer at (0,0) size 397x600 8 RenderView at (0,0) size 397x600 9 layer at (0,0) size 397x600 10 RenderBlock {HTML} at (0,0) size 397x600 11 RenderBody {BODY} at (8,8) size 381x576 12 RenderBlock {P} at (0,0) size 381x36 13 RenderText {#text} at (0,0) size 53x18 14 text run at (0,0) width 53: "Test for " 15 RenderInline {A} at (0,0) size 60x18 [color=#0000EE] 16 RenderText {#text} at (53,0) size 60x18 17 text run at (53,0) width 60: "bug 3400" 18 RenderText {#text} at (113,0) size 366x36 19 text run at (113,0) width 253: ": setting the .src of an iframe to the same" 20 text run at (0,18) width 172: "value does not reload page." 21 RenderBlock {P} at (0,52) size 381x36 22 RenderText {#text} at (0,0) size 375x36 23 text run at (0,0) width 375: "Testing that setting contentWindow.location.href of a frame" 24 text run at (0,18) width 152: "to the same value works" 25 RenderBlock {P} at (0,104) size 381x18 26 RenderText {#text} at (0,0) size 71x18 27 text run at (0,0) width 71: "SUCCESS" 28 RenderFrame {FRAME} at (403,0) size 397x600 29 layer at (0,0) size 397x600 30 RenderView at (0,0) size 397x600 31 layer at (0,0) size 397x600 32 RenderBlock {HTML} at (0,0) size 397x600 33 RenderBody {BODY} at (8,8) size 381x584 [bgcolor=#800080] 1 Test for bug 3400: setting the .src of an iframe to the same value does not reload page. 2 3 Testing that setting contentWindow.location.href of a frame to the same value works 4 5 SUCCESS -
trunk/LayoutTests/fast/frames/frame-set-same-location.html
r12753 r24063 8 8 layoutTestController.waitUntilDone(); 9 9 10 function reportSuccess() { 11 console = document.getElementById("left_frame").contentWindow.document.getElementById("console"); 12 if (console.firstChild.nodeValue == "FAILURE") { 10 function rightFrameLoaded() { 11 rightFrameLoadCount++; 12 if (rightFrameLoadCount == 2) { 13 // Console is set by runTest 14 console.firstChild.nodeValue = "SUCCESS"; 15 16 if (window.layoutTestController) { 17 // Put the test result in the main document so we can dump as text 18 var text = console.ownerDocument.documentElement.innerHTML; 19 document.open(); 20 document.write(text); 21 document.close(); 22 23 layoutTestController.dumpAsText(); 24 layoutTestController.notifyDone(); 25 } 26 } 27 } 28 29 function runTest() { 30 console = document.getElementById("left_frame").contentWindow.document.getElementById("console"); 31 if (console.firstChild.nodeValue == "FAILURE") { 13 32 console.firstChild.nodeValue = "PROCESSING..."; 14 33 document.getElementById("right_frame").contentWindow.location.href = "resources/purple.html"; 15 34 } else { 16 console.firstChild.nodeValue = "SUCCESS"; 17 if (window.layoutTestController) 18 layoutTestController.notifyDone(); 35 alert('TEST FAILURE: Unexpected onload call') 19 36 } 20 37 } 21 38 39 rightFrameLoadCount = 0; 22 40 </script> 23 41 </head> 24 <frameset cols="50%,*">42 <frameset onload="runTest()" cols="50%,*"> 25 43 <frame id="left_frame" src="data:text/html,<body><p>Test for <a href='http://bugzilla.opendarwin.org/show_bug.cgi?id=3400'>bug 3400</a>: setting the .src of an iframe to the same value does not reload page.</p><p>Testing that setting contentWindow.location.href of a frame to the same value works</p><p id=console>FAILURE</p></body>"> 26 <frame id="right_frame" onload="javascript:r eportSuccess()" src="resources/purple.html"></iframe>44 <frame id="right_frame" onload="javascript:rightFrameLoaded()" src="resources/purple.html"></frame> 27 45 </frameset> 28 46 </html> -
trunk/LayoutTests/fast/frames/frame-set-same-src-expected.txt
r20271 r24063 1 layer at (0,0) size 800x600 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x600 4 RenderBlock {HTML} at (0,0) size 800x600 5 RenderFrameSet {FRAMESET} at (0,0) size 800x600 6 RenderFrame {FRAME} at (0,0) size 397x600 7 layer at (0,0) size 397x600 8 RenderView at (0,0) size 397x600 9 layer at (0,0) size 397x600 10 RenderBlock {HTML} at (0,0) size 397x600 11 RenderBody {BODY} at (8,8) size 381x576 12 RenderBlock {P} at (0,0) size 381x36 13 RenderText {#text} at (0,0) size 53x18 14 text run at (0,0) width 53: "Test for " 15 RenderInline {A} at (0,0) size 60x18 [color=#0000EE] 16 RenderText {#text} at (53,0) size 60x18 17 text run at (53,0) width 60: "bug 3400" 18 RenderText {#text} at (113,0) size 366x36 19 text run at (113,0) width 253: ": setting the .src of an iframe to the same" 20 text run at (0,18) width 172: "value does not reload page." 21 RenderBlock {P} at (0,52) size 381x36 22 RenderText {#text} at (0,0) size 341x36 23 text run at (0,0) width 341: "Testing that setting an src of a frame to the same value" 24 text run at (0,18) width 39: "works" 25 RenderBlock {P} at (0,104) size 381x18 26 RenderText {#text} at (0,0) size 71x18 27 text run at (0,0) width 71: "SUCCESS" 28 RenderFrame {FRAME} at (403,0) size 397x600 29 layer at (0,0) size 397x600 30 RenderView at (0,0) size 397x600 31 layer at (0,0) size 397x600 32 RenderBlock {HTML} at (0,0) size 397x600 33 RenderBody {BODY} at (8,8) size 381x584 [bgcolor=#800080] 1 Test for bug 3400: setting the .src of an iframe to the same value does not reload page. 2 3 Testing that setting an src of a frame to the same value works 4 5 SUCCESS -
trunk/LayoutTests/fast/frames/frame-set-same-src.html
r12753 r24063 8 8 layoutTestController.waitUntilDone(); 9 9 10 function reportSuccess() { 11 console = document.getElementById("left_frame").contentWindow.document.getElementById("console"); 12 if (console.firstChild.nodeValue == "FAILURE") { 10 function rightFrameLoaded() { 11 rightFrameLoadCount++; 12 if (rightFrameLoadCount == 2) { 13 // Console is set by runTest 14 console.firstChild.nodeValue = "SUCCESS"; 15 16 if (window.layoutTestController) { 17 // Put the test result in the main document so we can dump as text 18 var text = console.ownerDocument.documentElement.innerHTML; 19 document.open(); 20 document.write(text); 21 document.close(); 22 23 layoutTestController.dumpAsText(); 24 layoutTestController.notifyDone(); 25 } 26 } 27 } 28 29 function runTest() { 30 console = document.getElementById("left_frame").contentWindow.document.getElementById("console"); 31 if (console.firstChild.nodeValue == "FAILURE") { 13 32 console.firstChild.nodeValue = "PROCESSING..."; 14 33 document.getElementById("right_frame").src = "resources/purple.html"; 15 34 } else { 16 console.firstChild.nodeValue = "SUCCESS"; 17 if (window.layoutTestController) 18 layoutTestController.notifyDone(); 35 alert('TEST FAILURE: Unexpected onload call') 19 36 } 20 37 } 21 38 39 rightFrameLoadCount = 0; 22 40 </script> 23 41 </head> 24 <frameset cols="50%,*">42 <frameset onload="runTest()" cols="50%,*"> 25 43 <frame id="left_frame" src="data:text/html,<body><p>Test for <a href='http://bugzilla.opendarwin.org/show_bug.cgi?id=3400'>bug 3400</a>: setting the .src of an iframe to the same value does not reload page.</p><p>Testing that setting an src of a frame to the same value works</p><p id=console>FAILURE</p></body>"> 26 <frame id="right_frame" onload="javascript:r eportSuccess()" src="resources/purple.html"></iframe>44 <frame id="right_frame" onload="javascript:rightFrameLoaded()" src="resources/purple.html"></frame> 27 45 </frameset> 28 46 </html> -
trunk/LayoutTests/mac/leopard/Skipped
r24036 r24063 62 62 http/tests/xmlhttprequest/basic-auth.html 63 63 64 # <rdar://problem/5313512> fast/frames/frame-set-same-{location,src}.html sometimes hangs on Leopard65 fast/frames/frame-set-same-location.html66 fast/frames/frame-set-same-src.html67 68 64 # <rdar://problem/5313531> editing/pasteboard/copy-in-password-field.html sometimes fails on Leopard 69 65 editing/pasteboard/copy-in-password-field.html
Note: See TracChangeset
for help on using the changeset viewer.