Commit f3d01a86 authored by oliver's avatar oliver
Browse files

RS=Adam

        
        Moving a number of mac specific tests into LayoutTests/platform/mac so that they
        don't need to be in the windows Skiplist.
        
        This includes most of the tests that used textInputController as it is a test
        of the mac-specific NSTextInput API.

        * editing/deleting/5300379-expected.checksum: Removed.
        * editing/deleting/5300379-expected.png: Removed.
        * editing/deleting/5300379-expected.txt: Removed.
        * editing/deleting/5300379.html: Removed.
        * editing/deleting/delete-to-end-of-paragraph-expected.checksum: Removed.
        * editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
        * editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
        * editing/deleting/delete-to-end-of-paragraph.html: Removed.
        * editing/deleting/smart-delete-003-expected.checksum: Removed.
        * editing/deleting/smart-delete-003-expected.png: Removed.
        * editing/deleting/smart-delete-003-expected.txt: Removed.
        * editing/deleting/smart-delete-003.html: Removed.
        * editing/deleting/smart-delete-004-expected.checksum: Removed.
        * editing/deleting/smart-delete-004-expected.png: Removed.
        * editing/deleting/smart-delete-004-expected.txt: Removed.
        * editing/deleting/smart-delete-004.html: Removed.
        * editing/execCommand/nsresponder-indent-expected.checksum: Removed.
        * editing/execCommand/nsresponder-indent-expected.png: Removed.
        * editing/execCommand/nsresponder-indent-expected.txt: Removed.
        * editing/execCommand/nsresponder-indent.html: Removed.
        * editing/execCommand/nsresponder-outdent-expected.checksum: Removed.
        * editing/execCommand/nsresponder-outdent-expected.png: Removed.
        * editing/execCommand/nsresponder-outdent-expected.txt: Removed.
        * editing/execCommand/nsresponder-outdent.html: Removed.
        * editing/input/firstrectforcharacterrange-plain-expected.txt: Removed.
        * editing/input/firstrectforcharacterrange-plain.html: Removed.
        * editing/input/firstrectforcharacterrange-styled-expected.txt: Removed.
        * editing/input/firstrectforcharacterrange-styled.html: Removed.
        * editing/input/mac: Removed.
        * editing/input/mac/hangul-enter-confirms-and-sends-keypress-expected.txt: Removed.
        * editing/input/mac/hangul-enter-confirms-and-sends-keypress.html: Removed.
        * editing/input/mac/hangul.js: Removed.
        * editing/input/mac/kotoeri-enter-to-confirm-and-newline-expected.txt: Removed.
        * editing/input/mac/kotoeri-enter-to-confirm-and-newline.html: Removed.
        * editing/input/mac/kotoeri.js: Removed.
        * editing/input/mac/logger.js: Removed.
        * editing/input/range-for-empty-document-expected.txt: Removed.
        * editing/input/range-for-empty-document.html: Removed.
        * editing/input/replace-invalid-range-expected.txt: Removed.
        * editing/input/replace-invalid-range.html: Removed.
        * editing/input/text-input-controller-expected.txt: Removed.
        * editing/input/text-input-controller.html: Removed.
        * editing/input/wrapped-line-char-rect-expected.txt: Removed.
        * editing/input/wrapped-line-char-rect.html: Removed.
        * editing/selection/4947387-expected.checksum: Removed.
        * editing/selection/4947387-expected.png: Removed.
        * editing/selection/4947387-expected.txt: Removed.
        * editing/selection/4947387.html: Removed.
        * editing/selection/5195166-1-expected.checksum: Removed.
        * editing/selection/5195166-1-expected.png: Removed.
        * editing/selection/5195166-1-expected.txt: Removed.
        * editing/selection/5195166-1.html: Removed.
        * editing/selection/5195166-2-expected.checksum: Removed.
        * editing/selection/5195166-2-expected.png: Removed.
        * editing/selection/5195166-2-expected.txt: Removed.
        * editing/selection/5195166-2.html: Removed.
        * editing/selection/select-line-expected.txt: Removed.
        * editing/selection/select-line.html: Removed.
        * editing/selection/selection-actions-expected.checksum: Removed.
        * editing/selection/selection-actions-expected.png: Removed.
        * editing/selection/selection-actions-expected.txt: Removed.
        * editing/selection/selection-actions.html: Removed.
        * fast/AppleScript: Removed.
        * fast/AppleScript/001-expected.txt: Removed.
        * fast/AppleScript/001.html: Removed.
        * fast/AppleScript/array-expected.txt: Removed.
        * fast/AppleScript/array.html: Removed.
        * fast/AppleScript/date-expected.txt: Removed.
        * fast/AppleScript/date.html: Removed.
        * fast/dom/character-index-for-point-expected.txt: Removed.
        * fast/dom/character-index-for-point.html: Removed.
        * fast/dom/wrapper-identity-expected.txt: Removed.
        * fast/dom/wrapper-identity.html: Removed.
        * fast/dom/wrapper-round-tripping-expected.txt: Removed.
        * fast/dom/wrapper-round-tripping.html: Removed.
        * fast/encoding/char-decoding-mac-expected.txt: Removed.
        * fast/encoding/char-decoding-mac.html: Removed.
        * fast/forms/attributed-strings-expected.txt: Removed.
        * fast/forms/attributed-strings.html: Removed.
        * fast/objc: Removed.
        * fast/objc/longlongTest-expected.txt: Removed.
        * fast/objc/longlongTest.html: Removed.
        * fast/text/attributed-substring-from-range-001-expected.txt: Removed.
        * fast/text/attributed-substring-from-range-001.html: Removed.
        * fast/text/attributed-substring-from-range-expected.txt: Removed.
        * fast/text/attributed-substring-from-range-in-textfield-expected.txt: Removed.
        * fast/text/attributed-substring-from-range-in-textfield.html: Removed.
        * fast/text/attributed-substring-from-range.html: Removed.
        * fast/text/justified-text-rect-expected.checksum: Removed.
        * fast/text/justified-text-rect-expected.png: Removed.
        * fast/text/justified-text-rect-expected.txt: Removed.
        * fast/text/justified-text-rect.html: Removed.
        * platform/mac/editing/deleting/5300379-expected.checksum: Copied from editing/deleting/5300379-expected.checksum.
        * platform/mac/editing/deleting/5300379-expected.png: Copied from editing/deleting/5300379-expected.png.
        * platform/mac/editing/deleting/5300379-expected.txt: Copied from editing/deleting/5300379-expected.txt.
        * platform/mac/editing/deleting/5300379.html: Copied from editing/deleting/5300379.html.
        * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.checksum: Copied from editing/deleting/delete-to-end-of-paragraph-expected.checksum.
        * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.png: Copied from editing/deleting/delete-to-end-of-paragraph-expected.png.
        * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt: Copied from editing/deleting/delete-to-end-of-paragraph-expected.txt.
        * platform/mac/editing/deleting/delete-to-end-of-paragraph.html: Copied from editing/deleting/delete-to-end-of-paragraph.html.
        * platform/mac/editing/deleting/smart-delete-003-expected.checksum: Copied from editing/deleting/smart-delete-003-expected.checksum.
        * platform/mac/editing/deleting/smart-delete-003-expected.png: Copied from editing/deleting/smart-delete-003-expected.png.
        * platform/mac/editing/deleting/smart-delete-003-expected.txt: Copied from editing/deleting/smart-delete-003-expected.txt.
        * platform/mac/editing/deleting/smart-delete-003.html: Copied from editing/deleting/smart-delete-003.html.
        * platform/mac/editing/deleting/smart-delete-004-expected.checksum: Copied from editing/deleting/smart-delete-004-expected.checksum.
        * platform/mac/editing/deleting/smart-delete-004-expected.png: Copied from editing/deleting/smart-delete-004-expected.png.
        * platform/mac/editing/deleting/smart-delete-004-expected.txt: Copied from editing/deleting/smart-delete-004-expected.txt.
        * platform/mac/editing/deleting/smart-delete-004.html: Copied from editing/deleting/smart-delete-004.html.
        * platform/mac/editing/execCommand/nsresponder-indent-expected.checksum: Copied from editing/execCommand/nsresponder-indent-expected.checksum.
        * platform/mac/editing/execCommand/nsresponder-indent-expected.png: Copied from editing/execCommand/nsresponder-indent-expected.png.
        * platform/mac/editing/execCommand/nsresponder-indent-expected.txt: Copied from editing/execCommand/nsresponder-indent-expected.txt.
        * platform/mac/editing/execCommand/nsresponder-indent.html: Copied from editing/execCommand/nsresponder-indent.html.
        * platform/mac/editing/execCommand/nsresponder-outdent-expected.checksum: Copied from editing/execCommand/nsresponder-outdent-expected.checksum.
        * platform/mac/editing/execCommand/nsresponder-outdent-expected.png: Copied from editing/execCommand/nsresponder-outdent-expected.png.
        * platform/mac/editing/execCommand/nsresponder-outdent-expected.txt: Copied from editing/execCommand/nsresponder-outdent-expected.txt.
        * platform/mac/editing/execCommand/nsresponder-outdent.html: Copied from editing/execCommand/nsresponder-outdent.html.
        * platform/mac/editing/input: Copied from editing/input/mac.
        * platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt: Copied from editing/input/firstrectforcharacterrange-plain-expected.txt.
        * platform/mac/editing/input/firstrectforcharacterrange-plain.html: Copied from editing/input/firstrectforcharacterrange-plain.html.
        * platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt: Copied from editing/input/firstrectforcharacterrange-styled-expected.txt.
        * platform/mac/editing/input/firstrectforcharacterrange-styled.html: Copied from editing/input/firstrectforcharacterrange-styled.html.
        * platform/mac/editing/input/range-for-empty-document-expected.txt: Copied from editing/input/range-for-empty-document-expected.txt.
        * platform/mac/editing/input/range-for-empty-document.html: Copied from editing/input/range-for-empty-document.html.
        * platform/mac/editing/input/replace-invalid-range-expected.txt: Copied from editing/input/replace-invalid-range-expected.txt.
        * platform/mac/editing/input/replace-invalid-range.html: Copied from editing/input/replace-invalid-range.html.
        * platform/mac/editing/input/text-input-controller-expected.txt: Copied from editing/input/text-input-controller-expected.txt.
        * platform/mac/editing/input/text-input-controller.html: Copied from editing/input/text-input-controller.html.
        * platform/mac/editing/input/wrapped-line-char-rect-expected.txt: Copied from editing/input/wrapped-line-char-rect-expected.txt.
        * platform/mac/editing/input/wrapped-line-char-rect.html: Copied from editing/input/wrapped-line-char-rect.html.
        * platform/mac/editing/selection/4947387-expected.checksum: Copied from editing/selection/4947387-expected.checksum.
        * platform/mac/editing/selection/4947387-expected.png: Copied from editing/selection/4947387-expected.png.
        * platform/mac/editing/selection/4947387-expected.txt: Copied from editing/selection/4947387-expected.txt.
        * platform/mac/editing/selection/4947387.html: Copied from editing/selection/4947387.html.
        * platform/mac/editing/selection/5195166-1-expected.checksum: Copied from editing/selection/5195166-1-expected.checksum.
        * platform/mac/editing/selection/5195166-1-expected.png: Copied from editing/selection/5195166-1-expected.png.
        * platform/mac/editing/selection/5195166-1-expected.txt: Copied from editing/selection/5195166-1-expected.txt.
        * platform/mac/editing/selection/5195166-1.html: Copied from editing/selection/5195166-1.html.
        * platform/mac/editing/selection/5195166-2-expected.checksum: Copied from editing/selection/5195166-2-expected.checksum.
        * platform/mac/editing/selection/5195166-2-expected.png: Copied from editing/selection/5195166-2-expected.png.
        * platform/mac/editing/selection/5195166-2-expected.txt: Copied from editing/selection/5195166-2-expected.txt.
        * platform/mac/editing/selection/5195166-2.html: Copied from editing/selection/5195166-2.html.
        * platform/mac/editing/selection/select-line-expected.txt: Copied from editing/selection/select-line-expected.txt.
        * platform/mac/editing/selection/select-line.html: Copied from editing/selection/select-line.html.
        * platform/mac/editing/selection/selection-actions-expected.checksum: Copied from editing/selection/selection-actions-expected.checksum.
        * platform/mac/editing/selection/selection-actions-expected.png: Copied from editing/selection/selection-actions-expected.png.
        * platform/mac/editing/selection/selection-actions-expected.txt: Copied from editing/selection/selection-actions-expected.txt.
        * platform/mac/editing/selection/selection-actions.html: Copied from editing/selection/selection-actions.html.
        * platform/mac/fast/AppleScript: Copied from fast/AppleScript.
        * platform/mac/fast/dom: Added.
        * platform/mac/fast/dom/character-index-for-point-expected.txt: Copied from fast/dom/character-index-for-point-expected.txt.
        * platform/mac/fast/dom/character-index-for-point.html: Copied from fast/dom/character-index-for-point.html.
        * platform/mac/fast/dom/wrapper-identity-expected.txt: Copied from fast/dom/wrapper-identity-expected.txt.
        * platform/mac/fast/dom/wrapper-identity.html: Copied from fast/dom/wrapper-identity.html.
        * platform/mac/fast/dom/wrapper-round-tripping-expected.txt: Copied from fast/dom/wrapper-round-tripping-expected.txt.
        * platform/mac/fast/dom/wrapper-round-tripping.html: Copied from fast/dom/wrapper-round-tripping.html.
        * platform/mac/fast/encoding: Added.
        * platform/mac/fast/encoding/char-decoding-mac-expected.txt: Copied from fast/encoding/char-decoding-mac-expected.txt.
        * platform/mac/fast/encoding/char-decoding-mac.html: Copied from fast/encoding/char-decoding-mac.html.
        * platform/mac/fast/forms: Added.
        * platform/mac/fast/forms/attributed-strings-expected.txt: Copied from fast/forms/attributed-strings-expected.txt.
        * platform/mac/fast/forms/attributed-strings.html: Copied from fast/forms/attributed-strings.html.
        * platform/mac/fast/objc: Copied from fast/objc.
        * platform/mac/fast/text: Added.
        * platform/mac/fast/text/attributed-substring-from-range-001-expected.txt: Copied from fast/text/attributed-substring-from-range-001-expected.txt.
        * platform/mac/fast/text/attributed-substring-from-range-001.html: Copied from fast/text/attributed-substring-from-range-001.html.
        * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Copied from fast/text/attributed-substring-from-range-expected.txt.
        * platform/mac/fast/text/attributed-substring-from-range-in-textfield-expected.txt: Copied from fast/text/attributed-substring-from-range-in-textfield-expected.txt.
        * platform/mac/fast/text/attributed-substring-from-range-in-textfield.html: Copied from fast/text/attributed-substring-from-range-in-textfield.html.
        * platform/mac/fast/text/attributed-substring-from-range.html: Copied from fast/text/attributed-substring-from-range.html.
        * platform/mac/fast/text/justified-text-rect-expected.checksum: Copied from fast/text/justified-text-rect-expected.checksum.
        * platform/mac/fast/text/justified-text-rect-expected.png: Copied from fast/text/justified-text-rect-expected.png.
        * platform/mac/fast/text/justified-text-rect-expected.txt: Copied from fast/text/justified-text-rect-expected.txt.
        * platform/mac/fast/text/justified-text-rect.html: Copied from fast/text/justified-text-rect.html.
        * platform/mac/plugins: Added.
        * platform/mac/plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Copied from plugins/pluginDocumentView-deallocated-dataSource-expected.txt.
        * platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html: Copied from plugins/pluginDocumentView-deallocated-dataSource.html.
        * platform/win/Skipped:
        * plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Removed.
        * plugins/pluginDocumentView-deallocated-dataSource.html: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f4018951
