[Webkit-unassigned] [Bug 103454] Typed Arrays should be part of JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 30 09:26:36 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103454





--- Comment #3 from Oliver Hunt <oliver at apple.com>  2012-11-30 09:28:54 PST ---
(In reply to comment #2)
> I noticed that for the jsc command line tool, the Typed Arrays are actually exposed and can be used. This does not expose the prototype and some API methods, but I guess it's a testament that Typed Arrays really are fully defined internally in JSC itself. See jsc.cpp around line 224:
> 
> addConstructableFunction(globalData, "Uint8Array", constructJSUint8Array, 1);
> ...
> 
> I understand that Typed Arrays are not part of the ECMA spec, so maybe a compile switch for JSC could control if the API is exposed or not!?

No, jsc has internally defined a bunch of types that are sufficiently abi compatible for the engine to use them in place of the clusterfuck that is the w3c typed array spec.  They don't have any of the necessary concepts to be used as the basis for the w3c typed arrays, and jsc can only support one or the other of these models.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list