Changeset 19622 in webkit
- Timestamp:
- Feb 14, 2007, 9:13:32 AM (18 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LayoutTests/ChangeLog ¶
r19621 r19622 1 2007-02-14 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Beth Dakin. 4 5 Blind attempt to make this test more reliable. (It fails intermittently 6 on the buildbot.) 7 8 * editing/execCommand/find-after-replace-expected.checksum: 9 * editing/execCommand/find-after-replace-expected.png: 10 * editing/execCommand/find-after-replace-expected.txt: 11 * editing/execCommand/find-after-replace.html: Use a load event handler 12 instead of a 100ms timer. There's no guarantee that everything will be 13 done loading in under 100ms (and there's no reason to wait that long all 14 the time, either!). 15 1 16 2007-02-14 Mitz Pettel <mitz@webkit.org> 2 17 -
TabularUnified trunk/LayoutTests/editing/execCommand/find-after-replace-expected.checksum ¶
r18953 r19622 1 5a0bfef92ff7528e42106cea8dde4577 1 dcb24bbc2bafc4c7b553a7048ccccb8e -
TabularUnified trunk/LayoutTests/editing/execCommand/find-after-replace-expected.txt ¶
r19034 r19622 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 8 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 4 of #text > BODY > HTML > #document to 5 of #text > BODY > HTML > #document givenAction:WebViewInsertActionPasted 9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > BODY > HTML > #document to 0 of #text > BODY > HTML > #document toDOMRange:range from 3 of #text > BODY > HTML > #document to 3 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 10 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 11 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification … … 27 27 RenderBlock {HTML} at (0,0) size 300x150 28 28 RenderBody {BODY} at (8,8) size 284x134 [bgcolor=#FFFFE0] 29 RenderText {#text} at (0,0) size 31x18 30 text run at (0,0) width 31: "A B " 31 RenderText {#text} at (31,0) size 27x18 32 text run at (31,0) width 27: "A B" 29 RenderText {#text} at (0,0) size 27x18 30 text run at (0,0) width 27: "A B" 31 RenderText {#text} at (27,0) size 27x18 32 text run at (27,0) width 27: "A B" 33 RenderText {#text} at (54,0) size 4x18 34 text run at (54,0) width 4: " " 33 35 RenderText {#text} at (0,0) size 0x0 34 36 RenderText {#text} at (0,0) size 0x0 -
TabularUnified trunk/LayoutTests/editing/execCommand/find-after-replace.html ¶
r18953 r19622 1 <script>2 if (window.layoutTestController)3 layoutTestController.dumpEditingCallbacks();4 </script>5 1 <p>This tests find and replace inside an editable iframe. You should see 'A B A B' below. With bug 4462420, you would see 'A B B A'.</p> 6 2 <iframe src="../resources/contenteditable-iframe-src.html"></iframe> 7 3 8 4 <script> 9 function runTest() { 5 if (window.layoutTestController) { 6 layoutTestController.dumpEditingCallbacks(); 7 layoutTestController.waitUntilDone(); 8 } 9 10 window.onload = function onload() { 10 11 var frame = frames[0]; 11 12 var sel = frame.getSelection(); … … 19 20 doc.execCommand("FindString", false, "A"); 20 21 doc.execCommand("Paste"); 22 21 23 if (window.layoutTestController) 22 24 window.layoutTestController.notifyDone(); 23 25 } 24 if (window.layoutTestController)25 window.layoutTestController.waitUntilDone();26 window.setTimeout(runTest, 100);27 26 </script>
Note:
See TracChangeset
for help on using the changeset viewer.