Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/addRange-failures.html

Issue 1516553002: Remove deprecation messages for no-ops that are left in the specs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and update tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/addRange-failures-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/addRange-failures-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698