Bug 34714. Only add 'default' containment properties if the 'containment' attribute *isn't* set on the root. r=rjc, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65440 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b7c9edaaf2
commit
8f1bbc4ff7
@ -5283,7 +5283,7 @@ RDFGenericBuilderImpl::ComputeContainmentProperties()
|
||||
}
|
||||
|
||||
#if defined(TREE_PROPERTY_HACK)
|
||||
if (!len || 1 /*XXX*/) {
|
||||
if (! len) {
|
||||
// Some ever-present membership tests.
|
||||
mContainmentProperties.Add(kNC_child);
|
||||
mContainmentProperties.Add(kNC_Folder);
|
||||
|
||||
@ -5283,7 +5283,7 @@ RDFGenericBuilderImpl::ComputeContainmentProperties()
|
||||
}
|
||||
|
||||
#if defined(TREE_PROPERTY_HACK)
|
||||
if (!len || 1 /*XXX*/) {
|
||||
if (! len) {
|
||||
// Some ever-present membership tests.
|
||||
mContainmentProperties.Add(kNC_child);
|
||||
mContainmentProperties.Add(kNC_Folder);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user