Open Bug 726423 Opened 13 years ago Updated 2 years ago

Need API for using externally managed data in ArrayBuffer for V8Monkey

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: till, Unassigned)

References

Details

As mentioned in bug 720949 comment 14, to implement V8's API for ArrayBuffers, SpiderMonkey's ArrayBuffer needs the ability to manage external data provided by the embedding. In difference to the requirements in that bug, it must be possible to let the embedding continue to change that data.

In bug 720949 comment 17, sfink says that this should be much easier once bug 586842 is done.
Depends on: 586842
Thanks for setting the depends flag, sfink. I just got Edit Bugs permissions, so in the future I'll set stuff like that myself.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Bug 827490 just landed.  Does that help?
Presumably, yes. As nobody is working on V8Monkey right now, this isn't a priority ATM, though.
(In reply to Nicholas Nethercote [:njn] from comment #2)
> Bug 827490 just landed.  Does that help?

Sorry, should have replied sooner.

Unfortunately, no. That was the opinion of both bhackett and Waldo. Bug 827490 didn't really change the fundamental layout of objects.
(In reply to Till Schneidereit [:till] from comment #3)
> Presumably, yes. As nobody is working on V8Monkey right now, this isn't a
> priority ATM, though.

Oh, and I should mention that this is wanted for a number of things, not just V8Monkey. It would improve the handling of audio buffers, for example.
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.