[Webkit-unassigned] [Bug 156939] Autogenerated IDBFactory.open() does the wrong thing if you pass an explicit 'undefined' as the second argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 17:11:20 PDT 2016


--- Comment #5 from Brady Eidson <beidson at apple.com> ---
(In reply to comment #3)
> The generated bindings seem wrong here. They'll just convert undefined to 0.
> This will probably require tweaking the bindings generator and used
> Optional<> type for this parameter.

That's totally reasonable.

In fact, I *would* like to consolidate the multiple IDBFactory::open methods down to one. It seems silly that there's two just because of the optional argument.

If the bindings get changed to pass Optional<> for the second argument, IDBFactory can + should adopt that.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160423/0e88b319/attachment.html>

More information about the webkit-unassigned mailing list