bytecodealliance / bytecodealliance/StarlingMonkey

Transform stream `readable_get` and `writable_get` assertion failures

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
288
Forks
57
PR merge metrics
No merged PRs in 30d

Description

In the WPT debug build, `readable_get` and `writable_get` call `readable` and `writable` respectively, which fail an assertion when looking like:

```c++
JSObject *TransformStream::readable(JSObject *self) {
MOZ_ASSERT(is_instance(self));
return &JS::GetReservedSlot(self, TransformStream::Slots::Readable).toObject();
}
```

that the slot fails `toObject()`. In https://github.com/bytecodealliance/StarlingMonkey/pull/113 an explicit check is added, but this only hides the existing bug which still needs to be resolved.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.