зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1248267 - fix unit test to deal with recent bookmarks static items. r=dao
This commit is contained in:
Родитель
08e2673c63
Коммит
3211708050
|
@ -322,7 +322,7 @@ function getNodeForToolbarItem(aItemId, aValidator) {
|
|||
var child = children[i];
|
||||
|
||||
// Is this a Places node?
|
||||
if (!child._placesNode) {
|
||||
if (!child._placesNode || child.hasAttribute("simulated-places-node")) {
|
||||
staticNodes++;
|
||||
continue;
|
||||
}
|
||||
|
@ -365,7 +365,7 @@ function getNodeForMenuItem(aItemId, aValidator) {
|
|||
var child = children[i];
|
||||
|
||||
// Is this a Places node?
|
||||
if (!child._placesNode) {
|
||||
if (!child._placesNode || child.hasAttribute("simulated-places-node")) {
|
||||
staticNodes++;
|
||||
continue;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче