Skip to content
  • commit-queue@webkit.org's avatar
    Source/WebCore: Spellcheck should be able to run asynchronously. · efdb3d9e
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71991
    
    Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-22
    Reviewed by Hajime Morita.
    
    Run asynchronous spell checker if both asynchronous flag and unified text checker flag are ON.
    
    When multiple asynchronous spellchecking are requested, only the first request will be processed.
    
    Test: editing/spelling/spellcheck-async.html
    
    * editing/Editor.cpp:
    (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
      Uses asynchronous spell checker if asynchronous flag is ON.
    
    LayoutTests: Spellcheck should be able to run asynchronously
    https://bugs.webkit.org/show_bug.cgi?id=71991
    
    Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-22
    Reviewed by Hajime Morita.
    
    Added asynchronouse spell checking tests.
    Fixed tests that fails tearing down.
    
    * editing/spelling/script-tests/spellcheck-paste.js: Fixed tearing down.
    * editing/spelling/spellcheck-async-expected.txt: Added.
    * editing/spelling/spellcheck-async.html: Added.
    * editing/spelling/spelling-unified-emulation.html: Fixed tearing down.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    efdb3d9e