Changeset 141354 in webkit


Ignore:
Timestamp:
Jan 30, 2013 6:07:58 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Tests for spellcheck behavior
https://bugs.webkit.org/show_bug.cgi?id=108405

Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-01-30
Reviewed by Tony Chang.

  • editing/spelling/resources/util.js: Added. Boilerplate for spellcheck tests.
  • editing/spelling/spelling-double-clicked-word.html: Added. Spelling should work for double-clicked misspellings.
  • editing/spelling/spelling-double-clicked-word-with-underscores.html: Added. Underscores should be treated as whitespace: spelling should ignore them.
  • editing/spelling/spelling-exactly-selected-multiple-words.html: Added. Spelling should work when the user selects a multi-word misspelling exactly.
  • editing/spelling/spelling-exactly-selected-word.html: Added. Spelling should work when the user selects the misspelled word exactly.
  • editing/spelling/spelling-multiword-selection.html: Added. Spelling should be disabled when user selects multiple words that are not a single misspelling.
  • editing/spelling/spelling-should-select-multiple-words.html: Added. Spellcheck should select multi-word misspellings on context click.
  • editing/spelling/spelling-should-select-single-word.html: Added. Spellcheck should select the misspelled word on context click.
  • editing/spelling/spelling-subword-selection.html: Added. Spelling should be disabled when user selects a part of misspelling.
  • editing/spelling/spelling-with-punctuation-selection.html: Added. Punctuation marks should be treated as whitespace: spelling should ignore them.
  • editing/spelling/spelling-with-underscore-selection.html: Added. Underscores should be treated as whitespace: spelling should ignore them.
  • editing/spelling/spelling-with-whitespace-selection.html: Added. Spelling should ignore whitespace.
  • editing/spelling/spelling-double-clicked-word-expected.txt: Added.
  • editing/spelling/spelling-double-clicked-word-with-underscores-expected.txt: Added.
  • editing/spelling/spelling-exactly-selected-multiple-words-expected.txt: Added.
  • editing/spelling/spelling-exactly-selected-word-expected.txt: Added.
  • editing/spelling/spelling-multiword-selection-expected.txt: Added.
  • editing/spelling/spelling-should-select-multiple-words-expected.txt: Added.
  • editing/spelling/spelling-should-select-single-word-expected.txt: Added.
  • editing/spelling/spelling-subword-selection-expected.txt: Added.
  • editing/spelling/spelling-with-punctuation-selection-expected.txt: Added.
  • editing/spelling/spelling-with-underscore-selection-expected.txt: Added.
  • editing/spelling/spelling-with-whitespace-selection-expected.txt: Added.
  • platform/chromium/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/efl/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/gtk/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/mac/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/qt/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/wincairo/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/win/TestExpectations: Skip the tests until the platform implements the behavior.
  • platform/wk2/TestExpectations: Skip the tests until the platform implements the behavior.
