forked from mirrors/gecko-dev
Before this change, there was raciness in this test due to the queries to insert the opened tabs into the moz_openpages_temp table occuring at the same time as the queries to read from that table in other components. This patch makes the test initialize the DB connection earlier, and ensure that no statements are still pending when running to hopefully avoid potential races caused by the async nature of the database connection. Differential Revision: https://phabricator.services.mozilla.com/D141809 |
||
|---|---|---|
| .. | ||
| content | ||
| test | ||
| ContentRestore.jsm | ||
| ContentSessionStore.jsm | ||
| GlobalState.jsm | ||
| jar.mn | ||
| moz.build | ||
| RecentlyClosedTabsAndWindowsMenuUtils.jsm | ||
| RunState.jsm | ||
| SessionCookies.jsm | ||
| SessionFile.jsm | ||
| SessionMigration.jsm | ||
| SessionSaver.jsm | ||
| SessionStartup.jsm | ||
| SessionStore.jsm | ||
| SessionWriter.jsm | ||
| StartupPerformance.jsm | ||
| TabAttributes.jsm | ||
| TabState.jsm | ||
| TabStateCache.jsm | ||
| TabStateFlusher.jsm | ||