Closed Bug 1624490 Opened 4 years ago Closed 4 years ago

Allow declared segments to contain ref.null

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

Details

Attachments

(1 file)

The spec allows for declared segments to contain null [1], but we don't allow this. I believe the reason I didn't was that I couldn't see a use-case for it, but I can't really see any argument against allowing it either.

[1] https://webassembly.github.io/reference-types/core/valid/modules.html#element-segments

Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/b89a4862242c
Allow ref.null in declared segments. r=lth
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/f8086519b208
Allow ref.null in declared segments. r=lth
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: