Bug 720985 - Temporarily whitelist properties leaked by Fennec tests [r=dao]

This commit is contained in:
Matt Brubeck 2012-02-03 08:20:08 -08:00
Родитель 48aca11689
Коммит c44b78c57a
1 изменённых файлов: 30 добавлений и 1 удалений

Просмотреть файл

@ -95,7 +95,36 @@ Tester.prototype = {
this._cs.registerListener(this);
this._globalProperties = Object.keys(window);
this._globalPropertyWhitelist = ["navigator", "constructor", "Application",
"__SS_tabsToRestore", "webConsoleCommandController"];
"__SS_tabsToRestore", "webConsoleCommandController",
// Temporarily added to whitelist for Fennec tests:
"AddonUpdateChecker",
"PlacesAggregatedTransaction",
"PlacesCreateFolderTransaction",
"PlacesCreateBookmarkTransaction",
"PlacesCreateSeparatorTransaction",
"PlacesCreateLivemarkTransaction",
"PlacesMoveItemTransaction",
"PlacesRemoveItemTransaction",
"PlacesEditItemTitleTransaction",
"PlacesEditBookmarkURITransaction",
"PlacesSetItemAnnotationTransaction",
"PlacesSetPageAnnotationTransaction",
"PlacesEditBookmarkKeywordTransaction",
"PlacesEditBookmarkPostDataTransaction",
"PlacesEditLivemarkSiteURITransaction",
"PlacesEditLivemarkFeedURITransaction",
"PlacesEditItemDateAddedTransaction",
"PlacesEditItemLastModifiedTransaction",
"PlacesSortFolderByNameTransaction",
"PlacesTagURITransaction",
"PlacesUntagURITransaction",
"DownloadUtils",
"AddonRepository",
"LocaleRepository",
"Contacts",
"VKBstateHasChanged"
];
if (this.tests.length)
this.nextTest();