зеркало из https://github.com/mozilla/gecko-dev.git
Bug 619997 - Remove support for Document.renameNode; r=sicking
This commit is contained in:
Родитель
002581d137
Коммит
55fe3dd1ff
|
@ -6179,16 +6179,6 @@ nsDocument::NormalizeDocument()
|
|||
return Normalize();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocument::RenameNode(nsIDOMNode *aNode,
|
||||
const nsAString& namespaceURI,
|
||||
const nsAString& qualifiedName,
|
||||
nsIDOMNode **aReturn)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocument::GetOwnerDocument(nsIDOMDocument** aOwnerDocument)
|
||||
{
|
||||
|
|
|
@ -1404,15 +1404,6 @@ nsHTMLDocument::NormalizeDocument()
|
|||
return nsDocument::NormalizeDocument();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::RenameNode(nsIDOMNode* aNode,
|
||||
const nsAString& aNamespaceURI,
|
||||
const nsAString& aQualifiedName,
|
||||
nsIDOMNode** aRetval)
|
||||
{
|
||||
return nsDocument::RenameNode(aNode, aNamespaceURI, aQualifiedName, aRetval);
|
||||
}
|
||||
|
||||
//
|
||||
// nsIDOMHTMLDocument interface implementation
|
||||
//
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
|
||||
*/
|
||||
|
||||
[scriptable, uuid(cf88ac5e-49d9-4294-9255-ff80a1727f91)]
|
||||
[scriptable, uuid(1ae51729-c57c-43cd-91f4-2ffee5c5d493)]
|
||||
interface nsIDOMDocument : nsIDOMNode
|
||||
{
|
||||
readonly attribute nsIDOMDocumentType doctype;
|
||||
|
@ -110,9 +110,4 @@ interface nsIDOMDocument : nsIDOMNode
|
|||
raises(DOMException);
|
||||
// Introduced in DOM Level 3:
|
||||
void normalizeDocument();
|
||||
// Introduced in DOM Level 3:
|
||||
nsIDOMNode renameNode(in nsIDOMNode node,
|
||||
in DOMString namespaceURI,
|
||||
in DOMString qualifiedName)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMDocument.idl"
|
||||
|
||||
[scriptable, uuid(207ccc34-b14f-4d2f-8cbf-028e0ed73d6f)]
|
||||
[scriptable, uuid(38708cf6-d055-4618-9d8f-a8731834d63f)]
|
||||
interface nsIDOMXMLDocument : nsIDOMDocument
|
||||
{
|
||||
// DOM Level 3 Load & Save, DocumentLS
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(8f9cc6bb-539d-4d2a-bef8-aabb942d1b36)]
|
||||
[scriptable, uuid(42de381d-1535-4223-b7d9-a9d7c250f9a7)]
|
||||
interface nsIDOMHTMLDocument : nsIDOMDocument
|
||||
{
|
||||
attribute DOMString title;
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
interface nsIDOMSVGSVGElement;
|
||||
|
||||
[scriptable, uuid(19004064-4ba6-4d0e-bcaf-fb42b0d3038b)]
|
||||
[scriptable, uuid(b0cb0f05-6fd4-4f2c-8a6c-aac63bc90cad)]
|
||||
interface nsIDOMSVGDocument : nsIDOMDocument
|
||||
/* , nsIDOMDocumentEvent */
|
||||
{
|
||||
|
|
|
@ -108,7 +108,6 @@ members = [
|
|||
'nsIDOMDocument.createTextNode',
|
||||
'nsIDOMDocument.documentURI',
|
||||
'nsIDOMDocument.adoptNode',
|
||||
'nsIDOMDocument.renameNode',
|
||||
'nsIDOMElement.removeAttributeNS',
|
||||
'nsIDOMElement.removeAttribute',
|
||||
'nsIDOMElement.getAttribute',
|
||||
|
|
Загрузка…
Ссылка в новой задаче