Location:
trunk/LayoutTests
Files:
24 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r141347 r141354  
     12013-01-30  Rouslan Solomakhin  <rouslan@chromium.org>
     2
     3        Tests for spellcheck behavior
     4        https://bugs.webkit.org/show_bug.cgi?id=108405
     5
     6        Reviewed by Tony Chang.
     7
     8        * editing/spelling/resources/util.js: Added. Boilerplate for spellcheck tests.
     9        * editing/spelling/spelling-double-clicked-word.html: Added. Spelling should work for double-clicked misspellings.
     10        * editing/spelling/spelling-double-clicked-word-with-underscores.html: Added. Underscores should be treated as whitespace: spelling should ignore them.
     11        * editing/spelling/spelling-exactly-selected-multiple-words.html: Added. Spelling should work when the user selects a multi-word misspelling exactly.
     12        * editing/spelling/spelling-exactly-selected-word.html: Added. Spelling should work when the user selects the misspelled word exactly.
     13        * editing/spelling/spelling-multiword-selection.html: Added. Spelling should be disabled when user selects multiple words that are not a single misspelling.
     14        * editing/spelling/spelling-should-select-multiple-words.html: Added. Spellcheck should select multi-word misspellings on context click.
     15        * editing/spelling/spelling-should-select-single-word.html: Added. Spellcheck should select the misspelled word on context click.
     16        * editing/spelling/spelling-subword-selection.html: Added. Spelling should be disabled when user selects a part of misspelling.
     17        * editing/spelling/spelling-with-punctuation-selection.html: Added. Punctuation marks should be treated as whitespace: spelling should ignore them.
     18        * editing/spelling/spelling-with-underscore-selection.html: Added. Underscores should be treated as whitespace: spelling should ignore them.
     19        * editing/spelling/spelling-with-whitespace-selection.html: Added. Spelling should ignore whitespace.
     20        * editing/spelling/spelling-double-clicked-word-expected.txt: Added.
     21        * editing/spelling/spelling-double-clicked-word-with-underscores-expected.txt: Added.
     22        * editing/spelling/spelling-exactly-selected-multiple-words-expected.txt: Added.
     23        * editing/spelling/spelling-exactly-selected-word-expected.txt: Added.
     24        * editing/spelling/spelling-multiword-selection-expected.txt: Added.
     25        * editing/spelling/spelling-should-select-multiple-words-expected.txt: Added.
     26        * editing/spelling/spelling-should-select-single-word-expected.txt: Added.
     27        * editing/spelling/spelling-subword-selection-expected.txt: Added.
     28        * editing/spelling/spelling-with-punctuation-selection-expected.txt: Added.
     29        * editing/spelling/spelling-with-underscore-selection-expected.txt: Added.
     30        * editing/spelling/spelling-with-whitespace-selection-expected.txt: Added.
     31        * platform/chromium/TestExpectations: Skip the tests until the platform implements the behavior.
     32        * platform/efl/TestExpectations: Skip the tests until the platform implements the behavior.
     33        * platform/gtk/TestExpectations: Skip the tests until the platform implements the behavior.
     34        * platform/mac/TestExpectations: Skip the tests until the platform implements the behavior.
     35        * platform/qt/TestExpectations: Skip the tests until the platform implements the behavior.
     36        * platform/wincairo/TestExpectations: Skip the tests until the platform implements the behavior.
     37        * platform/win/TestExpectations: Skip the tests until the platform implements the behavior.
     38        * platform/wk2/TestExpectations: Skip the tests until the platform implements the behavior.
     39
    1402013-01-30  Tony Chang  <tony@chromium.org>
    241
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r141340 r141354  
    44234423webkit.org/b/108285 [ Debug ] fast/workers/storage/test-authorizer-sync.html [ Crash ]
    44244424webkit.org/b/108285 [ Debug ] http/tests/workers/terminate-during-sync-operation.html [ Crash ]
     4425
     4426# Spellchecker behavior tests.
     4427webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     4428webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     4429webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     4430webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     4431webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     4432webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     4433webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     4434webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     4435webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     4436webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     4437webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
  • trunk/LayoutTests/platform/efl/TestExpectations

    r141346 r141354  
    18271827# empty position:fixed element gets a layer. Should not happen after r141039
    18281828webkit.org/b/108339 compositing/layer-creation/fixed-position-no-content.html [ Failure ]
     1829
     1830# Spellchecker behavior tests.
     1831webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     1832webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     1833webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     1834webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     1835webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     1836webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     1837webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     1838webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     1839webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     1840webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     1841webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r141346 r141354  
    14221422webkit.org/b/108363 fullscreen/video-specified-size.html [ Failure ]
    14231423
     1424# Spellchecker behavior tests.
     1425webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     1426webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     1427webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     1428webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     1429webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     1430webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     1431webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     1432webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     1433webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     1434webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     1435webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
     1436
    14241437#////////////////////////////////////////////////////////////////////////////////////////
    14251438# End of Tests failing
  • trunk/LayoutTests/platform/mac/TestExpectations

    r141251 r141354  
    12981298
    12991299webkit.org/b/108291 [ Lion ] accessibility/lists.html [ Failure ]
     1300
     1301# Spellchecker behavior tests.
     1302webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     1303webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     1304webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     1305webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     1306webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     1307webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     1308webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     1309webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     1310webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     1311webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     1312webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
  • trunk/LayoutTests/platform/qt/TestExpectations

    r141346 r141354  
    810810# https://bugs.webkit.org/show_bug.cgi?id=89199
    811811editing/spelling/grammar-edit-word.html
     812
     813# Spellchecker behavior tests.
     814# https://bugs.webkit.org/show_bug.cgi?id=108370
     815editing/spelling/spelling-double-clicked-word.html
     816editing/spelling/spelling-double-clicked-word-with-underscores.html
     817editing/spelling/spelling-exactly-selected-multiple-words.html
     818editing/spelling/spelling-exactly-selected-word.html
     819editing/spelling/spelling-multiword-selection.html
     820editing/spelling/spelling-should-select-multiple-words.html
     821editing/spelling/spelling-should-select-single-word.html
     822editing/spelling/spelling-subword-selection.html
     823editing/spelling/spelling-with-punctuation-selection.html
     824editing/spelling/spelling-with-underscore-selection.html
     825editing/spelling/spelling-with-whitespace-selection.html
    812826
    813827# =========================================================================== #
  • trunk/LayoutTests/platform/win/TestExpectations

    r141346 r141354  
    25902590http/tests/incremental/pause-in-script-element.pl
    25912591fast/text/international/harfbuzz-buffer-overrun.html
     2592
     2593# Spellchecker behavior tests.
     2594webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     2595webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     2596webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     2597webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     2598webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     2599webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     2600webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     2601webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     2602webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     2603webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     2604webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
  • trunk/LayoutTests/platform/wincairo/TestExpectations

    r141346 r141354  
    29792979fast/css3-text/css3-text-align-last/getComputedStyle/getComputedStyle-text-align-last.html
    29802980fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html
     2981
     2982# Spellchecker behavior tests.
     2983webkit.org/b/108370 editing/spelling/spelling-double-clicked-word.html [ Skip ]
     2984webkit.org/b/108370 editing/spelling/spelling-double-clicked-word-with-underscores.html [ Skip ]
     2985webkit.org/b/108370 editing/spelling/spelling-exactly-selected-multiple-words.html [ Skip ]
     2986webkit.org/b/108370 editing/spelling/spelling-exactly-selected-word.html [ Skip ]
     2987webkit.org/b/108370 editing/spelling/spelling-multiword-selection.html [ Skip ]
     2988webkit.org/b/108370 editing/spelling/spelling-should-select-multiple-words.html [ Skip ]
     2989webkit.org/b/108370 editing/spelling/spelling-should-select-single-word.html [ Skip ]
     2990webkit.org/b/108370 editing/spelling/spelling-subword-selection.html [ Skip ]
     2991webkit.org/b/108370 editing/spelling/spelling-with-punctuation-selection.html [ Skip ]
     2992webkit.org/b/108370 editing/spelling/spelling-with-underscore-selection.html [ Skip ]
     2993webkit.org/b/108370 editing/spelling/spelling-with-whitespace-selection.html [ Skip ]
  • trunk/LayoutTests/platform/wk2/TestExpectations

    r140416 r141354  
    412412editing/spelling/spelling-attribute-at-child.html
    413413editing/spelling/spelling-attribute-change.html
     414editing/spelling/spelling-double-clicked-word.html
     415editing/spelling/spelling-double-clicked-word-with-underscores.html
     416editing/spelling/spelling-exactly-selected-multiple-words.html
     417editing/spelling/spelling-exactly-selected-word.html
     418editing/spelling/spelling-hasspellingmarker.html
    414419editing/spelling/spelling-linebreak.html
    415 editing/spelling/spelling-hasspellingmarker.html
     420editing/spelling/spelling-multiword-selection.html
     421editing/spelling/spelling-should-select-multiple-words.html
     422editing/spelling/spelling-should-select-single-word.html
     423editing/spelling/spelling-subword-selection.html
     424editing/spelling/spelling-with-punctuation-selection.html
     425editing/spelling/spelling-with-underscore-selection.html
     426editing/spelling/spelling-with-whitespace-selection.html
    416427platform/mac/editing/spelling/delete-into-misspelled-word.html
    417428platform/mac/editing/spelling/editing-multiple-words-with-markers.html
Note: See TracChangeset for help on using the changeset viewer.