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

Unified Diff: Source/core/dom/DOMImplementation.cpp

Issue 363383004: Exception should not be ignored on appendChild in DOMImplementation::createHTMLDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMImplementation.cpp
diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
index 8d766b7baaad357172280e8a564818440e43ea0d..2a6afbc32ac7065f2a978af1c4eb66c0aeb8cbb5 100644
--- a/Source/core/dom/DOMImplementation.cpp
+++ b/Source/core/dom/DOMImplementation.cpp
@@ -333,7 +333,7 @@ PassRefPtrWillBeRawPtr<HTMLDocument> DOMImplementation::createHTMLDocument(const
ASSERT(headElement);
RefPtrWillBeRawPtr<HTMLTitleElement> titleElement = HTMLTitleElement::create(*d);
headElement->appendChild(titleElement);
- titleElement->appendChild(d->createTextNode(title), IGNORE_EXCEPTION);
+ titleElement->appendChild(d->createTextNode(title), ASSERT_NO_EXCEPTION);
}
d->setSecurityOrigin(document().securityOrigin()->isolatedCopy());
d->setContextFeatures(document().contextFeatures());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698