Closed Bug 1750077 Opened 3 years ago Closed 1 year ago

Func directive does not cause header to be included with DedicatedWorkerGlobalScope

Categories

(Core :: DOM: Bindings (WebIDL), defect, P3)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: aosmond, Assigned: peterv)

References

Details

Attachments

(1 file)

With the patch in:

https://phabricator.services.mozilla.com/D135928?id=527808

CanvasUtils.h does not get included in the DedicatedWorkerGlobalScopeBinding.cpp (see attached). This causes a build failure.

Blocks: 1749323
Severity: -- → S2
Priority: -- → P2

Hi Andrew,
We're reviewing S2 bugs and wondering if this is still a valid S2. Since bug 1749323 has been fixed, how important is this for OffscreenCanvas work? Thank you.

Flags: needinfo?(aosmond)

I worked around it, so feel free to be put into the backlog.

Flags: needinfo?(aosmond)
Severity: S2 → S3
Priority: P2 → P3

DedicatedWorkerGlobalScope uses a custom header (see https://searchfox.org/mozilla-central/rev/1f27a4022f9f1269d897526c1c892a57743e650c/dom/bindings/Bindings.conf#183-185), in which case that header needs to include whatever is needed. See item 4 in https://firefox-source-docs.mozilla.org/dom/webIdlBindings/index.html#adding-web-idl-bindings-to-a-class: "Note that using a 'headerFile' annotation is generally not recommended. If you do use it, you will need to make sure your header includes all the headers needed for your Func annotations."

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: