summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/DOMParser.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/DOMParser.idl')
-rw-r--r--Source/WebCore/xml/DOMParser.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/xml/DOMParser.idl b/Source/WebCore/xml/DOMParser.idl
index 4d4c6b160..964e4ad73 100644
--- a/Source/WebCore/xml/DOMParser.idl
+++ b/Source/WebCore/xml/DOMParser.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -19,8 +19,8 @@
[
Constructor,
+ ConstructorCallWith=Document,
ImplementationLacksVTable,
] interface DOMParser {
- [RaisesException] Document parseFromString([Default=Undefined] optional DOMString str,
- [Default=Undefined] optional DOMString contentType);
+ [MayThrowException, NewObject] Document parseFromString(DOMString string, DOMString contentType);
};