-
inferno@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=107699 Reviewed by Eric Seidel. Source/WebCore: * dom/ContainerNode.cpp: (WebCore::ContainerNode::parserInsertBefore): Use ASSERT_WITH_SECURITY_IMPLICATION for document confusion ASSERT(document() == newChild->document()) (WebCore::ContainerNode::parserAppendChild): same. Source/WTF: * wtf/Assertions.h: Add ASSERT_WITH_SECURITY_IMPLICATION to indicate possible security vulnerabily and enable it by default in fuzzing builds. * wtf/Vector.h: Use ASSERT_WITH_SECURITY_IMPLICATION for bounds check on [] operator. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82fbd821