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

Unified Diff: Source/core/xml/DOMParser.h

Issue 24483007: Make DOMParser::parseFromString specification compliant and throw exception in error scenario. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch after adding descriptive message. Created 7 years, 3 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
Index: Source/core/xml/DOMParser.h
diff --git a/Source/core/xml/DOMParser.h b/Source/core/xml/DOMParser.h
index 020debaa4b8c8f72cf07207d493744e80f2b2c42..afe0d16433ce5ec935e5e4dce6c0c40c78a8da3d 100644
--- a/Source/core/xml/DOMParser.h
+++ b/Source/core/xml/DOMParser.h
@@ -27,12 +27,13 @@
namespace WebCore {
class Document;
+class ExceptionState;
class DOMParser : public RefCounted<DOMParser>, public ScriptWrappable {
public:
static PassRefPtr<DOMParser> create() { return adoptRef(new DOMParser); }
- PassRefPtr<Document> parseFromString(const String&, const String& contentType);
+ PassRefPtr<Document> parseFromString(const String&, const String& contentType, ExceptionState&);
private:
DOMParser()
« no previous file with comments | « LayoutTests/fast/dom/domparser-parsefromstring-mimetype-support-expected.txt ('k') | Source/core/xml/DOMParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698