| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
|
| index fab8d6ab5a48fb2f900816d2af1261bcb73c8ca2..bb5076779baa2e6efe1faaab4522a5fa4468cc45 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
|
| @@ -303,3 +303,13 @@ TEST_F('CursorsTest', 'WrappingCursors', function() {
|
| assertEquals(root.firstChild.firstChild, cursor.node);
|
| });
|
| });
|
| +
|
| +TEST_F('CursorsTest', 'IsInWebRange', function() {
|
| + this.runWithLoadedTree(this.simpleDoc, function(root) {
|
| + var para = root.firstChild;
|
| + var webRange = new cursors.Range.fromNode(para);
|
| + var auraRange = cursors.Range.fromNode(root.parent);
|
| + assertFalse(auraRange.isWebRange());
|
| + assertTrue(webRange.isWebRange());
|
| + });
|
| +});
|
|
|