Closed Bug 1529294 Opened 5 years ago Closed 5 years ago

Add a test for ArrayBuffers with external contents not being serializable

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

I thought based on code inspection this was Problematic, then I tried it out and found out about the preflight-the-graph that weeds out these sorts of buffers already when I wrote this test.

But hey, this test seems useful to actually exercise an edge case -- why not land it?

Attached patch PatchSplinter Review
Attachment #9045257 - Flags: review?(sphink)
Comment on attachment 9045257 [details] [diff] [review]
Patch

Review of attachment 9045257 [details] [diff] [review]:
-----------------------------------------------------------------

That is a remarkably complete exercise of that particular codepath.
Attachment #9045257 - Flags: review?(sphink) → review+
Pushed by jwalden@mit.edu:
https://hg.mozilla.org/integration/mozilla-inbound/rev/086f0ad27487
Add a test for ArrayBuffers with external contents not being serializable.  r=sfink
Pushed by jwalden@mit.edu:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9cb1a38c00ed
Add a test for ArrayBuffers with external contents not being serializable.  r=sfink
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: