[Webkit-unassigned] [Bug 131240] [Bindings] "nullable" sequence<T> support is incomplete

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 7 14:25:49 PDT 2014


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


Antonio Gomes <tonikitoo at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |tonikitoo at webkit.org
                   |kit.org                     |
 Attachment #228758|                            |review?
               Flag|                            |




--- Comment #2 from Antonio Gomes <tonikitoo at webkit.org>  2014-04-07 14:26:08 PST ---
Created an attachment (id=228758)
 --> (https://bugs.webkit.org/attachment.cgi?id=228758&action=review)
patch

I choose to add a bool parameter, named "acceptsNullable", to JSDOMBindings::toNativeArray method, and set it to "true" from the generated code upon the presence of "?" in the idl definition.

It might be that we should simply make toNativeArray to accept "null" arrays always, similarly to toRefPtrNativeArray.

Please let me know.

-- 
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