Closed Bug 2027213 Opened 5 months ago Closed 3 months ago

Avoid having "windows.h" in header files in WebSerial

Categories

(Core :: DOM: Web Serial, task)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: gstoll, Assigned: gstoll)

References

Details

Attachments

(1 file)

See suggestion here

I also tried inlining a bunch of PosixSerialPlatformService.h into the
.cpp file and similar for Win32, but this caused a lot of code churn
and I couldn't get it to work for Win32 (something to do with including
<windows.h> and getting mozilla:: prefixed versions of DWORD). Anyway,
this change still avoids including <windows.h> in anything other than
Win32SerialPlatformService.h, which is now only included from
Win32SerialPlatformService.cpp.

Assignee: nobody → gstoll
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
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: