Func directive does not cause header to be included with DedicatedWorkerGlobalScope
Categories
(Core :: DOM: Bindings (WebIDL), defect, P3)
Tracking
()
People
(Reporter: aosmond, Assigned: peterv)
References
Details
Attachments
(1 file)
|
33.49 KB,
text/x-c++src
|
Details |
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.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
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.
| Reporter | ||
Comment 2•3 years ago
|
||
I worked around it, so feel free to be put into the backlog.
Updated•3 years ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
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."
Description
•