mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1651265 - Ensure DiscoveryStreamFeed exists before trying to access it in browser_no_startup_actions.js to fix an intermittent orange. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D83955
This commit is contained in:
parent
2046699f13
commit
3d8ed5dd22
@ -45,7 +45,7 @@ add_task(async function test_no_startup_actions() {
|
||||
let feed = AboutNewTab.activityStream.store.feeds.get(
|
||||
"feeds.discoverystreamfeed"
|
||||
);
|
||||
return feed.loaded;
|
||||
return feed?.loaded;
|
||||
});
|
||||
|
||||
// Wait an additional few seconds for any other actions to get displayed.
|
||||
|
Loading…
Reference in New Issue
Block a user