2007-09-04 Oliver Hunt <oliver@apple.com>
RS=Adam
Moving a number of mac specific tests into LayoutTests/platform/mac so that they
don't need to be in the windows Skiplist.
This includes most of the tests that used textInputController as it is a test
of the mac-specific NSTextInput API.
* editing/deleting/5300379-expected.checksum: Removed.
* editing/deleting/5300379-expected.png: Removed.
* editing/deleting/5300379-expected.txt: Removed.
* editing/deleting/5300379.html: Removed.
* editing/deleting/delete-to-end-of-paragraph-expected.checksum: Removed.
* editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
* editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
* editing/deleting/delete-to-end-of-paragraph.html: Removed.
* editing/deleting/smart-delete-003-expected.checksum: Removed.
* editing/deleting/smart-delete-003-expected.png: Removed.
* editing/deleting/smart-delete-003-expected.txt: Removed.
* editing/deleting/smart-delete-003.html: Removed.
* editing/deleting/smart-delete-004-expected.checksum: Removed.
* editing/deleting/smart-delete-004-expected.png: Removed.
* editing/deleting/smart-delete-004-expected.txt: Removed.
* editing/deleting/smart-delete-004.html: Removed.
* editing/execCommand/nsresponder-indent-expected.checksum: Removed.
* editing/execCommand/nsresponder-indent-expected.png: Removed.
* editing/execCommand/nsresponder-indent-expected.txt: Removed.
* editing/execCommand/nsresponder-indent.html: Removed.
* editing/execCommand/nsresponder-outdent-expected.checksum: Removed.
* editing/execCommand/nsresponder-outdent-expected.png: Removed.
* editing/execCommand/nsresponder-outdent-expected.txt: Removed.
* editing/execCommand/nsresponder-outdent.html: Removed.
* editing/input/firstrectforcharacterrange-plain-expected.txt: Removed.
* editing/input/firstrectforcharacterrange-plain.html: Removed.
* editing/input/firstrectforcharacterrange-styled-expected.txt: Removed.
* editing/input/firstrectforcharacterrange-styled.html: Removed.
* editing/input/mac: Removed.
* editing/input/mac/hangul-enter-confirms-and-sends-keypress-expected.txt: Removed.
* editing/input/mac/hangul-enter-confirms-and-sends-keypress.html: Removed.
* editing/input/mac/hangul.js: Removed.
* editing/input/mac/kotoeri-enter-to-confirm-and-newline-expected.txt: Removed.
* editing/input/mac/kotoeri-enter-to-confirm-and-newline.html: Removed.
* editing/input/mac/kotoeri.js: Removed.
* editing/input/mac/logger.js: Removed.
* editing/input/range-for-empty-document-expected.txt: Removed.
* editing/input/range-for-empty-document.html: Removed.
* editing/input/replace-invalid-range-expected.txt: Removed.
* editing/input/replace-invalid-range.html: Removed.
* editing/input/text-input-controller-expected.txt: Removed.
* editing/input/text-input-controller.html: Removed.
* editing/input/wrapped-line-char-rect-expected.txt: Removed.
* editing/input/wrapped-line-char-rect.html: Removed.
* editing/selection/4947387-expected.checksum: Removed.
* editing/selection/4947387-expected.png: Removed.
* editing/selection/4947387-expected.txt: Removed.
* editing/selection/4947387.html: Removed.
* editing/selection/5195166-1-expected.checksum: Removed.
* editing/selection/5195166-1-expected.png: Removed.
* editing/selection/5195166-1-expected.txt: Removed.
* editing/selection/5195166-1.html: Removed.
* editing/selection/5195166-2-expected.checksum: Removed.
* editing/selection/5195166-2-expected.png: Removed.
* editing/selection/5195166-2-expected.txt: Removed.
* editing/selection/5195166-2.html: Removed.
* editing/selection/select-line-expected.txt: Removed.
* editing/selection/select-line.html: Removed.
* editing/selection/selection-actions-expected.checksum: Removed.
* editing/selection/selection-actions-expected.png: Removed.
* editing/selection/selection-actions-expected.txt: Removed.
* editing/selection/selection-actions.html: Removed.
* fast/AppleScript: Removed.
* fast/AppleScript/001-expected.txt: Removed.
* fast/AppleScript/001.html: Removed.
* fast/AppleScript/array-expected.txt: Removed.
* fast/AppleScript/array.html: Removed.
* fast/AppleScript/date-expected.txt: Removed.
* fast/AppleScript/date.html: Removed.
* fast/dom/character-index-for-point-expected.txt: Removed.
* fast/dom/character-index-for-point.html: Removed.
* fast/dom/wrapper-identity-expected.txt: Removed.
* fast/dom/wrapper-identity.html: Removed.
* fast/dom/wrapper-round-tripping-expected.txt: Removed.
* fast/dom/wrapper-round-tripping.html: Removed.
* fast/encoding/char-decoding-mac-expected.txt: Removed.
* fast/encoding/char-decoding-mac.html: Removed.
* fast/forms/attributed-strings-expected.txt: Removed.
* fast/forms/attributed-strings.html: Removed.
* fast/objc: Removed.
* fast/objc/longlongTest-expected.txt: Removed.
* fast/objc/longlongTest.html: Removed.
* fast/text/attributed-substring-from-range-001-expected.txt: Removed.
* fast/text/attributed-substring-from-range-001.html: Removed.
* fast/text/attributed-substring-from-range-expected.txt: Removed.
* fast/text/attributed-substring-from-range-in-textfield-expected.txt: Removed.
* fast/text/attributed-substring-from-range-in-textfield.html: Removed.
* fast/text/attributed-substring-from-range.html: Removed.
* fast/text/justified-text-rect-expected.checksum: Removed.
* fast/text/justified-text-rect-expected.png: Removed.
* fast/text/justified-text-rect-expected.txt: Removed.
* fast/text/justified-text-rect.html: Removed.
* platform/mac/editing/deleting/5300379-expected.checksum: Copied from editing/deleting/5300379-expected.checksum.
* platform/mac/editing/deleting/5300379-expected.png: Copied from editing/deleting/5300379-expected.png.
* platform/mac/editing/deleting/5300379-expected.txt: Copied from editing/deleting/5300379-expected.txt.
* platform/mac/editing/deleting/5300379.html: Copied from editing/deleting/5300379.html.
* platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.checksum: Copied from editing/deleting/delete-to-end-of-paragraph-expected.checksum.
* platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.png: Copied from editing/deleting/delete-to-end-of-paragraph-expected.png.
* platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt: Copied from editing/deleting/delete-to-end-of-paragraph-expected.txt.
* platform/mac/editing/deleting/delete-to-end-of-paragraph.html: Copied from editing/deleting/delete-to-end-of-paragraph.html.
* platform/mac/editing/deleting/smart-delete-003-expected.checksum: Copied from editing/deleting/smart-delete-003-expected.checksum.
* platform/mac/editing/deleting/smart-delete-003-expected.png: Copied from editing/deleting/smart-delete-003-expected.png.
* platform/mac/editing/deleting/smart-delete-003-expected.txt: Copied from editing/deleting/smart-delete-003-expected.txt.
* platform/mac/editing/deleting/smart-delete-003.html: Copied from editing/deleting/smart-delete-003.html.
* platform/mac/editing/deleting/smart-delete-004-expected.checksum: Copied from editing/deleting/smart-delete-004-expected.checksum.
* platform/mac/editing/deleting/smart-delete-004-expected.png: Copied from editing/deleting/smart-delete-004-expected.png.
* platform/mac/editing/deleting/smart-delete-004-expected.txt: Copied from editing/deleting/smart-delete-004-expected.txt.
* platform/mac/editing/deleting/smart-delete-004.html: Copied from editing/deleting/smart-delete-004.html.
* platform/mac/editing/execCommand/nsresponder-indent-expected.checksum: Copied from editing/execCommand/nsresponder-indent-expected.checksum.
* platform/mac/editing/execCommand/nsresponder-indent-expected.png: Copied from editing/execCommand/nsresponder-indent-expected.png.
* platform/mac/editing/execCommand/nsresponder-indent-expected.txt: Copied from editing/execCommand/nsresponder-indent-expected.txt.
* platform/mac/editing/execCommand/nsresponder-indent.html: Copied from editing/execCommand/nsresponder-indent.html.
* platform/mac/editing/execCommand/nsresponder-outdent-expected.checksum: Copied from editing/execCommand/nsresponder-outdent-expected.checksum.
* platform/mac/editing/execCommand/nsresponder-outdent-expected.png: Copied from editing/execCommand/nsresponder-outdent-expected.png.
* platform/mac/editing/execCommand/nsresponder-outdent-expected.txt: Copied from editing/execCommand/nsresponder-outdent-expected.txt.
* platform/mac/editing/execCommand/nsresponder-outdent.html: Copied from editing/execCommand/nsresponder-outdent.html.
* platform/mac/editing/input: Copied from editing/input/mac.
* platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt: Copied from editing/input/firstrectforcharacterrange-plain-expected.txt.
* platform/mac/editing/input/firstrectforcharacterrange-plain.html: Copied from editing/input/firstrectforcharacterrange-plain.html.
* platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt: Copied from editing/input/firstrectforcharacterrange-styled-expected.txt.
* platform/mac/editing/input/firstrectforcharacterrange-styled.html: Copied from editing/input/firstrectforcharacterrange-styled.html.
* platform/mac/editing/input/range-for-empty-document-expected.txt: Copied from editing/input/range-for-empty-document-expected.txt.
* platform/mac/editing/input/range-for-empty-document.html: Copied from editing/input/range-for-empty-document.html.
* platform/mac/editing/input/replace-invalid-range-expected.txt: Copied from editing/input/replace-invalid-range-expected.txt.
* platform/mac/editing/input/replace-invalid-range.html: Copied from editing/input/replace-invalid-range.html.
* platform/mac/editing/input/text-input-controller-expected.txt: Copied from editing/input/text-input-controller-expected.txt.
* platform/mac/editing/input/text-input-controller.html: Copied from editing/input/text-input-controller.html.
* platform/mac/editing/input/wrapped-line-char-rect-expected.txt: Copied from editing/input/wrapped-line-char-rect-expected.txt.
* platform/mac/editing/input/wrapped-line-char-rect.html: Copied from editing/input/wrapped-line-char-rect.html.
* platform/mac/editing/selection/4947387-expected.checksum: Copied from editing/selection/4947387-expected.checksum.
* platform/mac/editing/selection/4947387-expected.png: Copied from editing/selection/4947387-expected.png.
* platform/mac/editing/selection/4947387-expected.txt: Copied from editing/selection/4947387-expected.txt.
* platform/mac/editing/selection/4947387.html: Copied from editing/selection/4947387.html.
* platform/mac/editing/selection/5195166-1-expected.checksum: Copied from editing/selection/5195166-1-expected.checksum.
* platform/mac/editing/selection/5195166-1-expected.png: Copied from editing/selection/5195166-1-expected.png.
* platform/mac/editing/selection/5195166-1-expected.txt: Copied from editing/selection/5195166-1-expected.txt.
* platform/mac/editing/selection/5195166-1.html: Copied from editing/selection/5195166-1.html.
* platform/mac/editing/selection/5195166-2-expected.checksum: Copied from editing/selection/5195166-2-expected.checksum.
* platform/mac/editing/selection/5195166-2-expected.png: Copied from editing/selection/5195166-2-expected.png.
* platform/mac/editing/selection/5195166-2-expected.txt: Copied from editing/selection/5195166-2-expected.txt.
* platform/mac/editing/selection/5195166-2.html: Copied from editing/selection/5195166-2.html.
* platform/mac/editing/selection/select-line-expected.txt: Copied from editing/selection/select-line-expected.txt.
* platform/mac/editing/selection/select-line.html: Copied from editing/selection/select-line.html.
* platform/mac/editing/selection/selection-actions-expected.checksum: Copied from editing/selection/selection-actions-expected.checksum.
* platform/mac/editing/selection/selection-actions-expected.png: Copied from editing/selection/selection-actions-expected.png.
* platform/mac/editing/selection/selection-actions-expected.txt: Copied from editing/selection/selection-actions-expected.txt.
* platform/mac/editing/selection/selection-actions.html: Copied from editing/selection/selection-actions.html.
* platform/mac/fast/AppleScript: Copied from fast/AppleScript.
* platform/mac/fast/dom: Added.
* platform/mac/fast/dom/character-index-for-point-expected.txt: Copied from fast/dom/character-index-for-point-expected.txt.
* platform/mac/fast/dom/character-index-for-point.html: Copied from fast/dom/character-index-for-point.html.
* platform/mac/fast/dom/wrapper-identity-expected.txt: Copied from fast/dom/wrapper-identity-expected.txt.
* platform/mac/fast/dom/wrapper-identity.html: Copied from fast/dom/wrapper-identity.html.
* platform/mac/fast/dom/wrapper-round-tripping-expected.txt: Copied from fast/dom/wrapper-round-tripping-expected.txt.
* platform/mac/fast/dom/wrapper-round-tripping.html: Copied from fast/dom/wrapper-round-tripping.html.
* platform/mac/fast/encoding: Added.
* platform/mac/fast/encoding/char-decoding-mac-expected.txt: Copied from fast/encoding/char-decoding-mac-expected.txt.
* platform/mac/fast/encoding/char-decoding-mac.html: Copied from fast/encoding/char-decoding-mac.html.
* platform/mac/fast/forms: Added.
* platform/mac/fast/forms/attributed-strings-expected.txt: Copied from fast/forms/attributed-strings-expected.txt.
* platform/mac/fast/forms/attributed-strings.html: Copied from fast/forms/attributed-strings.html.
* platform/mac/fast/objc: Copied from fast/objc.
* platform/mac/fast/text: Added.
* platform/mac/fast/text/attributed-substring-from-range-001-expected.txt: Copied from fast/text/attributed-substring-from-range-001-expected.txt.
* platform/mac/fast/text/attributed-substring-from-range-001.html: Copied from fast/text/attributed-substring-from-range-001.html.
* platform/mac/fast/text/attributed-substring-from-range-expected.txt: Copied from fast/text/attributed-substring-from-range-expected.txt.
* platform/mac/fast/text/attributed-substring-from-range-in-textfield-expected.txt: Copied from fast/text/attributed-substring-from-range-in-textfield-expected.txt.
* platform/mac/fast/text/attributed-substring-from-range-in-textfield.html: Copied from fast/text/attributed-substring-from-range-in-textfield.html.
* platform/mac/fast/text/attributed-substring-from-range.html: Copied from fast/text/attributed-substring-from-range.html.
* platform/mac/fast/text/justified-text-rect-expected.checksum: Copied from fast/text/justified-text-rect-expected.checksum.
* platform/mac/fast/text/justified-text-rect-expected.png: Copied from fast/text/justified-text-rect-expected.png.
* platform/mac/fast/text/justified-text-rect-expected.txt: Copied from fast/text/justified-text-rect-expected.txt.
* platform/mac/fast/text/justified-text-rect.html: Copied from fast/text/justified-text-rect.html.
* platform/mac/plugins: Added.
* platform/mac/plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Copied from plugins/pluginDocumentView-deallocated-dataSource-expected.txt.
* platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html: Copied from plugins/pluginDocumentView-deallocated-dataSource.html.
* platform/win/Skipped:
* plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Removed.
* plugins/pluginDocumentView-deallocated-dataSource.html: Removed.
2007-09-04 Sam Weinig <sam@webkit.org>
 
Reviewed by Adam.
This tests that the hangul IM behaviour in which enter both confirms a composition but still sends a keypress for the <enter>.
To test manually, switch to the 2-Set Korean IM and type at least two characters and press <enter>, if the behaviour is correct a single keypress event should be fired as the last event.
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keypress event
<div>
This tests that the hangul IM behaviour in which enter both confirms a composition but still sends a keypress for the &lt;enter&gt;.<br />
To test manually, switch to the 2-Set Korean IM and type at least two characters and press &lt;enter&gt;, if the behaviour is correct a single keypress event should be fired as the last event.
</div>
<input id="targetInput" onkeydown="keyDown()" onkeypress="keyPress()"></input>
<ul id="console"></console>
<script src="logger.js"></script>
<script src="hangul.js"></script>
<script>
var shouldBeCompositionEvent = false;
function keyDown() {
if (!window.layoutTestController) {
log("keydown : keyCode == " + event.keyCode);
return;
}
if (shouldBeCompositionEvent && event.keyCode != 229)
log("FAILURE: received keyCode " + event.keyCode + " in a keydown when VK_PROCESSKEY is expected");
else if (!shouldBeCompositionEvent && event.keyCode == 229)
log("FAILURE: received a keyDown with VK_PROCESSKEY as the keyCode, when an actual key code was expected.");
else
log("Received valid keydown event");
}
function keyPress() {
if (!window.layoutTestController) {
log("keypress : keyCode == " + event.keyCode);
return;
}
if (shouldBeCompositionEvent)
log("FAILURE: received keypress event during composition");
else
log("Received valid keypress event");
}
var targetInput = document.getElementById('targetInput');
targetInput.focus();
if (window.layoutTestController) {
layoutTestController.dumpAsText();
textInputController.setInputMethodHandler(hangul);
shouldBeCompositionEvent = true;
eventSender.keyDown('t');
eventSender.keyDown('o');
shouldBeCompositionEvent = false;
eventSender.keyDown('\n');
}
</script>
/*
* Pseudo hangul-IM, only one character is marked at a time,
* enter confirms the composition, but is passed on to the app to handle as a keypress
*/
var hangulState = { "compositionString": null };
function hangul(event){
if (event.characters[0] == '\n') {
if (hangulState.compositionString != null)
textInputController.insertText(hangulState.compositionString);
hangulState.compositionString = null;
textInputController.doCommand("insertNewline:");
return true;
}
if (hangulState.compositionString != null)
textInputController.insertText(hangulState.compositionString);
hangulState.compositionString = event.characters;
var markedText = textInputController.makeAttributedString(hangulState.compositionString);
markedText.addAttribute("NSUnderline", 1);
textInputController.setMarkedText(markedText, markedText.length, 0);
return true;
}
This tests a subset of pseudo-kotoeri behaviour:
All keydown events never result in keypress during composition
During composition all keydown events should have keyCode 229, this is necessary to match the behaviour of windows browsers, including WebKit/Win
To test this manually switch to the Kotoeri/Hiragana input method, and type 'toukyou'<enter><enter>.
You should see only a single keypress event, as the very last reported event.
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keydown event
Received valid keypress event
PASSED: Successfully typed 'toukyou'
<div>
This tests a subset of pseudo-kotoeri behaviour:
<ul>
<li>All keydown events never result in keypress during composition</li>
<li>During composition all keydown events should have keyCode 229, this is necessary to match the behaviour of windows browsers, including WebKit/Win</li>
</ul>
To test this manually switch to the Kotoeri/Hiragana input method, and type 'toukyou'&lt;enter&gt;&lt;enter&gt;.<br />
You should see only a single keypress event, as the very last reported event.
</div>
<input id="targetInput" onkeydown="keyDown()" onkeypress="keyPress()">
<ul id="console"></console>
<script src="logger.js"></script>
<script src="kotoeri.js"></script>
<script>
var shouldBeCompositionEvent = false;
function keyDown() {
if (!window.layoutTestController) {
log("keydown : keyCode == " + event.keyCode);
return;
}
if (shouldBeCompositionEvent && event.keyCode != 229)
log("FAILURE: received keyCode " + event.keyCode + " in a keydown when VK_PROCESSKEY is expected");
else if (!shouldBeCompositionEvent && event.keyCode == 229)
log("FAILURE: received a keyDown with VK_PROCESSKEY as the keyCode, when an actual key code was expected.");
else
log("Received valid keydown event");
}
function keyPress() {
if (!window.layoutTestController) {
log("keypress : keyCode == " + event.keyCode);
return;
}
if (shouldBeCompositionEvent)
log("FAILURE: received keypress event during composition");
else
log("Received valid keypress event");
}
var targetInput = document.getElementById('targetInput');
targetInput.focus();
if (window.layoutTestController) {
layoutTestController.dumpAsText();
textInputController.setInputMethodHandler(kotoeri);
shouldBeCompositionEvent = true;
eventSender.keyDown('t');
eventSender.keyDown('o');
eventSender.keyDown('u');
eventSender.keyDown('k');
eventSender.keyDown('y');
eventSender.keyDown('o');
eventSender.keyDown('u');
eventSender.keyDown('\n');
shouldBeCompositionEvent = false;
eventSender.keyDown('\n');
if (targetInput.value != "toukyou")
log("FAILED: Input field should countain the text 'toukyou'");
else
log("PASSED: Successfully typed 'toukyou'");
}
</script>
var kotoeriState = { "compositionString": null };
function kotoeri(event){
if (event.characters[0] == '\n') {
if (kotoeriState.compositionString == null) {
textInputController.doCommand("insertNewline:");
return true;
}
textInputController.insertText(kotoeriState.compositionString);
kotoeriState.compositionString = null;
return true;
}
if (kotoeriState.compositionString == null)
kotoeriState.compositionString = "";
kotoeriState.compositionString += event.characters;
var markedText = textInputController.makeAttributedString(kotoeriState.compositionString);
markedText.addAttribute("NSUnderline", 2);
textInputController.setMarkedText(markedText, markedText.length, 0);
return true;
}
function log(msg) {
var console = document.getElementById("console");
var li = document.createElement("li");
li.appendChild(document.createTextNode(msg));
console.appendChild(li);
}
CONSOLE MESSAGE: line 1: TypeError: Value undefined (result of expression document.lalala) is not object.
An automated test for basic AppleScript "do JavaScript" support.
4 ('long')
4 ('long')
0.6666666666666666 ('doub')
0.6666666666666666 ('doub')
INF ('doub')
-INF ('doub')
false ('bool')
false ('bool')
"a string" ('utxt')
"a string" ('utxt')
"An automated test for basic AppleScript "do JavaScript" support." ('utxt')
"An automated test for basic AppleScript "do JavaScript" support." ('utxt')
"[object HTMLDocument]" ('utxt')
"do JavaScript - converting to AppleScript types" ('utxt')
'msng' ('type')
(null)
"[object Object]" ('utxt')
<html>
<head>
<title>do JavaScript - converting to AppleScript types</title>
</head>
<body>
An automated test for basic AppleScript "do JavaScript" support.
<script type="text/javascript">
var console_messages = document.createElement("ol");
function log(message)
{
var item = document.createElement("li");
item.appendChild(document.createTextNode(message));
console_messages.appendChild(item);
}
if (window.layoutTestController) {
try {
layoutTestController.dumpAsText();
document.execCommand("SelectAll");
log(appleScriptController.doJavaScript("2*2;"));
log(appleScriptController.doJavaScript("new Number(2*2);"));
log(appleScriptController.doJavaScript("2/3;"));
log(appleScriptController.doJavaScript("new Number(2/3);"));
log(appleScriptController.doJavaScript("2/0;"));
log(appleScriptController.doJavaScript("new Number(-2/0);"));
log(appleScriptController.doJavaScript("1!=1"));
log(appleScriptController.doJavaScript("new Boolean"));
log(appleScriptController.doJavaScript("'a string'"));
log(appleScriptController.doJavaScript("new String('a string')"));
log(appleScriptController.doJavaScript("window.getSelection()"));
log(appleScriptController.doJavaScript("window.getSelection() + \"\""));
log(appleScriptController.doJavaScript("document"));
log(appleScriptController.doJavaScript("document.title"));
log(appleScriptController.doJavaScript("document.lalala"));
log(appleScriptController.doJavaScript("document.lalala()")); // ideally, should pass the error to AppleScript
log(appleScriptController.doJavaScript("function Polygon() {this.edges = 8;} new Polygon;"));
} catch (ex) {
log("Exception: " + ex.description);
}
var console = document.createElement("p");
console.appendChild(console_messages);
document.body.appendChild(console);
} else {
document.write("(cannot run interactively)");
}
</script>
</body>
</html>
(1, 2, "three") ('list')
('msng', 'msng', 2) ('list')
(0, "0,") ('list')
<html>
<head>
<title>do JavaScript - converting JavaScript arrays to AppleScript</title>
</head>
<body>
<script type="text/javascript">
var console_messages = document.createElement("ol");
function log(message)
{
var item = document.createElement("li");
item.appendChild(document.createTextNode(message));
console_messages.appendChild(item);
}
if (window.layoutTestController) {
try {
layoutTestController.dumpAsText();
log(appleScriptController.doJavaScript("new Array(1, 2, 'three');"));
log(appleScriptController.doJavaScript("arr = new Array; arr['a'] = 'a'; arr[2] = 2; arr;"));
log(appleScriptController.doJavaScript("arr = new Array; arr[0] = 0; arr[1] = arr; arr;"));
// This takes ~10 seconds on my G4/1.25
// log(appleScriptController.doJavaScript("arr = new Array; arr[1] = 1; arr[10001] = 10001; arr;"));
} catch (ex) {
log("Exception: " + ex.description);
}
var console = document.createElement("p");
console.appendChild(console_messages);
document.body.appendChild(console);
} else {
document.write("(cannot run interactively)");
}
</script>
</body>
</html>
00000000C00D6BE5 ('ldt ')
000000007C4E8F00 ('ldt ')
000000007C25DAB0 ('ldt ')
00000001383EC400 ('ldt ')
0000000056871300 ('ldt ')
0000000000000000 ('ldt ')
FFFFFFFF3C637000 ('ldt ')
"Invalid Date" ('utxt')
<html>
<head>
<title>do JavaScript - converting to AppleScript date type</title>
</head>
<body>
<script type="text/javascript">
var console_messages = document.createElement("ol");
function log(message)
{
var item = document.createElement("li");
item.appendChild(document.createTextNode(message));
console_messages.appendChild(item);
}
if (window.layoutTestController) {
try {
layoutTestController.dumpAsText();
// 0xc00d6be5 == Mon Feb 06 2006 21:11:01
log(appleScriptController.doJavaScript("new Date(2006,1,6,21,11,1)"));
// 0x7c4e8f00 == Sun Feb 01 1970 00:00:00
log(appleScriptController.doJavaScript("new Date(1970,1,1)"));
// 0x7c25dab0 == Thu Jan 01 1970 03:00:00
log(appleScriptController.doJavaScript("new Date(1970,0,1,3)"));
// 0x1383ec400 == Wed Jan 01 2070 00:00:00
log(appleScriptController.doJavaScript("new Date(2070,0,1)"));
// 0x56871300 == Sun Jan 01 1950 00:00:00
log(appleScriptController.doJavaScript("new Date(1950,0,1)"));
// 0x00000000 == Fri Jan 01 1904 00:00:00
log(appleScriptController.doJavaScript("new Date(1904,0,1)"));
// 0xffffffff3c637000 == Wed Jan 01 1800 00:00:00
log(appleScriptController.doJavaScript("new Date(1800,0,1)"));
// invalid date
log(appleScriptController.doJavaScript("new Date(1e40)"));
} catch (ex) {
log("Exception: " + ex.description);
}
var console = document.createElement("p");
console.appendChild(console_messages);
document.body.appendChild(console);
} else {
document.write("(cannot run interactively)");
}
</script>
</body>
</html>
<html>
<head>
<style>
body { margin: 10; padding: 0 }
</style>
</head>