1. 14 Jul, 2010 8 commits
    • eric@webkit.org's avatar
      2010-07-14 Eric Seidel <eric@webkit.org> · 920974b9
      eric@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              Selection dumping code should not dump body's offset in the document
              https://bugs.webkit.org/show_bug.cgi?id=42238
      
              Update results now that we're no longer dumping
              body's offset within HTML as part of selection dumps.
              I used a little python script to do all these updates.
              Basically it was just:
              s/child \d {BODY} .* of document/body/i
      
              LayoutTests will be updated across several commits to keep the SVN server happy.
      
              This first commit is only the mac and mac-leopard results.
      
              * platform/mac/editing/deleting/4845371-expected.txt:
              * platform/mac/editing/deleting/4922367-expected.txt:
              * platform/mac/editing/deleting/5026848-1-expected.txt:
              * platform/mac/editing/deleting/5026848-2-expected.txt:
              * platform/mac/editing/deleting/5026848-3-expected.txt:
              * platform/mac/editing/deleting/5032066-expected.txt:
              * platform/mac/editing/deleting/5091898-expected.txt:
              * platform/mac/editing/deleting/5099303-expected.txt:
              * platform/mac/editing/deleting/5115601-expected.txt:
              * platform/mac/editing/deleting/5126166-expected.txt:
              * platform/mac/editing/deleting/5144139-2-expected.txt:
              * platform/mac/editing/deleting/5156801-2-expected.txt:
              * platform/mac/editing/deleting/5168598-expected.txt:
              * platform/mac/editing/deleting/5206311-1-expected.txt:
              * platform/mac/editing/deleting/5206311-2-expected.txt:
              * platform/mac/editing/deleting/5272440-expected.txt:
              * platform/mac/editing/deleting/5300379-expected.txt:
              * platform/mac/editing/deleting/5369009-expected.txt:
              * platform/mac/editing/deleting/5390681-2-expected.txt:
              * platform/mac/editing/deleting/5390681-expected.txt:
              * platform/mac/editing/deleting/5408255-expected.txt:
              * platform/mac/editing/deleting/5433862-2-expected.txt:
              * platform/mac/editing/deleting/5483370-expected.txt:
              * platform/mac/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3608430-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3608445-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3608462-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3775172-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3800834-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3857753-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3865854-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3928305-fix-expected.txt:
              * platform/mac/editing/deleting/delete-3959464-fix-expected.txt:
              * platform/mac/editing/deleting/delete-4038408-fix-expected.txt:
              * platform/mac/editing/deleting/delete-4083333-fix-expected.txt:
              * platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt:
              * platform/mac/editing/deleting/delete-after-span-ws-002-expected.txt:
              * platform/mac/editing/deleting/delete-after-span-ws-003-expected.txt:
              * platform/mac/editing/deleting/delete-and-undo-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-001-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
              * platform/mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
              * platform/mac/editing/deleting/delete-at-start-or-end-expected.txt:
              * platform/mac/editing/deleting/delete-block-contents-001-expected.txt:
              * platform/mac/editing/deleting/delete-block-contents-002-expected.txt:
              * platform/mac/editing/deleting/delete-block-contents-003-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-001-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-002-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-003-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-004-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-009-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-010-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-011-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-012-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-013-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-014-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-015-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-016-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-017-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-018-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-019-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-020-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-021-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-022-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-023-expected.txt:
              * platform/mac/editing/deleting/delete-block-merge-contents-024-expected.txt:
              * platform/mac/editing/deleting/delete-block-table-expected.txt:
              * platform/mac/editing/deleting/delete-br-001-expected.txt:
              * platform/mac/editing/deleting/delete-br-002-expected.txt:
              * platform/mac/editing/deleting/delete-br-003-expected.txt:
              * platform/mac/editing/deleting/delete-br-004-expected.txt:
              * platform/mac/editing/deleting/delete-br-005-expected.txt:
              * platform/mac/editing/deleting/delete-br-006-expected.txt:
              * platform/mac/editing/deleting/delete-br-007-expected.txt:
              * platform/mac/editing/deleting/delete-br-008-expected.txt:
              * platform/mac/editing/deleting/delete-br-009-expected.txt:
              * platform/mac/editing/deleting/delete-br-010-expected.txt:
              * platform/mac/editing/deleting/delete-br-011-expected.txt:
              * platform/mac/editing/deleting/delete-br-012-expected.txt:
              * platform/mac/editing/deleting/delete-br-013-expected.txt:
              * platform/mac/editing/deleting/delete-by-word-001-expected.txt:
              * platform/mac/editing/deleting/delete-by-word-002-expected.txt:
              * platform/mac/editing/deleting/delete-character-001-expected.txt:
              * platform/mac/editing/deleting/delete-contiguous-ws-001-expected.txt:
              * platform/mac/editing/deleting/delete-first-list-item-expected.txt:
              * platform/mac/editing/deleting/delete-hr-expected.txt:
              * platform/mac/editing/deleting/delete-image-001-expected.txt:
              * platform/mac/editing/deleting/delete-image-002-expected.txt:
              * platform/mac/editing/deleting/delete-image-003-expected.txt:
              * platform/mac/editing/deleting/delete-image-004-expected.txt:
              * platform/mac/editing/deleting/delete-leading-ws-001-expected.txt:
              * platform/mac/editing/deleting/delete-line-001-expected.txt:
              * platform/mac/editing/deleting/delete-line-002-expected.txt:
              * platform/mac/editing/deleting/delete-line-003-expected.txt:
              * platform/mac/editing/deleting/delete-line-004-expected.txt:
              * platform/mac/editing/deleting/delete-line-005-expected.txt:
              * platform/mac/editing/deleting/delete-line-006-expected.txt:
              * platform/mac/editing/deleting/delete-line-007-expected.txt:
              * platform/mac/editing/deleting/delete-line-008-expected.txt:
              * platform/mac/editing/deleting/delete-line-009-expected.txt:
              * platform/mac/editing/deleting/delete-line-010-expected.txt:
              * platform/mac/editing/deleting/delete-line-011-expected.txt:
              * platform/mac/editing/deleting/delete-line-012-expected.txt:
              * platform/mac/editing/deleting/delete-line-013-expected.txt:
              * platform/mac/editing/deleting/delete-line-014-expected.txt:
              * platform/mac/editing/deleting/delete-line-015-expected.txt:
              * platform/mac/editing/deleting/delete-line-016-expected.txt:
              * platform/mac/editing/deleting/delete-line-017-expected.txt:
              * platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt:
              * platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt:
              * platform/mac/editing/deleting/delete-listitem-001-expected.txt:
              * platform/mac/editing/deleting/delete-listitem-002-expected.txt:
              * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt:
              * platform/mac/editing/deleting/delete-select-all-001-expected.txt:
              * platform/mac/editing/deleting/delete-select-all-002-expected.txt:
              * platform/mac/editing/deleting/delete-select-all-003-expected.txt:
              * platform/mac/editing/deleting/delete-selection-001-expected.txt:
              * platform/mac/editing/deleting/delete-tab-001-expected.txt:
              * platform/mac/editing/deleting/delete-tab-002-expected.txt:
              * platform/mac/editing/deleting/delete-tab-003-expected.txt:
              * platform/mac/editing/deleting/delete-tab-004-expected.txt:
              * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt:
              * platform/mac/editing/deleting/delete-to-select-table-expected.txt:
              * platform/mac/editing/deleting/delete-trailing-ws-001-expected.txt:
              * platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt:
              * platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt:
              * platform/mac/editing/deleting/delete-ws-fixup-002-expected.txt:
              * platform/mac/editing/deleting/delete-ws-fixup-003-expected.txt:
              * platform/mac/editing/deleting/delete-ws-fixup-004-expected.txt:
              * platform/mac/editing/deleting/deletionUI-single-instance-expected.txt:
              * platform/mac/editing/deleting/forward-delete-expected.txt:
              * platform/mac/editing/deleting/list-item-1-expected.txt:
              * platform/mac/editing/deleting/merge-different-styles-expected.txt:
              * platform/mac/editing/deleting/merge-endOfParagraph-expected.txt:
              * platform/mac/editing/deleting/merge-into-empty-block-1-expected.txt:
              * platform/mac/editing/deleting/merge-into-empty-block-2-expected.txt:
              * platform/mac/editing/deleting/merge-no-br-expected.txt:
              * platform/mac/editing/deleting/merge-unrendered-space-expected.txt:
              * platform/mac/editing/deleting/merge-whitespace-pre-expected.txt:
              * platform/mac/editing/deleting/non-smart-delete-expected.txt:
              * platform/mac/editing/deleting/paragraph-in-preserveNewline-expected.txt:
              * platform/mac/editing/deleting/pruning-after-merge-2-expected.txt:
              * platform/mac/editing/deleting/smart-delete-001-expected.txt:
              * platform/mac/editing/deleting/smart-delete-002-expected.txt:
              * platform/mac/editing/deleting/smart-delete-003-expected.txt:
              * platform/mac/editing/deleting/smart-delete-004-expected.txt:
              * platform/mac/editing/deleting/table-cells-expected.txt:
              * platform/mac/editing/deleting/transpose-empty-expected.txt:
              * platform/mac/editing/deleting/type-delete-after-quote-expected.txt:
              * platform/mac/editing/deleting/whitespace-pre-1-expected.txt:
              * platform/mac/editing/execCommand/4580583-1-expected.txt:
              * platform/mac/editing/execCommand/4580583-2-expected.txt:
              * platform/mac/editing/execCommand/4641880-1-expected.txt:
              * platform/mac/editing/execCommand/4641880-2-expected.txt:
              * platform/mac/editing/execCommand/4747450-expected.txt:
              * platform/mac/editing/execCommand/4786404-1-expected.txt:
              * platform/mac/editing/execCommand/4786404-2-expected.txt:
              * platform/mac/editing/execCommand/4916402-expected.txt:
              * platform/mac/editing/execCommand/4916541-expected.txt:
              * platform/mac/editing/execCommand/4920488-expected.txt:
              * platform/mac/editing/execCommand/4920742-1-expected.txt:
              * platform/mac/editing/execCommand/4924441-expected.txt:
              * platform/mac/editing/execCommand/5049671-expected.txt:
              * platform/mac/editing/execCommand/5080333-1-expected.txt:
              * platform/mac/editing/execCommand/5080333-2-expected.txt:
              * platform/mac/editing/execCommand/5136770-expected.txt:
              * platform/mac/editing/execCommand/5138441-expected.txt:
              * platform/mac/editing/execCommand/5142012-1-expected.txt:
              * platform/mac/editing/execCommand/5142012-2-expected.txt:
              * platform/mac/editing/execCommand/5190926-expected.txt:
              * platform/mac/editing/execCommand/5481523-expected.txt:
              * platform/mac/editing/execCommand/5482023-expected.txt:
              * platform/mac/editing/execCommand/5482524-expected.txt:
              * platform/mac/editing/execCommand/5569741-expected.txt:
              * platform/mac/editing/execCommand/5573879-expected.txt:
              * platform/mac/editing/execCommand/create-list-from-range-selection-expected.txt:
              * platform/mac/editing/execCommand/create-list-with-hr-expected.txt:
              * platform/mac/editing/execCommand/findString-2-expected.txt:
              * platform/mac/editing/execCommand/findString-expected.txt:
              * platform/mac/editing/execCommand/format-block-expected.txt:
              * platform/mac/editing/execCommand/format-block-from-range-selection-expected.txt:
              * platform/mac/editing/execCommand/format-block-with-braces-expected.txt:
              * platform/mac/editing/execCommand/format-block-with-trailing-br-expected.txt:
              * platform/mac/editing/execCommand/hilitecolor-expected.txt:
              * platform/mac/editing/execCommand/indent-empty-root-expected.txt:
              * platform/mac/editing/execCommand/indent-list-item-expected.txt:
              * platform/mac/editing/execCommand/indent-selection-expected.txt:
              * platform/mac/editing/execCommand/insert-list-and-stitch-expected.txt:
              * platform/mac/editing/execCommand/insert-list-empty-div-expected.txt:
              * platform/mac/editing/execCommand/insertImage-expected.txt:
              * platform/mac/editing/execCommand/nsresponder-indent-expected.txt:
              * platform/mac/editing/execCommand/nsresponder-outdent-expected.txt:
              * platform/mac/editing/execCommand/outdent-blockquote-test5-expected.txt:
              * platform/mac/editing/execCommand/outdent-selection-expected.txt:
              * platform/mac/editing/execCommand/print-expected.txt:
              * platform/mac/editing/execCommand/remove-formatting-2-expected.txt:
              * platform/mac/editing/execCommand/remove-formatting-expected.txt:
              * platform/mac/editing/execCommand/remove-list-from-range-selection-expected.txt:
              * platform/mac/editing/execCommand/remove-list-item-1-expected.txt:
              * platform/mac/editing/execCommand/selectAll-expected.txt:
              * platform/mac/editing/input/5576619-expected.txt:
              * platform/mac/editing/input/devanagari-ligature-expected.txt:
              * platform/mac/editing/input/emacs-ctrl-o-expected.txt:
              * platform/mac/editing/inserting/12882-expected.txt:
              * platform/mac/editing/inserting/4278698-expected.txt:
              * platform/mac/editing/inserting/4840662-expected.txt:
              * platform/mac/editing/inserting/4875189-1-expected.txt:
              * platform/mac/editing/inserting/4875189-2-expected.txt:
              * platform/mac/editing/inserting/4959067-expected.txt:
              * platform/mac/editing/inserting/4960120-1-expected.txt:
              * platform/mac/editing/inserting/4960120-2-expected.txt:
              * platform/mac/editing/inserting/5002441-expected.txt:
              * platform/mac/editing/inserting/5058163-1-expected.txt:
              * platform/mac/editing/inserting/5058163-2-expected.txt:
              * platform/mac/editing/inserting/5156401-2-expected.txt:
              * platform/mac/editing/inserting/5418891-expected.txt:
              * platform/mac/editing/inserting/5510537-expected.txt:
              * platform/mac/editing/inserting/5549929-2-expected.txt:
              * platform/mac/editing/inserting/5549929-3-expected.txt:
              * platform/mac/editing/inserting/5607069-2-expected.txt:
              * platform/mac/editing/inserting/5607069-3-expected.txt:
              * platform/mac/editing/inserting/6703873-expected.txt:
              * platform/mac/editing/inserting/before-after-input-element-expected.txt:
              * platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt:
              * platform/mac/editing/inserting/editable-html-element-expected.txt:
              * platform/mac/editing/inserting/editable-inline-element-expected.txt:
              * platform/mac/editing/inserting/edited-whitespace-1-expected.txt:
              * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
              * platform/mac/editing/inserting/insert-3654864-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3659587-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3775316-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3778059-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3786362-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3800346-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3851164-fix-expected.txt:
              * platform/mac/editing/inserting/insert-3907422-fix-expected.txt:
              * platform/mac/editing/inserting/insert-after-delete-001-expected.txt:
              * platform/mac/editing/inserting/insert-at-end-01-expected.txt:
              * platform/mac/editing/inserting/insert-at-end-02-expected.txt:
              * platform/mac/editing/inserting/insert-br-001-expected.txt:
              * platform/mac/editing/inserting/insert-br-002-expected.txt:
              * platform/mac/editing/inserting/insert-br-003-expected.txt:
              * platform/mac/editing/inserting/insert-br-004-expected.txt:
              * platform/mac/editing/inserting/insert-br-005-expected.txt:
              * platform/mac/editing/inserting/insert-br-006-expected.txt:
              * platform/mac/editing/inserting/insert-br-007-expected.txt:
              * platform/mac/editing/inserting/insert-br-008-expected.txt:
              * platform/mac/editing/inserting/insert-br-009-expected.txt:
              * platform/mac/editing/inserting/insert-br-at-tabspan-001-expected.txt:
              * platform/mac/editing/inserting/insert-br-at-tabspan-002-expected.txt:
              * platform/mac/editing/inserting/insert-br-at-tabspan-003-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-001-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-002-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-003-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-004-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-005-expected.txt:
              * platform/mac/editing/inserting/insert-br-quoted-006-expected.txt:
              * platform/mac/editing/inserting/insert-div-001-expected.txt:
              * platform/mac/editing/inserting/insert-div-002-expected.txt:
              * platform/mac/editing/inserting/insert-div-003-expected.txt:
              * platform/mac/editing/inserting/insert-div-004-expected.txt:
              * platform/mac/editing/inserting/insert-div-005-expected.txt:
              * platform/mac/editing/inserting/insert-div-006-expected.txt:
              * platform/mac/editing/inserting/insert-div-007-expected.txt:
              * platform/mac/editing/inserting/insert-div-008-expected.txt:
              * platform/mac/editing/inserting/insert-div-009-expected.txt:
              * platform/mac/editing/inserting/insert-div-010-expected.txt:
              * platform/mac/editing/inserting/insert-div-011-expected.txt:
              * platform/mac/editing/inserting/insert-div-012-expected.txt:
              * platform/mac/editing/inserting/insert-div-013-expected.txt:
              * platform/mac/editing/inserting/insert-div-014-expected.txt:
              * platform/mac/editing/inserting/insert-div-015-expected.txt:
              * platform/mac/editing/inserting/insert-div-016-expected.txt:
              * platform/mac/editing/inserting/insert-div-017-expected.txt:
              * platform/mac/editing/inserting/insert-div-018-expected.txt:
              * platform/mac/editing/inserting/insert-div-019-expected.txt:
              * platform/mac/editing/inserting/insert-div-020-expected.txt:
              * platform/mac/editing/inserting/insert-div-021-expected.txt:
              * platform/mac/editing/inserting/insert-div-022-expected.txt:
              * platform/mac/editing/inserting/insert-div-023-expected.txt:
              * platform/mac/editing/inserting/insert-div-024-expected.txt:
              * platform/mac/editing/inserting/insert-div-025-expected.txt:
              * platform/mac/editing/inserting/insert-div-026-expected.txt:
              * platform/mac/editing/inserting/insert-div-027-expected.txt:
              * platform/mac/editing/inserting/insert-paragraph-01-expected.txt:
              * platform/mac/editing/inserting/insert-paragraph-02-expected.txt:
              * platform/mac/editing/inserting/insert-paragraph-03-expected.txt:
              * platform/mac/editing/inserting/insert-paragraph-04-expected.txt:
              * platform/mac/editing/inserting/insert-paragraph-05-expected.txt:
              * platform/mac/editing/inserting/insert-space-in-empty-doc-expected.txt:
              * platform/mac/editing/inserting/insert-tab-001-expected.txt:
              * platform/mac/editing/inserting/insert-tab-002-expected.txt:
              * platform/mac/editing/inserting/insert-tab-003-expected.txt:
              * platform/mac/editing/inserting/insert-tab-004-expected.txt:
              * platform/mac/editing/inserting/insert-text-at-tabspan-001-expected.txt:
              * platform/mac/editing/inserting/insert-text-at-tabspan-002-expected.txt:
              * platform/mac/editing/inserting/insert-text-at-tabspan-003-expected.txt:
              * platform/mac/editing/inserting/insert-text-with-newlines-expected.txt:
              * platform/mac/editing/inserting/line-break-expected.txt:
              * platform/mac/editing/inserting/multiple-lines-selected-expected.txt:
              * platform/mac/editing/inserting/paragraph-separator-01-expected.txt:
              * platform/mac/editing/inserting/paragraph-separator-02-expected.txt:
              * platform/mac/editing/inserting/paragraph-separator-03-expected.txt:
              * platform/mac/editing/inserting/paragraph-separator-in-table-1-expected.txt:
              * platform/mac/editing/inserting/paragraph-separator-in-table-2-expected.txt:
              * platform/mac/editing/inserting/redo-expected.txt:
              * platform/mac/editing/inserting/return-key-with-selection-001-expected.txt:
              * platform/mac/editing/inserting/return-key-with-selection-002-expected.txt:
              * platform/mac/editing/inserting/return-key-with-selection-003-expected.txt:
              * platform/mac/editing/inserting/typing-001-expected.txt:
              * platform/mac/editing/inserting/typing-002-expected.txt:
              * platform/mac/editing/inserting/typing-003-expected.txt:
              * platform/mac/editing/inserting/typing-around-br-001-expected.txt:
              * platform/mac/editing/inserting/typing-around-image-001-expected.txt:
              * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt:
              * platform/mac/editing/pasteboard/3976872-expected.txt:
              * platform/mac/editing/pasteboard/4076267-2-expected.txt:
              * platform/mac/editing/pasteboard/4076267-3-expected.txt:
              * platform/mac/editing/pasteboard/4076267-expected.txt:
              * platform/mac/editing/pasteboard/4242293-1-expected.txt:
              * platform/mac/editing/pasteboard/4242293-expected.txt:
              * platform/mac/editing/pasteboard/4631972-expected.txt:
              * platform/mac/editing/pasteboard/4641033-expected.txt:
              * platform/mac/editing/pasteboard/4700297-expected.txt:
              * platform/mac/editing/pasteboard/4806874-expected.txt:
              * platform/mac/editing/pasteboard/4861080-expected.txt:
              * platform/mac/editing/pasteboard/4944770-1-expected.txt:
              * platform/mac/editing/pasteboard/4944770-2-expected.txt:
              * platform/mac/editing/pasteboard/4947130-expected.txt:
              * platform/mac/editing/pasteboard/4989774-expected.txt:
              * platform/mac/editing/pasteboard/5006779-expected.txt:
              * platform/mac/editing/pasteboard/5027857-expected.txt:
              * platform/mac/editing/pasteboard/5028447-expected.txt:
              * platform/mac/editing/pasteboard/5032095-expected.txt:
              * platform/mac/editing/pasteboard/5065605-expected.txt:
              * platform/mac/editing/pasteboard/5071074-2-expected.txt:
              * platform/mac/editing/pasteboard/5071074-expected.txt:
              * platform/mac/editing/pasteboard/5075944-2-expected.txt:
              * platform/mac/editing/pasteboard/5075944-3-expected.txt:
              * platform/mac/editing/pasteboard/5075944-expected.txt:
              * platform/mac/editing/pasteboard/5089327-expected.txt:
              * platform/mac/editing/pasteboard/5134759-expected.txt:
              * platform/mac/editing/pasteboard/5156401-1-expected.txt:
              * platform/mac/editing/pasteboard/5247341-expected.txt:
              * platform/mac/editing/pasteboard/5368833-expected.txt:
              * platform/mac/editing/pasteboard/5387578-expected.txt:
              * platform/mac/editing/pasteboard/5478250-expected.txt:
              * platform/mac/editing/pasteboard/5483567-expected.txt:
              * platform/mac/editing/pasteboard/5583362-expected.txt:
              * platform/mac/editing/pasteboard/5601583-1-expected.txt:
              * platform/mac/editing/pasteboard/8145-1-expected.txt:
              * platform/mac/editing/pasteboard/8145-2-expected.txt:
              * platform/mac/editing/pasteboard/8145-3-expected.txt:
              * platform/mac/editing/pasteboard/bad-placeholder-expected.txt:
              * platform/mac/editing/pasteboard/block-wrappers-necessary-expected.txt:
              * platform/mac/editing/pasteboard/copy-paste-bidi-expected.txt:
              * platform/mac/editing/pasteboard/copy-standalone-image-expected.txt:
              * platform/mac/editing/pasteboard/cut-text-001-expected.txt:
              * platform/mac/editing/pasteboard/displaced-generic-placeholder-expected.txt:
              * platform/mac/editing/pasteboard/displaced-placeholder-expected.txt:
              * platform/mac/editing/pasteboard/display-block-on-spans-expected.txt:
              * platform/mac/editing/pasteboard/drag-drop-dead-frame-expected.txt:
              * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.txt:
              * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.txt:
              * platform/mac/editing/pasteboard/drag-selected-image-to-contenteditable-expected.txt:
              * platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt:
              * platform/mac/editing/pasteboard/emacs-cntl-y-001-expected.txt:
              * platform/mac/editing/pasteboard/emacs-ctrl-a-k-y-expected.txt:
              * platform/mac/editing/pasteboard/emacs-ctrl-k-y-001-expected.txt:
              * platform/mac/editing/pasteboard/input-field-1-expected.txt:
              * platform/mac/editing/pasteboard/interchange-newline-1-expected.txt:
              * platform/mac/editing/pasteboard/interchange-newline-2-expected.txt:
              * platform/mac/editing/pasteboard/interchange-newline-3-expected.txt:
              * platform/mac/editing/pasteboard/interchange-newline-4-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-1-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-2-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-3-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-4-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-5-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-borders-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-list-expected.txt:
              * platform/mac/editing/pasteboard/merge-end-table-expected.txt:
              * platform/mac/editing/pasteboard/merge-start-blockquote-expected.txt:
              * platform/mac/editing/pasteboard/merge-start-list-expected.txt:
              * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt:
              * platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.txt:
              * platform/mac/editing/pasteboard/paste-4035648-fix-expected.txt:
              * platform/mac/editing/pasteboard/paste-4038267-fix-expected.txt:
              * platform/mac/editing/pasteboard/paste-4039777-fix-expected.txt:
              * platform/mac/editing/pasteboard/paste-RTFD-expected.txt:
              * platform/mac/editing/pasteboard/paste-TIFF-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-1-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-2-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-3-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-3-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-002-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-003-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-004-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-005-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-006-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-007-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-008-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-009-expected.txt:
              * platform/mac/editing/pasteboard/paste-line-endings-010-expected.txt:
              * platform/mac/editing/pasteboard/paste-list-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-match-style-002-expected.txt:
              * platform/mac/editing/pasteboard/paste-pre-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-pre-002-expected.txt:
              * platform/mac/editing/pasteboard/paste-table-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-table-003-expected.txt:
              * platform/mac/editing/pasteboard/paste-table-cells-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-002-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-003-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-004-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-005-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-006-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-007-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-008-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-009-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-010-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-011-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-012-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-013-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-014-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-015-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-016-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-017-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-018-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-019-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:
              * platform/mac/editing/pasteboard/paste-text-at-tabspan-003-expected.txt:
              * platform/mac/editing/pasteboard/paste-unrendered-select-expected.txt:
              * platform/mac/editing/pasteboard/paste-xml-expected.txt:
              * platform/mac/editing/pasteboard/pasting-object-expected.txt:
              * platform/mac/editing/pasteboard/pasting-tabs-expected.txt:
              * platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt:
              * platform/mac/editing/pasteboard/quirks-mode-br-1-expected.txt:
              * platform/mac/editing/pasteboard/select-element-1-expected.txt:
              * platform/mac/editing/pasteboard/smart-drag-drop-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-001-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-002-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-005-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-006-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
              * platform/mac/editing/pasteboard/styled-element-markup-expected.txt:
              * platform/mac/editing/pasteboard/testcase-9507-expected.txt:
              * platform/mac/editing/pasteboard/undoable-fragment-removes-expected.txt:
              * platform/mac/editing/pasteboard/unrendered-br-expected.txt:
              * platform/mac/editing/selection/13804-expected.txt:
              * platform/mac/editing/selection/14971-expected.txt:
              * platform/mac/editing/selection/25228-expected.txt:
              * platform/mac/editing/selection/3690703-2-expected.txt:
              * platform/mac/editing/selection/3690703-expected.txt:
              * platform/mac/editing/selection/3690719-expected.txt:
              * platform/mac/editing/selection/4397952-expected.txt:
              * platform/mac/editing/selection/4402375-expected.txt:
              * platform/mac/editing/selection/4818145-expected.txt:
              * platform/mac/editing/selection/4866671-expected.txt:
              * platform/mac/editing/selection/4889598-expected.txt:
              * platform/mac/editing/selection/4895428-1-expected.txt:
              * platform/mac/editing/selection/4895428-2-expected.txt:
              * platform/mac/editing/selection/4895428-3-expected.txt:
              * platform/mac/editing/selection/4895428-4-expected.txt:
              * platform/mac/editing/selection/4932260-1-expected.txt:
              * platform/mac/editing/selection/4932260-2-expected.txt:
              * platform/mac/editing/selection/4932260-3-expected.txt:
              * platform/mac/editing/selection/4947387-expected.txt:
              * platform/mac/editing/selection/4960116-expected.txt:
              * platform/mac/editing/selection/4975120-expected.txt:
              * platform/mac/editing/selection/4983858-expected.txt:
              * platform/mac/editing/selection/5007143-2-expected.txt:
              * platform/mac/editing/selection/5007143-expected.txt:
              * platform/mac/editing/selection/5057506-2-expected.txt:
              * platform/mac/editing/selection/5057506-expected.txt:
              * platform/mac/editing/selection/5076323-1-expected.txt:
              * platform/mac/editing/selection/5076323-2-expected.txt:
              * platform/mac/editing/selection/5076323-3-expected.txt:
              * platform/mac/editing/selection/5081257-1-expected.txt:
              * platform/mac/editing/selection/5081257-2-expected.txt:
              * platform/mac/editing/selection/5099303-expected.txt:
              * platform/mac/editing/selection/5109817-expected.txt:
              * platform/mac/editing/selection/5131716-1-expected.txt:
              * platform/mac/editing/selection/5131716-2-expected.txt:
              * platform/mac/editing/selection/5131716-3-expected.txt:
              * platform/mac/editing/selection/5131716-4-expected.txt:
              * platform/mac/editing/selection/5195166-2-expected.txt:
              * platform/mac/editing/selection/5232159-expected.txt:
              * platform/mac/editing/selection/5234383-1-expected.txt:
              * platform/mac/editing/selection/5234383-2-expected.txt:
              * platform/mac/editing/selection/5240265-expected.txt:
              * platform/mac/editing/selection/5333725-expected.txt:
              * platform/mac/editing/selection/5354455-1-expected.txt:
              * platform/mac/editing/selection/5354455-2-expected.txt:
              * platform/mac/editing/selection/6476-expected.txt:
              * platform/mac/editing/selection/7152-1-expected.txt:
              * platform/mac/editing/selection/7152-2-expected.txt:
              * platform/mac/editing/selection/addRange-expected.txt:
              * platform/mac/editing/selection/after-line-wrap-expected.txt:
              * platform/mac/editing/selection/caret-and-focus-ring-expected.txt:
              * platform/mac/editing/selection/caret-before-select-expected.txt:
              * platform/mac/editing/selection/caret-rtl-2-expected.txt:
              * platform/mac/editing/selection/caret-rtl-expected.txt:
              * platform/mac/editing/selection/click-start-of-line-expected.txt:
              * platform/mac/editing/selection/contains-boundaries-expected.txt:
              * platform/mac/editing/selection/contenteditable-click-inside-expected.txt:
              * platform/mac/editing/selection/designmode-no-caret-expected.txt:
              * platform/mac/editing/selection/display-table-text-expected.txt:
              * platform/mac/editing/selection/doubleclick-crash-expected.txt:
              * platform/mac/editing/selection/drag-select-1-expected.txt:
              * platform/mac/editing/selection/drag-text-delay-expected.txt:
              * platform/mac/editing/selection/drag-to-contenteditable-iframe-expected.txt:
              * platform/mac/editing/selection/editable-html-element-expected.txt:
              * platform/mac/editing/selection/editable-links-expected.txt:
              * platform/mac/editing/selection/editable-non-editable-crash-expected.txt:
              * platform/mac/editing/selection/end-of-document-expected.txt:
              * platform/mac/editing/selection/expanding-selections-expected.txt:
              * platform/mac/editing/selection/expanding-selections2-expected.txt:
              * platform/mac/editing/selection/extend-by-character-001-expected.txt:
              * platform/mac/editing/selection/extend-by-character-002-expected.txt:
              * platform/mac/editing/selection/extend-by-character-003-expected.txt:
              * platform/mac/editing/selection/extend-by-character-004-expected.txt:
              * platform/mac/editing/selection/extend-by-character-005-expected.txt:
              * platform/mac/editing/selection/extend-by-character-006-expected.txt:
              * platform/mac/editing/selection/extend-by-sentence-001-expected.txt:
              * platform/mac/editing/selection/extend-by-word-001-expected.txt:
              * platform/mac/editing/selection/extend-by-word-002-expected.txt:
              * platform/mac/editing/selection/fake-doubleclick-expected.txt:
              * platform/mac/editing/selection/fake-drag-expected.txt:
              * platform/mac/editing/selection/focus-body-expected.txt:
              * platform/mac/editing/selection/focus_editable_html-expected.txt:
              * platform/mac/editing/selection/iframe-expected.txt:
              * platform/mac/editing/selection/image-before-linebreak-expected.txt:
              * platform/mac/editing/selection/inconsistent-in-removeChildNode-expected.txt:
              * platform/mac/editing/selection/inline-closest-leaf-child-expected.txt:
              * platform/mac/editing/selection/inline-table-expected.txt:
              * platform/mac/editing/selection/leave-requested-block-expected.txt:
              * platform/mac/editing/selection/line-wrap-1-expected.txt:
              * platform/mac/editing/selection/line-wrap-2-expected.txt:
              * platform/mac/editing/selection/mixed-editability-1-expected.txt:
              * platform/mac/editing/selection/mixed-editability-2-expected.txt:
              * platform/mac/editing/selection/mixed-editability-3-expected.txt:
              * platform/mac/editing/selection/mixed-editability-4-expected.txt:
              * platform/mac/editing/selection/mixed-editability-5-expected.txt:
              * platform/mac/editing/selection/mixed-editability-6-expected.txt:
              * platform/mac/editing/selection/mixed-editability-7-expected.txt:
              * platform/mac/editing/selection/mixed-editability-8-expected.txt:
              * platform/mac/editing/selection/mixed-editability-9-expected.txt:
              * platform/mac/editing/selection/move-3875618-fix-expected.txt:
              * platform/mac/editing/selection/move-3875641-fix-expected.txt:
              * platform/mac/editing/selection/move-backwords-by-word-001-expected.txt:
              * platform/mac/editing/selection/move-between-blocks-no-001-expected.txt:
              * platform/mac/editing/selection/move-between-blocks-yes-001-expected.txt:
              * platform/mac/editing/selection/move-by-character-001-expected.txt:
              * platform/mac/editing/selection/move-by-character-002-expected.txt:
              * platform/mac/editing/selection/move-by-character-003-expected.txt:
              * platform/mac/editing/selection/move-by-character-004-expected.txt:
              * platform/mac/editing/selection/move-by-character-005-expected.txt:
              * platform/mac/editing/selection/move-by-character-6-expected.txt:
              * platform/mac/editing/selection/move-by-line-001-expected.txt:
              * platform/mac/editing/selection/move-by-line-002-expected.txt:
              * platform/mac/editing/selection/move-by-sentence-001-expected.txt:
              * platform/mac/editing/selection/move-by-sentence-linebreak-expected.txt:
              * platform/mac/editing/selection/move-by-word-001-expected.txt:
              * platform/mac/editing/selection/move-past-trailing-space-expected.txt:
              * platform/mac/editing/selection/node-removal-2-expected.txt:
              * platform/mac/editing/selection/paragraph-granularity-expected.txt:
              * platform/mac/editing/selection/previous-line-position-expected.txt:
              * platform/mac/editing/selection/range-between-block-and-inline-expected.txt:
              * platform/mac/editing/selection/replace-selection-1-expected.txt:
              * platform/mac/editing/selection/replaced-boundaries-1-expected.txt:
              * platform/mac/editing/selection/replaced-boundaries-2-expected.txt:
              * platform/mac/editing/selection/replaced-boundaries-3-expected.txt:
              * platform/mac/editing/selection/select-all-001-expected.txt:
              * platform/mac/editing/selection/select-all-002-expected.txt:
              * platform/mac/editing/selection/select-all-003-expected.txt:
              * platform/mac/editing/selection/select-all-004-expected.txt:
              * platform/mac/editing/selection/select-all-005-expected.txt:
              * platform/mac/editing/selection/select-all-006-expected.txt:
              * platform/mac/editing/selection/select-box-expected.txt:
              * platform/mac/editing/selection/select-element-paragraph-boundary-expected.txt:
              * platform/mac/editing/selection/select-from-textfield-outwards-expected.txt:
              * platform/mac/editing/selection/select-missing-image-expected.txt:
              * platform/mac/editing/selection/select-text-overflow-ellipsis-expected.txt:
              * platform/mac/editing/selection/selection-3748164-fix-expected.txt:
              * platform/mac/editing/selection/selection-actions-expected.txt:
              * platform/mac/editing/selection/selection-background-expected.txt:
              * platform/mac/editing/selection/table-caret-1-expected.txt:
              * platform/mac/editing/selection/table-caret-2-expected.txt:
              * platform/mac/editing/selection/table-caret-3-expected.txt:
              * platform/mac/editing/selection/transformed-selection-rects-expected.txt:
              * platform/mac/editing/selection/triple-click-in-pre-expected.txt:
              * platform/mac/editing/selection/unrendered-001-expected.txt:
              * platform/mac/editing/selection/unrendered-002-expected.txt:
              * platform/mac/editing/selection/unrendered-003-expected.txt:
              * platform/mac/editing/selection/unrendered-004-expected.txt:
              * platform/mac/editing/selection/unrendered-005-expected.txt:
              * platform/mac/editing/selection/unrendered-space-expected.txt:
              * platform/mac/editing/selection/word-granularity-expected.txt:
              * platform/mac/editing/selection/wrapped-line-caret-1-expected.txt:
              * platform/mac/editing/selection/wrapped-line-caret-2-expected.txt:
              * platform/mac/editing/spelling/spellcheck-attribute-expected.txt:
              * platform/mac/editing/spelling/spelling-expected.txt:
              * platform/mac/editing/spelling/spelling-linebreak-expected.txt:
              * platform/mac/editing/style/4916887-expected.txt:
              * platform/mac/editing/style/5017613-1-expected.txt:
              * platform/mac/editing/style/5017613-2-expected.txt:
              * platform/mac/editing/style/5046875-1-expected.txt:
              * platform/mac/editing/style/5046875-2-expected.txt:
              * platform/mac/editing/style/5065910-expected.txt:
              * platform/mac/editing/style/5084241-expected.txt:
              * platform/mac/editing/style/5091898-expected.txt:
              * platform/mac/editing/style/5228141-expected.txt:
              * platform/mac/editing/style/5279521-expected.txt:
              * platform/mac/editing/style/apple-style-editable-mix-expected.txt:
              * platform/mac/editing/style/block-style-001-expected.txt:
              * platform/mac/editing/style/block-style-002-expected.txt:
              * platform/mac/editing/style/block-style-003-expected.txt:
              * platform/mac/editing/style/block-style-004-expected.txt:
              * platform/mac/editing/style/block-style-005-expected.txt:
              * platform/mac/editing/style/block-style-006-expected.txt:
              * platform/mac/editing/style/block-styles-007-expected.txt:
              * platform/mac/editing/style/create-block-for-style-001-expected.txt:
              * platform/mac/editing/style/create-block-for-style-002-expected.txt:
              * platform/mac/editing/style/create-block-for-style-003-expected.txt:
              * platform/mac/editing/style/create-block-for-style-004-expected.txt:
              * platform/mac/editing/style/create-block-for-style-005-expected.txt:
              * platform/mac/editing/style/create-block-for-style-006-expected.txt:
              * platform/mac/editing/style/create-block-for-style-007-expected.txt:
              * platform/mac/editing/style/create-block-for-style-008-expected.txt:
              * platform/mac/editing/style/create-block-for-style-009-expected.txt:
              * platform/mac/editing/style/create-block-for-style-010-expected.txt:
              * platform/mac/editing/style/create-block-for-style-011-expected.txt:
              * platform/mac/editing/style/create-block-for-style-012-expected.txt:
              * platform/mac/editing/style/create-block-for-style-013-expected.txt:
              * platform/mac/editing/style/designmode-expected.txt:
              * platform/mac/editing/style/font-family-with-space-expected.txt:
              * platform/mac/editing/style/fontsize-1-expected.txt:
              * platform/mac/editing/style/highlight-expected.txt:
              * platform/mac/editing/style/non-inheritable-styles-expected.txt:
              * platform/mac/editing/style/relative-font-size-change-001-expected.txt:
              * platform/mac/editing/style/relative-font-size-change-002-expected.txt:
              * platform/mac/editing/style/relative-font-size-change-003-expected.txt:
              * platform/mac/editing/style/relative-font-size-change-004-expected.txt:
              * platform/mac/editing/style/smoosh-styles-001-expected.txt:
              * platform/mac/editing/style/smoosh-styles-003-expected.txt:
              * platform/mac/editing/style/style-3681552-fix-001-expected.txt:
              * platform/mac/editing/style/style-3681552-fix-002-expected.txt:
              * platform/mac/editing/style/style-3690704-fix-expected.txt:
              * platform/mac/editing/style/style-3998892-fix-expected.txt:
              * platform/mac/editing/style/style-boundary-001-expected.txt:
              * platform/mac/editing/style/style-boundary-002-expected.txt:
              * platform/mac/editing/style/style-boundary-003-expected.txt:
              * platform/mac/editing/style/style-boundary-004-expected.txt:
              * platform/mac/editing/style/style-boundary-005-expected.txt:
              * platform/mac/editing/style/table-selection-expected.txt:
              * platform/mac/editing/style/typing-style-001-expected.txt:
              * platform/mac/editing/style/typing-style-002-expected.txt:
              * platform/mac/editing/style/typing-style-003-expected.txt:
              * platform/mac/editing/style/unbold-in-bold-expected.txt:
              * platform/mac/editing/undo/4063751-expected.txt:
              * platform/mac/editing/undo/5378473-expected.txt:
              * platform/mac/editing/undo/redo-typing-001-expected.txt:
              * platform/mac/editing/undo/undo-combined-delete-boundary-expected.txt:
              * platform/mac/editing/undo/undo-combined-delete-expected.txt:
              * platform/mac/editing/undo/undo-delete-boundary-expected.txt:
              * platform/mac/editing/undo/undo-delete-expected.txt:
              * platform/mac/editing/undo/undo-forward-delete-boundary-expected.txt:
              * platform/mac/editing/undo/undo-forward-delete-expected.txt:
              * platform/mac/editing/undo/undo-misspellings-expected.txt:
              * platform/mac/editing/undo/undo-typing-001-expected.txt:
              * platform/mac/editing/unsupported-content/list-delete-001-expected.txt:
              * platform/mac/editing/unsupported-content/list-delete-003-expected.txt:
              * platform/mac/editing/unsupported-content/list-type-after-expected.txt:
              * platform/mac/editing/unsupported-content/list-type-before-expected.txt:
              * platform/mac/editing/unsupported-content/table-delete-001-expected.txt:
              * platform/mac/editing/unsupported-content/table-delete-002-expected.txt:
              * platform/mac/editing/unsupported-content/table-delete-003-expected.txt:
              * platform/mac/editing/unsupported-content/table-type-after-expected.txt:
              * platform/mac/editing/unsupported-content/table-type-before-expected.txt:
              * platform/mac/fast/backgrounds/solid-color-context-restore-expected.txt:
              * platform/mac/fast/block/float/relative-painted-twice-expected.txt:
              * platform/mac/fast/css-generated-content/hover-style-change-expected.txt:
              * platform/mac/fast/css/layerZOrderCrash-expected.txt:
              * platform/mac/fast/css/shadow-multiple-expected.txt:
              * platform/mac/fast/css/universal-hover-quirk-expected.txt:
              * platform/mac/fast/dom/delete-contents-expected.txt:
              * platform/mac/fast/dom/focus-contenteditable-expected.txt:
              * platform/mac/fast/dynamic/layer-hit-test-crash-expected.txt:
              * platform/mac/fast/dynamic/selection-highlight-adjust-expected.txt:
              * platform/mac/fast/events/5056619-expected.txt:
              * platform/mac/fast/events/autoscroll-expected.txt:
              * platform/mac/fast/events/context-no-deselect-expected.txt:
              * platform/mac/fast/events/label-focus-expected.txt:
              * platform/mac/fast/events/pointer-events-dashboard-expected.txt:
              * platform/mac/fast/events/updateLayoutForHitTest-expected.txt:
              * platform/mac/fast/forms/caret-rtl-expected.txt:
              * platform/mac/fast/forms/form-added-to-table-expected.txt:
              * platform/mac/fast/forms/input-appearance-focus-expected.txt:
              * platform/mac/fast/forms/input-appearance-readonly-expected.txt:
              * platform/mac/fast/forms/input-appearance-selection-expected.txt:
              * platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
              * platform/mac/fast/forms/input-double-click-selection-gap-bug-expected.txt:
              * platform/mac/fast/forms/input-paste-undo-expected.txt:
              * platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
              * platform/mac/fast/forms/input-text-click-inside-expected.txt:
              * platform/mac/fast/forms/input-text-click-outside-expected.txt:
              * platform/mac/fast/forms/input-text-double-click-expected.txt:
              * platform/mac/fast/forms/input-text-drag-down-expected.txt:
              * platform/mac/fast/forms/input-text-option-delete-expected.txt:
              * platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
              * platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
              * platform/mac/fast/forms/plaintext-mode-2-expected.txt:
              * platform/mac/fast/forms/search-rtl-expected.txt:
              * platform/mac/fast/forms/search-transformed-expected.txt:
              * platform/mac/fast/forms/search-zoomed-expected.txt:
              * platform/mac/fast/forms/tabbing-input-iframe-expected.txt:
              * platform/mac/fast/forms/textarea-scrollbar-expected.txt:
              * platform/mac/fast/forms/textarea-scrolled-type-expected.txt:
              * platform/mac/fast/forms/textfield-outline-expected.txt:
              * platform/mac/fast/forms/textfield-overflow-expected.txt:
              * platform/mac/fast/frames/take-focus-from-iframe-expected.txt:
              * platform/mac/fast/inline-block/14498-positionForCoordinates-expected.txt:
              * platform/mac/fast/inline/25277-2-expected.txt:
              * platform/mac/fast/inline/25277-expected.txt:
              * platform/mac/fast/lists/drag-into-marker-expected.txt:
              * platform/mac/fast/lists/markers-in-selection-expected.txt:
              * platform/mac/fast/overflow/image-selection-highlight-expected.txt:
              * platform/mac/fast/overflow/overflow-focus-ring-expected.txt:
              * platform/mac/fast/overflow/overflow-text-hit-testing-expected.txt:
              * platform/mac/fast/reflections/inline-crash-expected.txt:
              * platform/mac/fast/repaint/4776765-expected.txt:
              * platform/mac/fast/repaint/block-selection-gap-in-composited-layer-expected.txt:
              * platform/mac/fast/repaint/caret-outside-block-expected.txt:
              * platform/mac/fast/repaint/delete-into-nested-block-expected.txt:
              * platform/mac/fast/repaint/inline-outline-repaint-expected.txt:
              * platform/mac/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.txt:
              * platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
              * platform/mac/fast/repaint/selected-replaced-expected.txt:
              * platform/mac/fast/repaint/selection-after-delete-expected.txt:
              * platform/mac/fast/repaint/selection-after-remove-expected.txt:
              * platform/mac/fast/repaint/subtree-root-skipped-expected.txt:
              * platform/mac/fast/replaced/selection-rect-expected.txt:
              * platform/mac/fast/replaced/selection-rect-in-table-cell-expected.txt:
              * platform/mac/fast/replaced/selection-rect-transform-expected.txt:
              * platform/mac/fast/selectors/159-expected.txt:
              * platform/mac/fast/selectors/177a-expected.txt:
              * platform/mac/fast/table/click-near-anonymous-table-expected.txt:
              * platform/mac/fast/text/atsui-kerning-and-ligatures-expected.txt:
              * platform/mac/fast/text/atsui-partial-selection-expected.txt:
              * platform/mac/fast/text/atsui-pointtooffset-calls-cg-expected.txt:
              * platform/mac/fast/text/atsui-rtl-override-selection-expected.txt:
              * platform/mac/fast/text/delete-hard-break-character-expected.txt:
              * platform/mac/fast/text/in-rendered-text-rtl-expected.txt:
              * platform/mac/fast/text/international/khmer-selection-expected.txt:
              * platform/mac/fast/text/international/rtl-caret-expected.txt:
              * platform/mac/fast/text/justified-selection-at-edge-expected.txt:
              * platform/mac/fast/text/justified-selection-expected.txt:
              * platform/mac/fast/text/justified-text-rect-expected.txt:
              * platform/mac/fast/text/selection-painted-separately-expected.txt:
              * platform/mac/fast/text/should-use-atsui-expected.txt:
              * platform/mac/fast/text/textIteratorNilRenderer-expected.txt:
              * platform/mac/fast/text/whitespace/pre-wrap-overflow-selection-expected.txt:
              * platform/mac/fast/transforms/transformed-caret-expected.txt:
              * platform/mac/fast/transforms/transformed-focused-text-input-expected.txt:
              * platform/mac/svg/custom/hit-test-with-br-expected.txt:
              * platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt:
              * platform/mac/svg/text/selection-background-color-expected.txt:
              * platform/mac/svg/text/selection-styles-expected.txt:
      2010-07-14  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Nikolas Zimmermann.
      
              Selection dumping code should not dump body's offset in the document
              https://bugs.webkit.org/show_bug.cgi?id=42238
      
              This requires updating the results of many layout tests,
              but has no functional change.
      
              * rendering/RenderTreeAsText.cpp:
              (WebCore::nodePosition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      920974b9
    • commit-queue@webkit.org's avatar
      2010-07-14 Lucas De Marchi <lucas.demarchi@profusion.mobi> · 881e294e
      commit-queue@webkit.org authored
              Reviewed by Antonio Gomes.
      
              [EFL] Add eina_safety to popup menu deletion.
              https://bugs.webkit.org/show_bug.cgi?id=41873
      
              Since this is a public call, it's better to have an eina_safety on
              public calls. It would crash if browser calls this function to select
              an item of a nonexistent popup.
      
              * efl/ewk/ewk_view.cpp: add eina_safety to return if popup menu client does
              not exist.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      881e294e
    • tkent@chromium.org's avatar
      2010-07-14 Kent Tamura <tkent@chromium.org> · 5acb9385
      tkent@chromium.org authored
              Unreviewed, test expectation update.
      
              * websocket/tests/bad-sub-protocol-non-ascii-expected.txt:
              Updated because r63273 changed BOM behavior.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5acb9385
    • tkent@chromium.org's avatar
      <input type=number> UI: inner spin button layout · 06dfd042
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=41924
      
      Reviewed by Darin Fisher.
      
      WebCore:
      
      Add layout/event/style code for the inner spin button, which is
      going to be used for Windows implementation.
      No new tests because no ports implement the inner spin button yet.
      
      * rendering/RenderTextControlSingleLine.cpp:
        Introduce m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
        Detach m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::layout):
        Set position and size of m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::nodeAtPoint):
        Handle m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::forwardEvent):
        Handle m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::textBlockWidth):
        Shorten the text block width by m_innerSpinButton width.
      (WebCore::RenderTextControlSingleLine::preferredContentWidth):
        Add m_innerSpinButton width.
      (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):
        Handle m_innerSpinButton.
      (WebCore::RenderTextControlSingleLine::createInnerSpinButtonStyle):
        Make style for m_innerSpinButton with INNER_SPIN_BUTTON pseudo class.
      * rendering/RenderTextControlSingleLine.h:
      
      LayoutTests:
      
      Update test expectations because a shadow node is added to
      <input type=number>.
      
      * platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.html
      * platform/mac/fast/forms/input-appearance-spinbutton-expected.txt:
      * platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06dfd042
    • tkent@chromium.org's avatar
      2010-07-14 Kent Tamura <tkent@chromium.org> · 01d5d74d
      tkent@chromium.org authored
              Unreviewed, test expectation update.
      
              * platform/chromium/test_expectations.txt:
               Fix a syntax error introduced by r63286.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01d5d74d
    • tkent@chromium.org's avatar
      2010-07-14 Kent Tamura <tkent@chromium.org> · 072de1dc
      tkent@chromium.org authored
              Reviewed by Darin Fisher.
      
              <input type=number> UI: Support disabled/readonly states
              https://bugs.webkit.org/show_bug.cgi?id=38568
      
              * fast/forms/input-appearance-spinbutton-disabled-readonly.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.checksum: Added.
              * platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Added.
              * platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Added.
              * platform/mac/fast/forms/input-number-click-expected.txt:
              * platform/mac/fast/forms/input-number-click.html:
                Add tests for disabled/readonly states.
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-07-14  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Fisher.
      
              <input type=number> UI: Support disabled/readonly states
              https://bugs.webkit.org/show_bug.cgi?id=38568
      
              Implement isEnabledFormControl() and isReadOnlyFormControl() of
              SpinButtonElement. They returns the states of the parent <input> element.
              The existing isEnabledFormControl() had a bug. It didn't have 'const'
              modifier.
      
              Test: fast/forms/input-appearance-spinbutton-disabled-readonly.html
      
              * rendering/TextControlInnerElements.cpp:
              (WebCore::SpinButtonElement::defaultEventHandler):
               - If the input element is disabled or read-only, don't process events.
               - Protect 'input' object from destruction during focus().
               - Fix a hit-test issue. We don't need to add renderBox()->y() because
                 'local' is relative to the RenderBox.
               - Some code cleanup
              * rendering/TextControlInnerElements.h:
              (WebCore::SpinButtonElement::isEnabledFormControl):
              (WebCore::SpinButtonElement::isReadOnlyFormControl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      072de1dc
    • tkent@chromium.org's avatar
      [Chromium] Upstreaming inspector_resources target · 708258c4
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=41669
      
      Reviewed by David Levin.
      
      'inspector_resource' is currently in src/webkit/webkit.gyp of
      Chromium tree. We move it to WebKit tree because:
      - DumpRenderTree in WebKit tree needs it, and
      - It's hard to refer to WebKit.gypi and WebCore.gypi from
        webkit_support in both cases of Chromium-tree build and
        WebKit-tree build.
      
      * WebKit.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      708258c4
    • bweinstein@apple.com's avatar
      Fix Windows checkouts by shortening paths. · 497ef802
      bweinstein@apple.com authored
      * fast/js/sputnik/Conformance: Renamed a few directories so checkouts can succeed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      497ef802
  2. 13 Jul, 2010 32 commits
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 60e4cc4d
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Page flashes to mostly white towards the end of loading
              https://bugs.webkit.org/show_bug.cgi?id=42230
      
              We constrain the size of huge composited layers. When doing so, we
              need to use the constained size to set the position as well
              as the dimensions, to ensure the layer appears in the correct place.
      
              Test: compositing/tiling/constrained-layer-size.html
      
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::updateLayerPosition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60e4cc4d
    • tkent@chromium.org's avatar
      [Chromium] Linux implementation of <input type=number> UI · b7ad638e
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=41925
      
      Reviewed by Darin Fisher.
      
      WebCore:
      
      - Move the code for scrollbar steppers from ScrollbarThemeChromiumLinux
        to PlatformThemeChromiumGtk.
      - Move the code for scrollbar colors from RenderThemeChromiumLinux
        to PlatformThemeChromiumGtk.
      
      * WebCore.gypi:
      * platform/chromium/PlatformThemeChromiumGtk.cpp: Added.
      (WebCore::PlatformThemeChromiumGtk::setScrollbarColors): Moved from RenderThemeChromiumLinux.
      (WebCore::clamp): Moved from ScrollbarThemeChromiumLinux.
      (WebCore::PlatformThemeChromiumGtk::saturateAndBrighten): ditto.
      (WebCore::PlatformThemeChromiumGtk::outlineColor): ditto.
      (WebCore::PlatformThemeChromiumGtk::paintArrowButton): ditto.
      * platform/chromium/PlatformThemeChromiumGtk.h: Added.
      * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
      (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
      (WebCore::ScrollbarThemeChromiumLinux::paintButton):
       Move the main part of the code to PlatformThemeChromiumGtk.
      (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
      * rendering/RenderThemeChromiumLinux.cpp:
      (WebCore::RenderThemeChromiumLinux::adjustInnerSpinButtonStyle): Added.
      (WebCore::RenderThemeChromiumLinux::paintInnerSpinButton): Added.
      * rendering/RenderThemeChromiumLinux.h:
      
      WebKit/chromium:
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::setScrollbarColors):
       Call PlatformThemeChromiumGtk::setScrollbarColors() instead of
       RenderThemeChromiumLinux::setScrollbarColors().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7ad638e
    • dumi@chromium.org's avatar
      WebCore: Implementing DatabaseSync::transaction() and DatabaseSync::changeVersion(). · e7beae72
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40607
      
      Reviewed by Darin Fisher
      
      Tests: fast/workers/storage/change-version-handle-reuse-sync.html
             fast/workers/storage/change-version-sync.html
             fast/workers/storage/empty-statement-sync.html
             fast/workers/storage/execute-sql-args-sync.html
             fast/workers/storage/executesql-accepts-only-one-statement-sync.html
             fast/workers/storage/multiple-transactions-on-different-handles-sync.html
             fast/workers/storage/open-database-creation-callback-sync.html
             fast/workers/storage/open-database-empty-version-sync.html
             fast/workers/storage/open-database-inputs-sync.html
             fast/workers/storage/open-database-set-empty-version-sync.html
             fast/workers/storage/open-database-while-transaction-in-progress-sync.html
             fast/workers/storage/sql-data-types-sync.html
             fast/workers/storage/sql-exception-codes-sync.html
             fast/workers/storage/test-authorizer-sync.html
             fast/workers/storage/transaction-in-transaction-sync.html
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * storage/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::maximumSize):
      (WebCore::AbstractDatabase::incrementalVacuumIfNeeded):
      * storage/AbstractDatabase.h:
      (WebCore::AbstractDatabase::sqliteDatabase):
      * storage/ChangeVersionWrapper.cpp:
      (WebCore::ChangeVersionWrapper::performPreflight):
      (WebCore::ChangeVersionWrapper::performPostflight):
      * storage/Database.cpp:
      (WebCore::Database::performGetTableNames):
      * storage/Database.h:
      * storage/DatabaseAuthorizer.cpp:
      (WebCore::DatabaseAuthorizer::createVTable):
      (WebCore::DatabaseAuthorizer::dropVTable):
      * storage/DatabaseCallback.h:
      * storage/DatabaseSync.cpp:
      (WebCore::ChangeVersionPreflightStep::create):
      (WebCore::ChangeVersionPreflightStep::performStep):
      (WebCore::ChangeVersionPreflightStep::ChangeVersionPreflightStep):
      (WebCore::ChangeVersionPostflightStep::create):
      (WebCore::ChangeVersionPostflightStep::performStep):
      (WebCore::ChangeVersionPostflightStep::ChangeVersionPostflightStep):
      (WebCore::DatabaseSync::changeVersion):
      (WebCore::DatabaseSync::transaction):
      (WebCore::DatabaseSync::runTransaction):
      * storage/DatabaseSync.h:
      * storage/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::getMaxSizeForDatabase):
      * storage/SQLError.h:
      * storage/SQLResultSet.cpp:
      * storage/SQLResultSet.h:
      * storage/SQLStatementCallback.h:
      * storage/SQLStatementErrorCallback.h:
      * storage/SQLStatementSync.cpp: Copied from WebCore/storage/SQLStatement.cpp.
      (WebCore::SQLStatementSync::SQLStatementSync):
      (WebCore::SQLStatementSync::execute):
      * storage/SQLStatementSync.h: Added.
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::runCurrentStatement):
      (WebCore::SQLTransaction::deliverQuotaIncreaseCallback):
      (WebCore::SQLTransaction::postflightAndCommit):
      * storage/SQLTransaction.h:
      * storage/SQLTransactionCallback.h:
      * storage/SQLTransactionClient.cpp:
      (WebCore::SQLTransactionClient::didCommitWriteTransaction):
      (WebCore::SQLTransactionClient::didExecuteStatement):
      (WebCore::SQLTransactionClient::didExceedQuota):
      * storage/SQLTransactionClient.h:
      * storage/SQLTransactionErrorCallback.h:
      * storage/SQLTransactionSync.cpp:
      (WebCore::transactionClient):
      (WebCore::SQLTransactionSync::create):
      (WebCore::SQLTransactionSync::SQLTransactionSync):
      (WebCore::SQLTransactionSync::~SQLTransactionSync):
      (WebCore::SQLTransactionSync::executeSQL):
      (WebCore::SQLTransactionSync::begin):
      (WebCore::SQLTransactionSync::execute):
      (WebCore::SQLTransactionSync::commit):
      (WebCore::SQLTransactionSync::rollback):
      * storage/SQLTransactionSync.h:
      (WebCore::SQLTransactionSync::SQLTransactionSyncOptionalStep::~SQLTransactionSyncOptionalStep):
      * storage/SQLTransactionSyncCallback.h:
      * storage/chromium/SQLTransactionClientChromium.cpp:
      (WebCore::SQLTransactionClient::didCommitWriteTransaction):
      (WebCore::SQLTransactionClient::didExecuteStatement):
      (WebCore::SQLTransactionClient::didExceedQuota):
      
      LayoutTests: Porting as many async DB tests as possible to sync DBs.
      https://bugs.webkit.org/show_bug.cgi?id=40607
      
      Reviewed by Darin Fisher.
      
      * fast/workers/storage/change-version-handle-reuse-sync-expected.txt: Added.
      * fast/workers/storage/change-version-handle-reuse-sync.html: Added.
      * fast/workers/storage/change-version-sync-expected.txt: Added.
      * fast/workers/storage/change-version-sync.html: Added.
      * fast/workers/storage/empty-statement-sync-expected.txt: Added.
      * fast/workers/storage/empty-statement-sync.html: Added.
      * fast/workers/storage/execute-sql-args-sync-expected.txt: Added.
      * fast/workers/storage/execute-sql-args-sync.html: Added.
      * fast/workers/storage/executesql-accepts-only-one-statement-sync-expected.txt: Added.
      * fast/workers/storage/executesql-accepts-only-one-statement-sync.html: Added.
      * fast/workers/storage/multiple-transactions-on-different-handles-sync-expected.txt: Added.
      * fast/workers/storage/multiple-transactions-on-different-handles-sync.html: Added.
      * fast/workers/storage/open-database-creation-callback-sync-expected.txt: Added.
      * fast/workers/storage/open-database-creation-callback-sync.html: Added.
      * fast/workers/storage/open-database-empty-version-sync-expected.txt: Added.
      * fast/workers/storage/open-database-empty-version-sync.html: Added.
      * fast/workers/storage/open-database-inputs-sync-expected.txt: Copied from LayoutTests/fast/workers/storage/open-database-sync-inputs-expected.txt.
      * fast/workers/storage/open-database-inputs-sync.html: Copied from LayoutTests/fast/workers/storage/open-database-sync-inputs.html.
      * fast/workers/storage/open-database-set-empty-version-sync-expected.txt: Added.
      * fast/workers/storage/open-database-set-empty-version-sync.html: Added.
      * fast/workers/storage/open-database-sync-inputs-expected.txt: Removed.
      * fast/workers/storage/open-database-sync-inputs.html: Removed.
      * fast/workers/storage/open-database-while-transaction-in-progress-sync-expected.txt: Added.
      * fast/workers/storage/open-database-while-transaction-in-progress-sync.html: Added.
      * fast/workers/storage/resources/change-version-handle-reuse-sync.js: Added.
      (catch):
      * fast/workers/storage/resources/change-version-sync-1.js: Added.
      ():
      (try):
      * fast/workers/storage/resources/change-version-sync-2.js: Added.
      * fast/workers/storage/resources/empty-statement-sync.js: Added.
      * fast/workers/storage/resources/execute-sql-args-sync.js: Added.
      (throwOnToStringObject.toString):
      (var):
      ():
      (runTransactionTest):
      (runTransactionTests):
      * fast/workers/storage/resources/executesql-accepts-only-one-statement-sync.js: Added.
      (executeStatement):
      * fast/workers/storage/resources/multiple-transactions-on-different-handles-sync.js: Added.
      (runTransaction):
      (var):
      * fast/workers/storage/resources/multiple-transactions-sync.js: Added.
      (checkCompletion):
      (runTest.db):
      (runTest):
      * fast/workers/storage/resources/open-database-creation-callback-sync.js: Added.
      * fast/workers/storage/resources/open-database-empty-version-sync.js: Added.
      * fast/workers/storage/resources/open-database-inputs-sync.js: Copied from LayoutTests/fast/workers/storage/resources/open-database-sync-inputs.js.
      * fast/workers/storage/resources/open-database-set-empty-version-sync.js: Added.
      * fast/workers/storage/resources/open-database-sync-inputs.js: Removed.
      * fast/workers/storage/resources/open-database-while-transaction-in-progress-sync.js: Added.
      (openTestDatabase):
      * fast/workers/storage/resources/sql-data-types-sync.js: Added.
      ():
      (testDBValues):
      * fast/workers/storage/resources/sql-exception-codes-sync.js: Added.
      (testTransaction):
      ():
      (testInvalidStatement):
      (testIncorrectNumberOfBindParameters):
      (testBindParameterOfWrongType.badString.toString):
      (testBindParameterOfWrongType):
      (testVersionMismatch.testTransaction):
      (testVersionMismatch):
      * fast/workers/storage/resources/test-authorizer-sync.js: Added.
      (cleanup):
      (executeStatement):
      (createTableCallback):
      (createStatementsCallback):
      (otherStatementsCallback):
      (dropStatementsCallback):
      (testReadWriteMode):
      (testReadOnlyMode):
      * fast/workers/storage/resources/transaction-in-transaction-sync.js: Added.
      * fast/workers/storage/sql-data-types-sync-expected.txt: Added.
      * fast/workers/storage/sql-data-types-sync.html: Added.
      * fast/workers/storage/sql-exception-codes-sync-expected.txt: Added.
      * fast/workers/storage/sql-exception-codes-sync.html: Added.
      * fast/workers/storage/test-authorizer-sync-expected.txt: Added.
      * fast/workers/storage/test-authorizer-sync.html: Added.
      * fast/workers/storage/transaction-in-transaction-sync-expected.txt: Added.
      * fast/workers/storage/transaction-in-transaction-sync.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7beae72
    • commit-queue@webkit.org's avatar
      2010-07-13 Sheriff Bot <webkit.review.bot@gmail.com> · ab5039f3
      commit-queue@webkit.org authored
              Unreviewed, rolling out r63262.
              http://trac.webkit.org/changeset/63262
              https://bugs.webkit.org/show_bug.cgi?id=42229
      
              broke Windows compile (Requested by bweinstein on #webkit).
      
              * WebKit.pro:
      2010-07-13  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r63262.
              http://trac.webkit.org/changeset/63262
              https://bugs.webkit.org/show_bug.cgi?id=42229
      
              broke Windows compile (Requested by bweinstein on #webkit).
      
              * API/tests/testapi.c:
              (assertEqualsAsCharactersPtr):
              (main):
              * testapi.pro: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab5039f3
    • mjs@apple.com's avatar
      2010-07-13 Maciej Stachowiak <mjs@apple.com> · dea005f6
      mjs@apple.com authored
              Reviewed by Oliver Hunt.
      
              Add placebo versions of some repaint test functions to WebKitTestRunner - good enough for non-pixel tests
              https://bugs.webkit.org/show_bug.cgi?id=42227
      
              * platform/mac-wk2/Skipped: Skip some tests newly revealed as failing
              for an already-classified reason.
      2010-07-13  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Oliver Hunt.
      
              Add placebo versions of some repaint test functions to WebKitTestRunner - good enough for non-pixel tests
              https://bugs.webkit.org/show_bug.cgi?id=42227
      
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              (WTR::LayoutTestController::LayoutTestController): Initialize new bool
              members.
              (WTR::LayoutTestController::display): Dummy method.
              (WTR::displayCallback): Call the dummy.
              (WTR::repaintSweepHorizontallyCallback): ditto
              (WTR::testRepaintCallback): ditto
              (WTR::LayoutTestController::staticFunctions): Expose new methods.
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
              (WTR::LayoutTestController::setTestRepaint): Set the flag (which currently does
              nothing).
              (WTR::LayoutTestController::setTestRepaintSweepHorizontally): ditto
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dea005f6
    • commit-queue@webkit.org's avatar
      2010-07-13 Sheriff Bot <webkit.review.bot@gmail.com> · 4082256c
      commit-queue@webkit.org authored
              Unreviewed, rolling out r63162.
              http://trac.webkit.org/changeset/63162
              https://bugs.webkit.org/show_bug.cgi?id=42224
      
              This is no longer needed (Requested by olliej_ on #webkit).
      
              * bindings/v8/ScriptSourceCode.h:
              (WebCore::ScriptSourceCode::ScriptSourceCode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4082256c
    • eric@webkit.org's avatar
      2010-07-13 Eric Seidel <eric@webkit.org> · 10b6e808
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Fix my misreading of "clear to the last marker" in the HTML5 spec
              https://bugs.webkit.org/show_bug.cgi?id=42199
      
              * html5lib/runner-expected-html5.txt:
      2010-07-13  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Fix my misreading of "clear to the last marker" in the HTML5 spec
              https://bugs.webkit.org/show_bug.cgi?id=42199
      
              * html/HTMLFormattingElementList.cpp:
              (WebCore::HTMLFormattingElementList::clearToLastMarker):
              * html/HTMLFormattingElementList.h:
              * html/HTMLTreeBuilder.cpp:
              (WebCore::HTMLTreeBuilder::processBodyEndTagForInBody):
              (WebCore::HTMLTreeBuilder::processEndOfFile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10b6e808
    • oliver@apple.com's avatar
      2010-07-13 Oliver Hunt <oliver@apple.com> · 4637c32a
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              ES5 requires BOMs to be treated as whitespace
              https://bugs.webkit.org/show_bug.cgi?id=42218
      
              Add BOM character to the Lexer's definition of whitespace,
              and remove the logic that dealt with stripping BOMs and
              caching the cleaned string.
      
              * parser/Lexer.h:
              (JSC::Lexer::isWhiteSpace):
              * parser/SourceProvider.h:
              (JSC::UStringSourceProvider::create):
              (JSC::UStringSourceProvider::UStringSourceProvider):
              * wtf/text/StringImpl.h:
      2010-07-13  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              ES5 requires BOMs to be treated as whitespace
              https://bugs.webkit.org/show_bug.cgi?id=42218
      
              Update the fast/js/removing-Cf-characters to reflect
              new behaviour.  Update a whole group of sputnik results
              that we now pass.
      
              * fast/js/removing-Cf-characters-expected.txt:
              * fast/js/script-tests/removing-Cf-characters.js:
              * fast/js/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.1_T2-expected.txt:
              * fast/js/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.4_T2-expected.txt:
              * fast/js/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.1_T2-expected.txt:
              * fast/js/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.4_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_218/S7.1_A2.1_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_218/S7.1_A2.2_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_320/S7.1_A2.1_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_320/S7.1_A2.2_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_410/S7.1_A2.1_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_410/S7.1_A2.2_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_500/S7.1_A2.1_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_500/S7.1_A2.2_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_510/S7.1_A2.1_T2-expected.txt:
              * fast/js/sputnik/Unicode/Unicode_510/S7.1_A2.2_T2-expected.txt:
      2010-07-13  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              ES5 requires BOMs to be treated as whitespace
              https://bugs.webkit.org/show_bug.cgi?id=42218
      
              Remove BOM handling logic from WebCore Script objects.
      
              * bindings/js/StringSourceProvider.h:
              (WebCore::StringSourceProvider::StringSourceProvider):
              * loader/CachedScript.cpp:
              (WebCore::CachedScript::CachedScript):
              (WebCore::CachedScript::script):
              * loader/CachedScript.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4637c32a
    • ajwong@chromium.org's avatar
      Unreviewed, add details to chromium test expectations. · fd5a60ad
      ajwong@chromium.org authored
      Adding details and references to filed bugs to chromium expectations
      that were added in the past few days.  Also rebaseline the svg test.
      
      * platform/chromium-mac/svg/custom/clip-path-child-changes-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd5a60ad
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · d8eba34c
      simon.fraser@apple.com authored
              Fix Tiger build.
      
              Avoid non-ASCII in souce files to keep Tiger compiler happy.
      
              * WebView/WebRenderLayer.mm:
              (+[WebRenderLayer nameForLayer:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8eba34c
    • andreas.kling@nokia.com's avatar
      2010-07-13 Andreas Kling <andreas.kling@nokia.com> · 77bbd1bd
      andreas.kling@nokia.com authored
              Reviewed by Darin Adler.
      
              Canvas: rect(x,y,w,h) should move to (x,y) even if w=0 and h=0
              https://bugs.webkit.org/show_bug.cgi?id=42211
      
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::rect):
      2010-07-13  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Make our end tag in-foreign-content mode spec bug workarounds more closely match minefield
              https://bugs.webkit.org/show_bug.cgi?id=42187
      
              * html5lib/runner-expected-html5.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77bbd1bd
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 64f349f6
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Show IDs and classnames in layer tree dumps
              https://bugs.webkit.org/show_bug.cgi?id=42213
      
              When dumping the layer tree via showLayerTree(), include id and class attributes for
              ease of debugging.
      
              No tests, since this is debug-only code.
      
              * rendering/RenderLayer.cpp:
              (showLayerTree):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::RenderTreeAsText::writeRenderObject):
              * rendering/RenderTreeAsText.h:
              (WebCore::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64f349f6
    • andreas.kling@nokia.com's avatar
      2010-07-13 Andreas Kling <andreas.kling@nokia.com> · d9acc42f
      andreas.kling@nokia.com authored
              Reviewed by Darin Adler.
      
              Avoid slow-path for put() in Array.splice()
              https://bugs.webkit.org/show_bug.cgi?id=41920
      
              Defer creation of the returned array until its final size is known
              to avoid growing it while adding elements.
      
              * runtime/JSArray.cpp:
              (JSC::JSArray::JSArray): Add two modes of creation, CreateInitialized (old)
              and CreateCompact (which should only be used when constructing arrays whose
              size and contents are known at the time of creation.)
              (JSC::JSArray::setLength): Skip first consistency check if in CreateCompact
              initialization mode. (Only applies to non-empty arrays.)
              (JSC::JSArray::checkConsistency): Build fix (JSValue::type() is gone)
              * runtime/JSArray.h:
              (JSC::JSArray::uncheckedSetIndex): Added for fast initialization of compact
              arrays. Does no bounds or other sanity checking.
              * runtime/ArrayPrototype.cpp:
              (JSC::arrayProtoFuncSplice): Optimized creation of the returned JSArray.
              * runtime/ArrayConstructor.cpp:
              (JSC::constructArrayWithSizeQuirk): Pass CreateInitialized to ctor.
              * runtime/JSGlobalObject.h:
              (JSC::constructEmptyArray): Pass CreateInitialized to ctor.
              * runtime/RegExpConstructor.cpp:
              (JSC::RegExpMatchesArray::RegExpMatchesArray): Pass CreateInitialized to ctor.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9acc42f
    • barraclough@apple.com's avatar
      Bug 42207 - Clean up interface to compile executables, always check for exceptions · 40b4ad33
      barraclough@apple.com authored
      Reviewed by Oliver Hunt.
      
      Presently interface to compile executable is inconsistent between eval/program and
      function code, and is error prone in allowing a caller to byte compile without JIT
      compiling an executable (we rely on all executables with codeblocks having JIT code).
      Unify on an interface where all compilation is performed by a single compile (with
      ForCall|ForConstruct variants) method, and make all clients check for errors.
      
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::unwindCallFrame):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::executeCall):
      (JSC::Interpreter::executeConstruct):
      (JSC::Interpreter::prepareForRepeatCall):
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * parser/Parser.h:
      (JSC::Parser::isFunctionBodyNode):
      (JSC::Parser::parse):
      * runtime/ArrayPrototype.cpp:
      (JSC::isNumericCompareFunction):
      * runtime/ExceptionHelpers.cpp:
      (JSC::createStackOverflowError):
      * runtime/ExceptionHelpers.h:
      * runtime/Executable.cpp:
      (JSC::EvalExecutable::compileInternal):
      (JSC::ProgramExecutable::checkSyntax):
      (JSC::ProgramExecutable::compileInternal):
      (JSC::FunctionExecutable::compileForCallInternal):
      (JSC::FunctionExecutable::compileForConstructInternal):
      (JSC::FunctionExecutable::reparseExceptionInfo):
      (JSC::EvalExecutable::reparseExceptionInfo):
      (JSC::FunctionExecutable::fromGlobalCode):
      * runtime/Executable.h:
      (JSC::EvalExecutable::compile):
      (JSC::EvalExecutable::generatedBytecode):
      (JSC::EvalExecutable::generatedJITCode):
      (JSC::ProgramExecutable::compile):
      (JSC::ProgramExecutable::generatedBytecode):
      (JSC::ProgramExecutable::generatedJITCode):
      (JSC::FunctionExecutable::generatedBytecode):
      (JSC::FunctionExecutable::compileForCall):
      (JSC::FunctionExecutable::compileForConstruct):
      (JSC::FunctionExecutable::generatedJITCodeForConstructWithArityCheck):
      * runtime/FunctionConstructor.cpp:
      (JSC::constructFunction):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::argumentsGetter):
      * runtime/JSGlobalData.h:
      (JSC::JSGlobalData::canUseJIT):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40b4ad33
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 59f8b820
      simon.fraser@apple.com authored
              Build fix: fix WebCore exports by editing the .in file, rather than the generated file.
      
              * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59f8b820
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · d663a855
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=42216
              ResourceRequest::doUpdateResourceRequest() crashes if client denied request
      
              This is covered by many regression tests with patch for bug 42201 applied (because it makes
              us also use this code path for sync requests, and those currently have more strict limitations).
      
              * platform/network/cf/ResourceRequestCFNet.cpp:
              (WebCore::ResourceRequest::doUpdateResourceRequest): Added a null check.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d663a855
    • eric@webkit.org's avatar
      2010-07-13 Eric Seidel <eric@webkit.org> · f7e6145e
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Make our end tag in-foreign-content mode spec bug workarounds more closely match minefield
              https://bugs.webkit.org/show_bug.cgi?id=42187
      
              * html5lib/runner-expected-html5.txt:
      2010-07-13  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Make our end tag in-foreign-content mode spec bug workarounds more closely match minefield
              https://bugs.webkit.org/show_bug.cgi?id=42187
      
              I do not expect these work-arounds to be permanent.  Hixie has promised to
              addresses the feedback to the parser sections of HTML5 soon.
              I added these hacks to make our hacks more-closely match Minefield's hacks
              and thus have us "pass" a few more html5lib runner tests.
      
              We now pass all of the html5lib foreign content tests
              (thus we'll likely need to write more).
      
              Tested by html5lib/runner.html
      
              * html/HTMLElementStack.cpp:
              (WebCore::HTMLElementStack::contains):
              * html/HTMLElementStack.h:
              * html/HTMLTreeBuilder.cpp:
              (WebCore::HTMLTreeBuilder::processEndTag):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7e6145e
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 1df2d10b
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              <rdar://problem/8186963> Expose RenderLayer hierarchy via Obj-C for debugging.
      
              Add a WebRenderLayer class that reflects the RenderLayer tree into a hierarchy
              of Objective-C objects suitable for display in an outline view.
      
              * WebKit.exp: Export the WebRenderLayer Objective-C class.
              * WebView/WebRenderLayer.h: Added.
              * WebView/WebRenderLayer.mm: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1df2d10b
    • commit-queue@webkit.org's avatar
      2010-07-13 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> · 772f0294
      commit-queue@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Separate CoreFoundation specific tests in JSC's testapi.c
      
              testapi.c depends on the Core Foundation.
              https://bugs.webkit.org/show_bug.cgi?id=40058
      
              * WebKit.pro: enable compilation of JSC C API test.
      2010-07-13  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
      
              Reviewed by Oliver Hunt.
      
              testapi.c depends on the Core Foundation.
              https://bugs.webkit.org/show_bug.cgi?id=40058
      
              Separate CoreFoundation specific tests in JSC's testapi.c. Enabling it
              to compile in Qt environments.
      
              All tests should work except for the JSStringCreateWithCharacters() function,
              because its tests depend on Core Foundation specific functions.
      
              * API/tests/testapi.c:
              (testJSStringRefCF): moved CoreFoundation specific tests to this function.
              (main): The moves plus some minor tweaks.
              * testapi.pro: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      772f0294
    • ajwong@chromium.org's avatar
      Unreviewed, updating test expectatins. · 37af94bd
      ajwong@chromium.org authored
      [chromium] Adding more test expectations to bring chromium build
      green.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37af94bd
    • bweinstein@apple.com's avatar
      Sputnik tests aren't running on Windows · d3b983a5
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42208
              
      Reviewed by Steve Falkenburg.
      
      We should run the Sputnik tests on Windows, by unskipping fast/js/Sputnik, and adding Windows
      specific test results. There are 6 tests that needs Windows specific results. 3 of them are
      progressions (Unicode_510/S7.6_A3.2.html, Unicode_510/S7.6_A5.3_T1.html, Unicode_510/S7.6_A5.3_T2.html)
      and the others are failures that are being tracked by https://bugs.webkit.org/show_bug.cgi?id=42209.
      
      * platform/win/Skipped: Remove fast/js/sputnik from the Skipped list.
      * platform/win/fast/js/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt: Added progression.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt: Added progression.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt: Added progression.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3b983a5
    • tonyg@chromium.org's avatar
      2010-07-12 Tony Gentilcore <tonyg@chromium.org> · d79693f7
      tonyg@chromium.org authored
              Reviewed by Darin Fisher.
      
              Wire network times from ResourceLoadTiming to performance.timing
              https://bugs.webkit.org/show_bug.cgi?id=41824
      
              Expectations set to fail because --web-timing disabled by default.
      
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-expected.txt:
      2010-07-12  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Wire network times from ResourceLoadTiming to performance.timing
              https://bugs.webkit.org/show_bug.cgi?id=41824
      
              * page/Timing.cpp:
              (WebCore::Timing::domainLookupStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-domain-lookupstart
              (WebCore::Timing::domainLookupEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-domain-lookupend
              (WebCore::Timing::connectStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-connect-start
              (WebCore::Timing::connectEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-connect-end
              (WebCore::Timing::requestStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-request-start
              (WebCore::Timing::requestEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-request-end
              (WebCore::Timing::responseStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-response-start
              (WebCore::Timing::resourceLoadTiming):
              * page/Timing.h:
              * page/Timing.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d79693f7
    • commit-queue@webkit.org's avatar
      2010-07-13 Chris Guillory <chris.guillory@google.com> · 9f400002
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
              https://bugs.webkit.org/show_bug.cgi?id=42092
      
              * src/WebAccessibilityCacheImpl.cpp:
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f400002
    • andersca@apple.com's avatar
      Add support for URL frame loading using NPN_GetURLNotify · a053ab17
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42192
      
      Reviewed by Sam Weinig.
      
      WebCore:
      
      * WebCore.exp.in:
      Export ResourceRequestBase::setHTTPMethod and ResourceRequestBase::setURL.
      
      WebKit2:
      
      * WebProcess/Plugins/DummyPlugin.cpp:
      (WebKit::DummyPlugin::frameDidFinishLoading):
      (WebKit::DummyPlugin::frameDidFail):
      * WebProcess/Plugins/DummyPlugin.h:
      Add empty stubs.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      Implement NPN_GetURLNotify and have it call NetscapePlugin::loadURL.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::NetscapePlugin):
      Initialize m_nextRequestID to 0.
      
      (WebKit::NetscapePlugin::loadURL):
      Ask the plug-in controller to load the URL.
      
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      Add empty stubs for now.
      
      * WebProcess/Plugins/Plugin.h:
      Add new member functions for frame load notifications.
      
      * WebProcess/Plugins/PluginController.h:
      Add loadURL.
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::URLRequest::URLRequest):
      Add class that represents an URL request.
      
      (WebKit::PluginView::PluginView):
      Initialize m_pendingURLRequestsTimer.
      
      (WebKit::PluginView::~PluginView):
      Unset all active load listeners.
      
      (WebKit::PluginView::pendingURLRequestsTimerFired):
      Take the first request in the queue and process it.
      
      (WebKit::PluginView::performURLRequest):
      Call performFrameLoadURLRequest if necessary.
      
      (WebKit::PluginView::performFrameLoadURLRequest):
      Find a frame to load the request in. If a frame doesn't exist try to create a new frame.
      
      (WebKit::PluginView::loadURL):
      Create a URLRequest and add it to the queue.
      
      (WebKit::PluginView::didFinishLoad):
      Get the pending frame load request and call Plugin::frameDidFinishLoading.
      
      (WebKit::PluginView::didFailLoad):
      Get the pending frame load request and call Plugin::frameDidFail.
      
      * WebProcess/Plugins/PluginView.h:
      Inherit from WebFrame::LoadListener.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
      (WebKit::WebFrameLoaderClient::didFinishLoad):
      Call the WebFrame's load listener if needed.
      
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::WebFrame):
      Initialize m_loadListener to 0.
      
      * WebProcess/WebPage/WebFrame.h:
      Add a LoadListener class that the plug-in view can use to track frame loads.
      
      (WebKit::WebFrame::LoadListener::~LoadListener):
      (WebKit::WebFrame::setLoadListener):
      (WebKit::WebFrame::loadListener):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a053ab17
    • diegohcg@webkit.org's avatar
      2010-07-13 Diego Gonzalez <diegohcg@webkit.org> · 9707b1a0
      diegohcg@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] [WebKit2] Hook up navigation actions
              https://bugs.webkit.org/show_bug.cgi?id=42183
      
              Make Back, Forward, Stop and Reload being enable/disabled according
              page loading.
      
              * UIProcess/API/qt/ClientImpl.cpp:
              (qt_wk_didStartProvisionalLoadForFrame):
              (qt_wk_didCommitLoadForFrame):
              (qt_wk_didFinishLoadForFrame):
              (qt_wk_didFailLoadWithErrorForFrame):
              * UIProcess/API/qt/qwkpage.cpp:
              (QWKPagePrivate::updateAction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9707b1a0
    • zmo@google.com's avatar
      2010-07-04 Zhenyao Mo <zmo@google.com> · 2d85c6d7
      zmo@google.com authored
              Reviewed by Darin Fisher.
      
              Need to track texture completeness
              https://bugs.webkit.org/show_bug.cgi?id=41381
      
              Test: fast/canvas/webgl/texture-complete.html
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::WebGLRenderingContext): Init max texture level.
              (WebCore::WebGLRenderingContext::bindTexture): Pass max texture level to setTarget().
              (WebCore::WebGLRenderingContext::copyTexImage2D): Cache full texture info rather than partial.
              (WebCore::WebGLRenderingContext::generateMipmap): Ditto.
              (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
              (WebCore::WebGLRenderingContext::validateTexFuncParameters): Also validate level.
              * html/canvas/WebGLRenderingContext.h: Add max texture level.
              * html/canvas/WebGLTexture.cpp: Update the class to fully cache texture information and track NPOT and COMPLETE states.
              (WebCore::WebGLTexture::WebGLTexture):
              (WebCore::WebGLTexture::setTarget): Check whether the texture is initialized or has been deleted.
              (WebCore::WebGLTexture::setParameteri): Ditto.
              (WebCore::WebGLTexture::setParameterf): Ditto.
              (WebCore::WebGLTexture::setLevelInfo): Set texture info.
              (WebCore::WebGLTexture::generateMipmapLevelInfo): Generate texture info for all levels after generateMipmaps() is called.
              (WebCore::WebGLTexture::getInternalFormat): Return internal format on texture face 0 level 0.
              (WebCore::WebGLTexture::isNPOT): Check whether the texture is initialized or has been deleted.
              (WebCore::WebGLTexture::needToUseBlackTexture): Ditto.
              (WebCore::WebGLTexture::_deleteObject):
              (WebCore::WebGLTexture::mapTargetToIndex): Map target to index.
              (WebCore::WebGLTexture::canGenerateMipmaps): Check whether Mipmaps can be generated.
              (WebCore::WebGLTexture::computeLevelCount): Compute texture level count from width/height.
              (WebCore::WebGLTexture::update): Update NPOT/COMPLETE states.
              * html/canvas/WebGLTexture.h: Ditto.
              (WebCore::WebGLTexture::LevelInfo::LevelInfo): Add data structure to fully cache texture info.
              (WebCore::WebGLTexture::LevelInfo::setInfo): Set information.
      2010-07-04  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Fisher.
      
              Need to track texture completeness
              https://bugs.webkit.org/show_bug.cgi?id=41381
      
              * fast/canvas/webgl/texture-complete-expected.txt: Added.
              * fast/canvas/webgl/texture-complete.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d85c6d7
    • andreas.kling@nokia.com's avatar
      2010-07-13 Andreas Kling <andreas.kling@nokia.com> · 31e11a63
      andreas.kling@nokia.com authored
              Reviewed by Darin Adler.
      
              Canvas: drawImage() with wrong 'image' argument type should always throw TypeError
              https://bugs.webkit.org/show_bug.cgi?id=42160
      
              Updated 2d.drawImage.wrongtype.html from http://dvcs.w3.org/hg/html/
              and unskipped it.
      
              * canvas/philip/tests/2d.drawImage.wrongtype-expected.txt:
              * canvas/philip/tests/2d.drawImage.wrongtype.html:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
      2010-07-13  Andreas Kling  <andreas.kling@nokia.com>
      
              Reviewed by Darin Adler.
      
              Canvas: drawImage() with wrong 'image' argument type should always throw TypeError
              https://bugs.webkit.org/show_bug.cgi?id=42160
      
              Test: canvas/philip/tests/2d.drawImage.wrongtype.html
      
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              (WebCore::JSCanvasRenderingContext2D::drawImage): Throw TypeError instead of
              TYPE_MISMATCH_ERR if 'image' argument is not an image, canvas or video element.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31e11a63
    • andersca@apple.com's avatar
      Make all NPN_ functions static. · 0bee29b4
      andersca@apple.com authored
      Reviewed by Adam Roben.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bee29b4
    • kbr@google.com's avatar
      2010-07-13 Kenneth Russell <kbr@google.com> · 79ee1296
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Fold most WebGL script-tests into .html files
              https://bugs.webkit.org/show_bug.cgi?id=42204
      
              For each WebGL script-test layout test which has a corresponding
              copy in the Khronos repository, folded the .js into the .html. This
              will make it easier to synchronize these tests between repositories.
      
              * fast/canvas/webgl/error-reporting.html:
              * fast/canvas/webgl/get-active-test.html:
              * fast/canvas/webgl/gl-object-get-calls.html:
              * fast/canvas/webgl/incorrect-context-object-behaviour.html:
              * fast/canvas/webgl/index-validation.html:
              * fast/canvas/webgl/null-object-behaviour.html:
              * fast/canvas/webgl/null-uniform-location.html:
              * fast/canvas/webgl/script-tests/error-reporting.js: Removed.
              * fast/canvas/webgl/script-tests/get-active-test.js: Removed.
              * fast/canvas/webgl/script-tests/gl-object-get-calls.js: Removed.
              * fast/canvas/webgl/script-tests/incorrect-context-object-behaviour.js: Removed.
              * fast/canvas/webgl/script-tests/index-validation.js: Removed.
              * fast/canvas/webgl/script-tests/null-object-behaviour.js: Removed.
              * fast/canvas/webgl/script-tests/null-uniform-location.js: Removed.
              * fast/canvas/webgl/script-tests/uniform-location.js: Removed.
              * fast/canvas/webgl/uniform-location.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79ee1296
    • kbr@google.com's avatar
      2010-07-13 Kenneth Russell <kbr@google.com> · 4da4ca77
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Rename bug-zzzzz.html WebGL tests
              https://bugs.webkit.org/show_bug.cgi?id=42200
      
              Per changes already made to Khronos copy of tests, renamed:
                bug-31889.html to array-buffer-crash.html
                bug-32364.html to tex-image-and-uniform-binding-bugs.html
                bug-32692.html to index-validation-verifies-too-many-indices.html
                bug-32888.html to texture-transparent-pixels-initialized.html
      
              Deleted bug-32456.html because it is now redundant; its
              functionality is already in array-unit-tests.html.
      
              * fast/canvas/webgl/array-buffer-crash-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-31889-expected.txt.
              * fast/canvas/webgl/array-buffer-crash.html: Copied from LayoutTests/fast/canvas/webgl/bug-31889.html.
              * fast/canvas/webgl/bug-31889-expected.txt: Removed.
              * fast/canvas/webgl/bug-31889.html: Removed.
              * fast/canvas/webgl/bug-32364-expected.txt: Removed.
              * fast/canvas/webgl/bug-32364.html: Removed.
              * fast/canvas/webgl/bug-32456-expected.txt: Removed.
              * fast/canvas/webgl/bug-32456.html: Removed.
              * fast/canvas/webgl/bug-32692-expected.txt: Removed.
              * fast/canvas/webgl/bug-32692.html: Removed.
              * fast/canvas/webgl/bug-32888-expected.txt: Removed.
              * fast/canvas/webgl/bug-32888.html: Removed.
              * fast/canvas/webgl/index-validation-verifies-too-many-indices-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32692-expected.txt.
              * fast/canvas/webgl/index-validation-verifies-too-many-indices.html: Copied from LayoutTests/fast/canvas/webgl/bug-32692.html.
              * fast/canvas/webgl/tex-image-and-uniform-binding-bugs-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32364-expected.txt.
              * fast/canvas/webgl/tex-image-and-uniform-binding-bugs.html: Copied from LayoutTests/fast/canvas/webgl/bug-32364.html.
              * fast/canvas/webgl/texture-transparent-pixels-initialized-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32888-expected.txt.
              * fast/canvas/webgl/texture-transparent-pixels-initialized.html: Copied from LayoutTests/fast/canvas/webgl/bug-32888.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4da4ca77
    • ajwong@chromium.org's avatar
      Unreviewed, build fix. · 07d5c182
      ajwong@chromium.org authored
      Updating chromium test expectations to keep pace with regressions and
      baselines.
      
      * platform/chromium-linux/svg/custom/text-rotated-gradient-expected.checksum:
      * platform/chromium-linux/svg/custom/text-rotated-gradient-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d5c182
    • mjs@apple.com's avatar
      2010-07-13 Maciej Stachowiak <mjs@apple.com> · b66e1951
      mjs@apple.com authored
              Reviewed by Anders Carlsson.
      
              Skip various layout tests for WebKit2 due to missing WK or DRT features
              https://bugs.webkit.org/show_bug.cgi?id=42198
      
              * platform/mac-wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b66e1951