mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
24778bda71
and efficiency. Tighten checks on document properties and node properties. Should resolve several bugs: 18965 document.firstChild vulnerability 19043 document.childNodes vulnerability 19044 document.lastChild vulnerability r=mstoltz
56 lines
1.9 KiB
C++
56 lines
1.9 KiB
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Netscape Public License
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
* http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
* for the specific language governing rights and limitations under the
|
|
* NPL.
|
|
*
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
* Reserved.
|
|
*/
|
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
|
|
|
#ifndef nsIDOMXULEditorElement_h__
|
|
#define nsIDOMXULEditorElement_h__
|
|
|
|
#include "nsISupports.h"
|
|
#include "nsString.h"
|
|
#include "nsIScriptContext.h"
|
|
#include "nsIDOMXULElement.h"
|
|
|
|
class nsIEditorShell;
|
|
|
|
#define NS_IDOMXULEDITORELEMENT_IID \
|
|
{ 0x9a248050, 0x82d8, 0x11d3, \
|
|
{ 0xaf, 0x76, 0x0, 0xa0, 0x24, 0xff, 0xc0, 0x8c } }
|
|
|
|
class nsIDOMXULEditorElement : public nsIDOMXULElement {
|
|
public:
|
|
static const nsIID& GetIID() { static nsIID iid = NS_IDOMXULEDITORELEMENT_IID; return iid; }
|
|
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell)=0;
|
|
};
|
|
|
|
|
|
#define NS_DECL_IDOMXULEDITORELEMENT \
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell); \
|
|
|
|
|
|
|
|
#define NS_FORWARD_IDOMXULEDITORELEMENT(_to) \
|
|
NS_IMETHOD GetEditorShell(nsIEditorShell** aEditorShell) { return _to GetEditorShell(aEditorShell); } \
|
|
|
|
|
|
extern "C" NS_DOM nsresult NS_InitXULEditorElementClass(nsIScriptContext *aContext, void **aPrototype);
|
|
|
|
extern "C" NS_DOM nsresult NS_NewScriptXULEditorElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
|
|
|
#endif // nsIDOMXULEditorElement_h__
|