mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 460665. Whack another XBL sink mole. r+sr=sicking
This commit is contained in:
parent
a1f18eb0e6
commit
da63bc8f87
28
content/xbl/crashtests/460665-1.xhtml
Normal file
28
content/xbl/crashtests/460665-1.xhtml
Normal file
@ -0,0 +1,28 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="a">
|
||||
<content></content>
|
||||
<implementation>
|
||||
<field>t</field>
|
||||
<field/>
|
||||
<property/>
|
||||
<property>
|
||||
<getter>x</getter>
|
||||
<setter>y</setter>
|
||||
</property>
|
||||
<method/>
|
||||
<method>
|
||||
<body/>
|
||||
</method>
|
||||
<method>
|
||||
<body>a</body>
|
||||
</method>
|
||||
</implementation>
|
||||
</binding>
|
||||
</bindings>
|
||||
</head>
|
||||
|
||||
<body><span id="s" style="-moz-binding: url('#a');"></span></body>
|
||||
</html>
|
@ -14,3 +14,4 @@ load 418133-1.xhtml
|
||||
load 415192-1.xul
|
||||
load 421997-1.xhtml
|
||||
load 432813-1.xhtml
|
||||
load 460665-1.xhtml
|
||||
|
@ -159,7 +159,8 @@ nsXBLContentSink::FlushText(PRBool aReleaseTextNode)
|
||||
}
|
||||
else if (mSecondaryState == eXBL_InField) {
|
||||
// Get the text and add it to the method
|
||||
mField->AppendFieldText(text);
|
||||
if (mField)
|
||||
mField->AppendFieldText(text);
|
||||
}
|
||||
mTextLength = 0;
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user