| Index: third_party/WebKit/Source/core/dom/RangeTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/RangeTest.cpp b/third_party/WebKit/Source/core/dom/RangeTest.cpp
|
| index 18762ae057dca43843925470908c0a40543d310e..61ac3b4ae8d1a0e501fe145789b873b2cf3c44f5 100644
|
| --- a/third_party/WebKit/Source/core/dom/RangeTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/RangeTest.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "core/dom/Range.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "bindings/core/v8/V8BindingForTesting.h"
|
| #include "core/dom/Element.h"
|
| #include "core/dom/NodeList.h"
|
| #include "core/dom/Text.h"
|
| @@ -63,6 +64,8 @@ TEST_F(RangeTest, extractContentsWithDOMMutationEvent) {
|
| }
|
|
|
| TEST_F(RangeTest, SplitTextNodeRangeWithinText) {
|
| + V8TestingScope scope;
|
| +
|
| document().body()->setInnerHTML("1234");
|
| Text* oldText = toText(document().body()->firstChild());
|
|
|
| @@ -102,6 +105,8 @@ TEST_F(RangeTest, SplitTextNodeRangeWithinText) {
|
| }
|
|
|
| TEST_F(RangeTest, SplitTextNodeRangeOutsideText) {
|
| + V8TestingScope scope;
|
| +
|
| document().body()->setInnerHTML(
|
| "<span id=\"outer\">0<span id=\"inner-left\">1</span>SPLITME<span "
|
| "id=\"inner-right\">2</span>3</span>");
|
|
|