[Webkit-unassigned] [Bug 16545] KJS::Bindings::Instance type conversions are not safe if multiple language bindings are used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 1 21:09:39 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16545


michael.goddard at trolltech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18021|review?                     |
               Flag|                            |
  Attachment #18021|0                           |1
        is obsolete|                            |
  Attachment #18231|                            |review?
               Flag|                            |




------- Comment #3 from michael.goddard at trolltech.com  2008-01-01 21:09 PDT -------
Created an attachment (id=18231)
 --> (http://bugs.webkit.org/attachment.cgi?id=18231&action=view)
Slightly different patch - don't bother returning Instance* 

For simpler code, don't return the Instance* when all anyone ever does with it
is to return the native void* that it wrapped.  This does add a void* member to
Instance, but this is useful for more than just this purpose (I have a patch
for caching JSObject/Instance * for the same native object*, for example).


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



More information about the webkit-unassigned mailing list