зеркало из https://github.com/mozilla/gecko-dev.git
Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc
This commit is contained in:
Родитель
2cd6055329
Коммит
bc4d80925c
|
@ -145,7 +145,7 @@ nsHTMLSourceElement::BindToTree(nsIDocument *aDocument,
|
|||
aCompileEventHandlers);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (!aParent->IsNodeOfType(nsINode::eMEDIA))
|
||||
if (!aParent || !aParent->IsNodeOfType(nsINode::eMEDIA))
|
||||
return NS_OK;
|
||||
|
||||
nsHTMLMediaElement* media = static_cast<nsHTMLMediaElement*>(aParent);
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<source xmlns="http://www.w3.org/1999/xhtml"/>
|
|
@ -4,3 +4,5 @@ load 468763-1.html
|
|||
load 474744-1.html
|
||||
load 493915-1.html
|
||||
load 495794-1.html
|
||||
load 492286-1.xhtml
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче