Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor broken site report message handlers #2939

Merged
merged 11 commits into from
Feb 17, 2025
2 changes: 2 additions & 0 deletions shared/js/background/broken-site-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ export async function breakageReportForTab({
export async function sendBreakageReportForCurrentTab({ pixelName, currentTab, category, description, reportFlow }) {
await settings.ready();
await tdsStorage.ready('config');
kzar marked this conversation as resolved.
Show resolved Hide resolved
// wait for onload callbacks (to ensure that config has been correctly processed)
await tdsStorage.config.allLoadingFinished

const tab = currentTab || (await tabManager.getOrRestoreCurrentTab());
if (!tab) {
Expand Down
Loading