diff options
Diffstat (limited to 'Source/WebCore/dom/Comment.idl')
-rw-r--r-- | Source/WebCore/dom/Comment.idl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/dom/Comment.idl b/Source/WebCore/dom/Comment.idl index d928c6ef1..579adb4af 100644 --- a/Source/WebCore/dom/Comment.idl +++ b/Source/WebCore/dom/Comment.idl @@ -18,8 +18,9 @@ */ [ - Constructor([Default=NullString] optional DOMString data), - ConstructorCallWith=ScriptExecutionContext + Constructor(optional DOMString data), + ConstructorCallWith=Document, + JSGenerateToJSObject ] interface Comment : CharacterData { }; |