[Webkit-unassigned] [Bug 9902] jsNull and NSNull not properly converted between JS and ObjC

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Aug 30 15:05:49 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9902


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #21 from ddkilzer at kilzer.net  2006-08-30 15:05 PDT -------
(In reply to comment #19)
> (In reply to comment #18)
> > How about adding a class method +(void)setUsesNSNullForNil:(BOOL)yn to the
> > WebScriptObject class?  The default behavior is the old behavior.  If set to
> > YES, then it functions as the documentation describes and the patch fixes.
> 
> I don't think that will work. That would change behavior for everyone in the
> same process, which could include plug-ins and other clients of WebKit.

What about adding a new public API method that does the right thing and
deprecating (and documenting) the old method?  The implemention of the two
methods could be refactored to remove duplicate code while maintaining both old
and new behaviors.

Reopening bug since it's apparent changes need to be made.


-- 
Configure bugmail: http://bugzilla.opendarwin.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