Closed Bug 2029352 Opened 5 months ago Closed 2 months ago

Pass in SerialPlatformService to SerialManager

Categories

(Core :: DOM: Web Serial, task, P3)

task

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: gstoll, Assigned: gstoll)

References

Details

Attachments

(1 file)

See this comment - this would clean up our error handling if the SerialPlatformService doesn't exist.

Blocks: webserial

The severity field is not set for this bug.
:cmartin, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cmartin)
Severity: -- → S4
Flags: needinfo?(cmartin)
Priority: -- → P3
Type: defect → task
Severity: S4 → --

I looked into passing the SerialPlatformService into the SerialManagerParent,
but this is a bit awkward because the constructor can't return an error. But I
did cache the SerialPlatformService in SerialManagerParent::Init() and removed
several now unneeded null checks elsewhere.

Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [qa-triage-done-c155/b154]
Component: DOM: Device Interfaces → Dom: Web Serial
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: