Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
index 9247542f8a9b558d4adf342dcc43abcd401a4896..f5c16a1a367698d9dd5ffded0a5a7b7b0402b9e8 100644 |
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
@@ -347,7 +347,8 @@ bool ContainerNode::checkParserAcceptChild(const Node& newChild) const { |
return true; |
// TODO(esprehn): Are there other conditions where the parser can create |
// invalid trees? |
- return toDocument(*this).canAcceptChild(newChild, nullptr, IGNORE_EXCEPTION); |
+ return toDocument(*this).canAcceptChild(newChild, nullptr, |
+ IGNORE_EXCEPTION_FOR_TESTING); |
} |
void ContainerNode::parserInsertBefore(Node* newChild, Node& nextChild) { |