As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 622300 - Speed up DOM JS-to-C++ unwrapping some more
: Speed up DOM JS-to-C++ unwrapping some more
Product: Core
Classification: Components
Component: XPConnect (show other bugs)
: Trunk
: x86 Mac OS X
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Andrew Overholt [:overholt]
Depends on: 708061 740069
Blocks: 622298
  Show dependency treegraph
Reported: 2010-12-31 15:39 PST by Boris Zbarsky [:bz] (still a bit busy)
Modified: 2012-04-05 09:19 PDT (History)
12 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Boris Zbarsky [:bz] (still a bit busy) 2010-12-31 15:39:07 PST
Proposal: give different DOM concrete classes different JSClasses.  Hang whatever information we need for a quick unwrap off these JSClasses (presumably by subclassing the JSClass struct and maybe having a flag on JSClass to indicate when we're using such a subclass).

For example, we could hang the current offset tables off of there.  Or something else, if that would be useful.  Need to figure out what's most beneficial here.
Comment 1 User image Boris Zbarsky [:bz] (still a bit busy) 2012-04-04 10:26:55 PDT
Peter, shall we call this fixed with Paris bindings?
Comment 2 User image Peter Van der Beken [:peterv] 2012-04-05 06:11:12 PDT
Fine by me.
Comment 3 User image Boris Zbarsky [:bz] (still a bit busy) 2012-04-05 09:19:35 PDT
Alright, fixed.  The setup in comment 0 is exactly what Paris bindings do.

Note You need to log in before you can comment on or make changes to this bug.