Closed Bug 1887083 Opened 8 months ago Closed 7 months ago

Fix function type of 'substring' builtin

Categories

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

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We currently have it return a nullable externref, when it should be a non-nullable externref.

The proposal has all the builtins return non-nullable externref, so update the
implementation. The exception is concat, but I think this will change so I
filed [1].

[1] https://github.com/WebAssembly/js-string-builtins/issues/24

Assignee: nobody → rhunt
Status: NEW → ASSIGNED

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:rhunt, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(ydelendik)
Flags: needinfo?(rhunt)
Pushed by ydelendik@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aeb5f7fdde18 wasm: Mark js-string builtin function results as non-nullable. r=yury
Flags: needinfo?(ydelendik)
Flags: needinfo?(rhunt)
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: