Chromium Code Reviews| Index: LayoutTests/editing/spelling/spellcheck-paste-disabled.html |
| diff --git a/LayoutTests/editing/spelling/spellcheck-paste-disabled.html b/LayoutTests/editing/spelling/spellcheck-paste-disabled.html |
| index 7d53c4cc8e38316c0bc940829e652ee1e14bca9a..857f37d5e2ba61b38d1028dde8539ceae31dffcf 100644 |
| --- a/LayoutTests/editing/spelling/spellcheck-paste-disabled.html |
| +++ b/LayoutTests/editing/spelling/spellcheck-paste-disabled.html |
| @@ -28,15 +28,15 @@ document.execCommand("InsertText", false, 'p'); |
| document.execCommand("InsertText", false, 'p'); |
| document.execCommand("InsertText", false, 'l'); |
| document.execCommand("InsertText", false, 'e'); |
| -shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', function(){}); |
| -window.getSelection().selectAllChildren(srcNode); |
| -document.execCommand('Copy'); |
| - |
| -var dstNode = document.getElementById('dst'); |
| -dstNode.focus(); |
| -document.execCommand('Paste'); |
| -shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', finishJSTest); |
| +shouldBecomeEqual('internals.hasSpellingMarker(document, 0, 2)', 'true', function(){ |
|
please use gerrit instead
2015/02/10 22:57:50
Ditto.
grzegorz
2015/02/11 10:54:23
Ditto :)
|
| + window.getSelection().selectAllChildren(srcNode); |
| + document.execCommand('Copy'); |
| + var dstNode = document.getElementById('dst'); |
| + dstNode.focus(); |
| + document.execCommand('Paste'); |
| + shouldBecomeDifferent('internals.hasSpellingMarker(document, 0, 2)', 'true', finishJSTest); |
| +}); |
| </script> |
| </body> |
| </html> |