Bug 127770 - Refactoring design-mode-spellcheck-off.html to use asynchronous spellchecking
Summary: Refactoring design-mode-spellcheck-off.html to use asynchronous spellchecking
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Grzegorz Czajkowski
URL:
Keywords:
Depends on:
Blocks: 125689
  Show dependency treegraph
 
Reported: 2014-01-28 02:46 PST by Grzegorz Czajkowski
Modified: 2014-02-14 05:54 PST (History)
1 user (show)

See Also:


Attachments
Patch (5.75 KB, patch)
2014-01-28 02:49 PST, Grzegorz Czajkowski
rniwa: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Czajkowski 2014-01-28 02:46:49 PST
Enable asynchronous spellchecking in design-mode-spellcheck-off.html.
Comment 1 Grzegorz Czajkowski 2014-01-28 02:49:20 PST
Created attachment 222426 [details]
Patch
Comment 2 Grzegorz Czajkowski 2014-02-10 00:08:31 PST
Comment on attachment 222426 [details]
Patch

Hi Ryosuke, I am looking forward to seeing your comments.
Comment 3 Ryosuke Niwa 2014-02-13 23:42:22 PST
Comment on attachment 222426 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=222426&action=review

> LayoutTests/editing/spelling/design-mode-spellcheck-off.html:4
> +<script src="../editing.js"></script>

Looks like we can just include this inside body like the other script element.

> LayoutTests/editing/spelling/design-mode-spellcheck-off.html:27
> +    if (!window.internals)
> +        return;
>  

It would be better if we had this check before shouldBecomeDifferent
so that we can test it in the browser as well as DRT/WTR.
Comment 4 Grzegorz Czajkowski 2014-02-14 05:54:05 PST
Committed r164101: <http://trac.webkit.org/changeset/164101>