[Webkit-unassigned] [Bug 18333] NPAPI: No way of telling the difference between 'ints' and 'doubles'.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 16 07:33:55 PDT 2008


darin at apple.com changed:

           What    |Removed                     |Added
                 CC|                            |mjs at apple.com,
                   |                            |ggaren at apple.com

------- Comment #3 from darin at apple.com  2008-04-16 07:33 PDT -------
I'm really surprised that Mozilla makes this distinction. It's definitely not
called for by the JavaScript language. I'd be tempted to call this a bug in
Mozilla rather than a bug in Safari.

There's no reason why we couldn't check for values that happen to fit in
integers at the JavaScript bindings level and pass them as integers, but you
still would not be able to distinguish 42 and 42.0.

Are you absolutely sure that Gecko's JavaScript engine allows you to tell the
difference between 42 and 42.0? That is *very* surprising and really sounds
like a bug to me.

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