Bug 93649, document.plugins should map to document.embeds for NS4

compatibility. r=bzbarsky@mit.edu, sr=jst@netscape.com, a=roc+moz
This commit is contained in:
hidday%geocities.com 2002-02-21 12:15:34 +00:00
parent b1bbaf3b73
commit 9474a7b343

View File

@ -2652,7 +2652,6 @@ nsHTMLDocument::Write()
return ScriptWriteCommon(PR_FALSE);
}
NS_IMETHODIMP
nsHTMLDocument::Writeln()
{
@ -3255,6 +3254,15 @@ nsHTMLDocument::GetCompatMode(nsAWritableString& aCompatMode)
return NS_OK;
}
// Mapped to document.embeds for NS4 compatibility
NS_IMETHODIMP
nsHTMLDocument::GetPlugins(nsIDOMHTMLCollection** aPlugins)
{
*aPlugins = nsnull;
return GetEmbeds(aPlugins);
}
PR_STATIC_CALLBACK(PLDHashOperator)
IdAndNameMapEntryRemoveCallback(PLDHashTable *table, PLDHashEntryHdr *hdr,
PRUint32 number, void *arg)