| Index: third_party/WebKit/Source/core/dom/NodeTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/NodeTest.cpp b/third_party/WebKit/Source/core/dom/NodeTest.cpp
|
| index 2a77ff339274a6b01f9e471773682730b71e217a..f826de199a3ac8edb2352b50f4346a4b78cc6301 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeTest.cpp
|
| @@ -36,6 +36,15 @@ TEST_F(NodeTest, canStartSelectionWithShadowDOM)
|
| EXPECT_FALSE(one->firstChild()->canStartSelection());
|
| }
|
|
|
| +TEST_F(NodeTest, canStartSelectionWithPlugin)
|
| +{
|
| + const char* bodyContent = "<embed id=one>";
|
| + setBodyContent(bodyContent);
|
| + Node* one = document().getElementById("one");
|
| +
|
| + EXPECT_FALSE(one->canStartSelection());
|
| +}
|
| +
|
| TEST_F(NodeTest, customElementState)
|
| {
|
| const char* bodyContent = "<div id=div></div>";
|
|
|