зеркало из https://github.com/mozilla/pjs.git
Bug 614279: Make nsHTMLDataListElement QI to its own CC participant. r=peterv a=blocking-final
This commit is contained in:
Родитель
5e12c78bb1
Коммит
6f3b59a5ed
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var a = document.createElementNS("http://www.w3.org/1999/xhtml", "datalist");
|
||||
var b = document.createElementNS("http://www.w3.org/1999/xhtml", "option");
|
||||
|
||||
a.appendChild(b);
|
||||
b.expando = a.options;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -23,4 +23,5 @@ load 596785-2.html
|
|||
load 606430-1.html
|
||||
load 602117.html
|
||||
load 613027.html
|
||||
load 614279.html
|
||||
load 614988-1.html
|
||||
|
|
|
@ -95,7 +95,8 @@ nsHTMLDataListElement::~nsHTMLDataListElement()
|
|||
}
|
||||
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsHTMLDataListElement)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsHTMLDataListElement,
|
||||
nsGenericHTMLElement)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mOptions)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
||||
|
||||
|
@ -110,7 +111,7 @@ NS_IMPL_RELEASE_INHERITED(nsHTMLDataListElement, nsGenericElement)
|
|||
|
||||
DOMCI_NODE_DATA(HTMLDataListElement, nsHTMLDataListElement)
|
||||
|
||||
NS_INTERFACE_TABLE_HEAD(nsHTMLDataListElement)
|
||||
NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLDataListElement)
|
||||
NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLDataListElement, nsIDOMHTMLDataListElement)
|
||||
NS_HTML_CONTENT_INTERFACE_TABLE_TO_MAP_SEGUE(nsHTMLDataListElement,
|
||||
nsGenericHTMLElement)
|
||||
|
|
Загрузка…
Ссылка в новой задаче