Open Bug 1624203 Opened 5 years ago Updated 10 months ago

ServiceWorkerManager::ReportToAllClients ignores aFlag parameter

Categories

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

task

Tracking

()

People

(Reporter: evilpies, Unassigned)

References

Details

(Whiteboard: dom-lws-bugdash-triage)

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
Type: defect → task
Whiteboard: dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.