Changeset 147035 in webkit
- Timestamp:
- Mar 27, 2013 5:29:39 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 edited
- 20 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r147034 r147035 1 2013-03-27 Claudio Saavedra <csaavedra@igalia.com> 2 3 Rename Editing tests whose expectations are Mac specific 4 https://bugs.webkit.org/show_bug.cgi?id=113414 5 6 Reviewed by Ryosuke Niwa. 7 8 These tests have expectations that assume that word selection 9 works always as in Mac and therefore will break when ran with 10 editingBehavior set, for instance, to Windows (see bug 11 110487). Rename them to have the suffix -mac and explicitly set 12 editingBehavior to Mac. 13 14 When the fix for 110487 lands, counterparts to these tests with 15 suffix -win, editingBehavior set to win, and updated expectations 16 will be added. 17 18 * editing/deleting/smart-editing-disabled-mac-expected.txt: 19 Renamed from 20 LayoutTests/editing/deleting/smart-editing-disabled-expected.txt. 21 * editing/deleting/smart-editing-disabled-mac.html: Renamed from 22 LayoutTests/editing/deleting/smart-editing-disabled.html. 23 * editing/execCommand/remove-format-multiple-elements-mac-expected.txt: 24 Renamed from 25 LayoutTests/editing/execCommand/remove-format-multiple-elements-expected.txt. 26 * editing/execCommand/remove-format-multiple-elements-mac.html: 27 Renamed from 28 LayoutTests/editing/execCommand/remove-format-multiple-elements.html. 29 * editing/execCommand/script-tests/remove-format-multiple-elements-mac.js: 30 Renamed from 31 LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements.js. 32 * editing/execCommand/script-tests/toggle-link-mac.js: Renamed 33 from LayoutTests/editing/execCommand/script-tests/toggle-link.js. 34 * editing/execCommand/toggle-link-mac-expected.txt: Renamed from 35 LayoutTests/editing/execCommand/toggle-link-expected.txt. 36 * editing/execCommand/toggle-link-mac.html: Renamed from 37 LayoutTests/editing/execCommand/toggle-link.html. 38 * editing/style/make-text-writing-direction-inline-mac-expected.txt: 39 Renamed from 40 LayoutTests/editing/style/make-text-writing-direction-inline-expected.txt. 41 * editing/style/make-text-writing-direction-inline-mac.html: 42 Renamed from 43 LayoutTests/editing/style/make-text-writing-direction-inline.html. 44 * editing/style/push-down-font-styles-mac-expected.txt: Renamed 45 from LayoutTests/editing/style/push-down-font-styles-expected.txt. 46 * editing/style/push-down-font-styles-mac.html: Renamed from 47 LayoutTests/editing/style/push-down-implicit-styles.html. 48 * editing/style/push-down-implicit-styles-around-list-mac-expected.txt: 49 Renamed from 50 LayoutTests/editing/style/push-down-implicit-styles-around-list-expected.txt. 51 * editing/style/push-down-implicit-styles-around-list-mac.html: 52 Renamed from 53 LayoutTests/editing/style/push-down-implicit-styles-around-list.html. 54 * editing/style/push-down-implicit-styles-mac-expected.txt: 55 Renamed from 56 LayoutTests/editing/style/push-down-implicit-styles-expected.txt. 57 * editing/style/push-down-implicit-styles-mac.html: Renamed from 58 LayoutTests/editing/style/push-down-font-styles.html. 59 * editing/style/script-tests/make-text-writing-direction-inline-mac.js: 60 Renamed from 61 LayoutTests/editing/style/script-tests/make-text-writing-direction-inline.js. 62 * editing/style/script-tests/push-down-font-styles-mac.js: Renamed 63 from 64 LayoutTests/editing/style/script-tests/push-down-font-styles.js. 65 * editing/style/script-tests/push-down-implicit-styles-around-list-mac.js: 66 Renamed from 67 LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list.js. 68 * editing/style/script-tests/push-down-implicit-styles-mac.js: 69 Renamed from 70 LayoutTests/editing/style/script-tests/push-down-implicit-styles.js. 71 1 72 2013-03-27 Yongjun Zhang <yongjun_zhang@apple.com> 2 73 -
trunk/LayoutTests/editing/deleting/smart-editing-disabled-mac.html
r147034 r147035 8 8 internals.settings.setSelectTrailingWhitespaceEnabled(true); 9 9 } 10 if (window.internals) 11 internals.settings.setEditingBehavior('mac'); 10 12 11 13 function editingTest() { -
trunk/LayoutTests/editing/execCommand/remove-format-multiple-elements-mac.html
r147034 r147035 7 7 <p id="description"></p> 8 8 <div id="console"></div> 9 <script src="script-tests/remove-format-multiple-elements .js"></script>9 <script src="script-tests/remove-format-multiple-elements-mac.js"></script> 10 10 <script src="../../fast/js/resources/js-test-post.js"></script> 11 11 </body> -
trunk/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-mac.js
r147034 r147035 4 4 testContainer.contentEditable = true; 5 5 document.body.appendChild(testContainer); 6 if (window.internals) 7 internals.settings.setEditingBehavior("mac"); 6 8 7 9 function testRemoveFormat(initialContents, selector, expected) -
trunk/LayoutTests/editing/execCommand/script-tests/toggle-link-mac.js
r147034 r147035 4 4 testContainer.contentEditable = true; 5 5 document.body.appendChild(testContainer); 6 if (window.internals) 7 internals.settings.setEditingBehavior('mac'); 6 8 7 9 function testSingleToggle(toggleCommand, initialContents, selector, expectedContents) -
trunk/LayoutTests/editing/execCommand/toggle-link-mac.html
r147034 r147035 7 7 <p id="description"></p> 8 8 <div id="console"></div> 9 <script src="script-tests/toggle-link .js"></script>9 <script src="script-tests/toggle-link-mac.js"></script> 10 10 <script src="../../fast/js/resources/js-test-post.js"></script> 11 11 </body> -
trunk/LayoutTests/editing/style/make-text-writing-direction-inline-mac.html
r147034 r147035 8 8 <p id="description"></p> 9 9 <div id="console"></div> 10 <script src="script-tests/make-text-writing-direction-inline .js"></script>10 <script src="script-tests/make-text-writing-direction-inline-mac.js"></script> 11 11 <script src="../../fast/js/resources/js-test-post.js"></script> 12 12 </body> -
trunk/LayoutTests/editing/style/push-down-font-styles-mac.html
r147034 r147035 7 7 <p id="description"></p> 8 8 <div id="console"></div> 9 <script src="script-tests/push-down- implicit-styles.js"></script>9 <script src="script-tests/push-down-font-styles-mac.js"></script> 10 10 <script src="../../fast/js/resources/js-test-post.js"></script> 11 11 </body> -
trunk/LayoutTests/editing/style/push-down-implicit-styles-around-list-mac.html
r147034 r147035 7 7 <p id="description"></p> 8 8 <div id="console"></div> 9 <script src="script-tests/push-down-implicit-styles-around-list .js"></script>9 <script src="script-tests/push-down-implicit-styles-around-list-mac.js"></script> 10 10 <script src="../../fast/js/resources/js-test-post.js"></script> 11 11 </body> -
trunk/LayoutTests/editing/style/push-down-implicit-styles-mac.html
r147034 r147035 7 7 <p id="description"></p> 8 8 <div id="console"></div> 9 <script src="script-tests/push-down- font-styles.js"></script>9 <script src="script-tests/push-down-implicit-styles-mac.js"></script> 10 10 <script src="../../fast/js/resources/js-test-post.js"></script> 11 11 </body> -
trunk/LayoutTests/editing/style/script-tests/make-text-writing-direction-inline-mac.js
r147034 r147035 1 1 description('Tests to ensure MakeTextWritingDirection* modifies the direction of text and embed texts properly.'); 2 2 3 if (window.internals) 4 internals.settings.setEditingBehavior('mac'); 3 5 if (!window.testRunner) 4 6 testFailed('This test requires testRunner'); -
trunk/LayoutTests/editing/style/script-tests/push-down-font-styles-mac.js
r147034 r147035 1 1 description('Test to make sure we push down inline styles properly.'); 2 2 3 if (window.internals) 4 internals.settings.setEditingBehavior('mac'); 3 5 var testContainer = document.createElement("div"); 4 6 testContainer.contentEditable = true; -
trunk/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js
r147034 r147035 1 1 description('Test to make sure we push down inline styles properly.'); 2 2 3 if (window.internals) 4 internals.settings.setEditingBehavior('mac'); 3 5 var testContainer = document.createElement("div"); 4 6 testContainer.contentEditable = true; -
trunk/LayoutTests/editing/style/script-tests/push-down-implicit-styles-mac.js
r147034 r147035 1 1 description('Test to make sure we push down inline styles properly.'); 2 2 3 if (window.internals) 4 internals.settings.setEditingBehavior('mac'); 3 5 var testContainer = document.createElement("div"); 4 6 testContainer.contentEditable = true;
Note: See TracChangeset
for help on using the changeset viewer.