Open Bug 1624203 Opened 4 years ago Updated 4 years ago

ServiceWorkerManager::ReportToAllClients ignores aFlag parameter

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

People

(Reporter: evilpie, Unassigned)

References

Details

Callers to ReportToAllClients seems to pass nsIScriptError flags for the aFlag parameter. The function itself however just ignores this parameter and always uses ConsoleUtils::eError. To me it seems like nsIScriptError::warningFlag should probably result in ConsoleUtils::eWarning. Maybe in practice this parameter is always errorFlag, but there a lot of callers even going across IPDL, so checking that isn't trivial.

Related: ServiceWorkerManager::HandleError ignores aExnType.

See Also: → 1622562
Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.