зеркало из https://github.com/mozilla/pjs.git
Bug 181803: Invalidate nsXPathResult when the nodevalue of a node is changed.
r=Pike sr=peterv a=asa
This commit is contained in:
Родитель
23a9b5e669
Коммит
93b2efffa0
|
@ -205,28 +205,18 @@ nsXPathResult::SnapshotItem(PRUint32 aIndex, nsIDOMNode **aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMPL_NSIDOCUMENTOBSERVER_CORE_STUB(nsXPathResult)
|
||||
NS_IMPL_NSIDOCUMENTOBSERVER_LOAD_STUB(nsXPathResult)
|
||||
NS_IMPL_NSIDOCUMENTOBSERVER_REFLOW_STUB(nsXPathResult)
|
||||
NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(nsXPathResult)
|
||||
NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(nsXPathResult)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPathResult::BeginUpdate(nsIDocument* aDocument)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPathResult::EndUpdate(nsIDocument* aDocument)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPathResult::ContentChanged(nsIDocument* aDocument,
|
||||
nsIContent *aContent,
|
||||
nsISupports *aSubContent)
|
||||
{
|
||||
Invalidate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -282,13 +272,6 @@ nsXPathResult::ContentRemoved(nsIDocument* aDocument,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPathResult::DocumentWillBeDestroyed(nsIDocument* aDocument)
|
||||
{
|
||||
Invalidate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsXPathResult::SetExprResult(ExprResult* aExprResult, PRUint16 aResultType)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче