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

Unified Diff: third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 months 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
Index: third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp b/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
index 5537087dfe78f443ad0df306b9960730a5ae643b..fe6bc1115e6861bef28187d856c7e06a0aeb23eb 100644
--- a/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
+++ b/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
@@ -99,7 +99,8 @@ TEST_F(EphemeralRangeTest, rangeTraversalLimited) {
// Get a limited range from <body> to <b> nodes.
Range* untilB = getBodyRange();
- untilB->setEnd(document().getElementById("one"), 0, IGNORE_EXCEPTION);
+ untilB->setEnd(document().getElementById("one"), 0,
+ IGNORE_EXCEPTION_FOR_TESTING);
EXPECT_EQ("[BODY][P id=\"host\"][B id=\"one\"]", traverseRange<>(untilB));
EXPECT_EQ(traverseRange<>(untilB), traverseRange(EphemeralRange(untilB)));
@@ -111,8 +112,10 @@ TEST_F(EphemeralRangeTest, rangeTraversalLimited) {
// Get a limited range from <b> to <span> nodes.
Range* fromBToSpan = getBodyRange();
- fromBToSpan->setStart(document().getElementById("one"), 0, IGNORE_EXCEPTION);
- fromBToSpan->setEnd(document().getElementById("two"), 0, IGNORE_EXCEPTION);
+ fromBToSpan->setStart(document().getElementById("one"), 0,
+ IGNORE_EXCEPTION_FOR_TESTING);
+ fromBToSpan->setEnd(document().getElementById("two"), 0,
+ IGNORE_EXCEPTION_FOR_TESTING);
EXPECT_EQ("[B id=\"one\"][INPUT][SPAN id=\"two\"]",
traverseRange<>(fromBToSpan));
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.cpp ('k') | third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698