• xiaochengh's avatar
    Allow test runner to run a callback when finishing a spellcheck request · 5fe2c6a2
    xiaochengh authored
    This patch adds a new method setSpellCheckResolvedCallback to test
    runner, so that layout tests can run script when a spell check request
    is resolved, which can be used to inspect spelling markers in a
    better manner. It also adds removeSpellCheckResolvedCallback for clearing
    a previously set callback.
    
    Currently layout tests can only set a timeout to wait for markers to appear.
    Follow-up patches will utilize this new method in layout tests.
    
    BUG=674819
    
    Review-Url: https://codereview.chromium.org/2587823003
    Cr-Commit-Position: refs/heads/master@{#439725}
    5fe2c6a2
test_runner.cc 94.8 KB