emscripten-core / emscripten-core/emscripten
WebIDL + JSImplementation + DOMString
Open
good first bug
help wanted
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
The following IDL does not generate correct bindings:
```
interface CTest
{
void CTest();
void OnStartElement([Const] DOMString pszName, [Const] DOMString[] papszAttrs);
};
[JSImplementation = "CTest"]
interface CTestJS {
void CTestJS();
void OnStartElement([Const] DOMString pszName, [Const] DOMString[] papszAttrs);
};
```
Specifically both pszName + papszAttrs end up in the JS code as pointers.
Contributor guide
Assessment
This issue has not been assessed yet.