[Webkit-unassigned] [Bug 135009] New: assign undefined value to Element property throws TypeError
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 16 22:49:58 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=135009
Summary: assign undefined value to Element property throws
TypeError
Product: WebKit
Version: 528+ (Nightly build)
Platform: iOS
OS/Version: Other
Status: NEW
Severity: Major
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: huge.huang+webkitbug at gmail.com
Prior to iOS8 Safari / Safari 8.0 if we assign undefined to Element property (like document.body.scrollTop) it fallback to 0
```js
document.body.scrollTop = undefined;
TypeError: Type error
column: 110
line: 1
message: "Type error"
stack: "eval code↵eval@[native code]↵_evaluateOn↵_evaluateAndWrap↵evaluate"
__proto__: Error
```
--
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