Closed Bug 1963323 Opened 1 year ago Closed 10 months ago

Fix metadata handling of Wasm GC objects

Categories

(Core :: JavaScript: WebAssembly, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1814520

People

(Reporter: jandem, Unassigned)

References

Details

This is caught by the assertion I'm adding in bug 1963320. I'll ignore these Wasm GC objects there for now, but we should fix this and remove the special-case there.

The issue is that WasmArrayObject::class_ and the WasmStructObject classes have JSCLASS_DELAY_METADATA_BUILDER but they don't use AutoSetNewObjectMetadata.

We should probably also add some tests (using enableShellAllocationMetadataBuilder and getAllocationMetadata).

See Also: → 1963320

I think bug 1814520 is related, or maybe even the same bug.

Severity: -- → N/A
Type: task → defect
Priority: -- → P3
See Also: → 1814520

This is a duplicate of bug 1814520 and I'm fixing it there.

Status: NEW → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1814520
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.