mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 22:53:08 +00:00
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:
parent
b1bbaf3b73
commit
9474a7b343
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user