зеркало из https://github.com/mozilla/pjs.git
Bug 720985 - Temporarily whitelist properties leaked by Fennec tests [r=dao]
This commit is contained in:
Родитель
48aca11689
Коммит
c44b78c57a
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче