Closed Bug 1717758 Opened 3 years ago Closed 3 years ago

Make CompileToStencilXDR return opaque object

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://phabricator.services.mozilla.com/D118312#inline-655826

Currently CompileToStencilXDR returns an ArrayBuffer, but it's used only by EvalStencilXDR, and modifying the ArrayBuffer content isn't something useful for automated tests, unless the format is completely fixed (stabilized?).

Also, if we want to fuzz XDR decoder, it should be done with explicit/dedicate testing function that understands the format, instead of operating on the ArrayBuffer with normal typed-array API.

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/2908e06fa1ac Return opaque object from compileToStencilXDR testing function, and mark it fuzzing-safe. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: