[Webkit-unassigned] [Bug 133912] New: Dictionary with attribute set to 'undefined' counts as set but shouldn't
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 14 14:01:14 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=133912
Summary: Dictionary with attribute set to 'undefined' counts as
set but shouldn't
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Bindings
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: sam at webkit.org, oliver at apple.com, rniwa at webkit.org
If an object has something like { x: undefined }, then the attribute x should count as unset. Instead it is set and can lead to wrong results. Example:
DOMPoint({x: undefined})
shouldn't set DOMPoint.x (so that it defaults to 0). With the bug, DOMPoint.x gets set to NaN. (Undefined on number -> NaN.)
--
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