| Index: third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html
|
| diff --git a/third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html b/third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html
|
| index 42d0ad4cb683390f894d0e5722a50ef008fbdbf4..a8d5a2d2ec635093d5a194b0f30fc07571d3fdff 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html
|
| +++ b/third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html
|
| @@ -15,10 +15,9 @@ function testNull()
|
| shouldThrow('selection.addRange(null)');
|
| }
|
|
|
| -function testDetachedRange()
|
| +function testEmptyRange()
|
| {
|
| var range = new Range();
|
| - range.detach();
|
| selection.addRange(range);
|
| }
|
|
|
| @@ -73,7 +72,7 @@ function runSingleTest(testFunction)
|
| shouldEvaluateTo('selection.getRangeAt(0).endOffset', 0);
|
| }
|
|
|
| -var testFunctions = [testNull, testDetachedRange, testNotInDocumentRange, testOtherDocument, testOtherDocumentFragments];
|
| +var testFunctions = [testNull, testEmptyRange, testNotInDocumentRange, testOtherDocument, testOtherDocumentFragments];
|
| testFunctions.forEach(runSingleTest);
|
| </script>
|
| </body>
|
|
|