[Webkit-unassigned] [Bug 92817] use strict, string property assignment throws TypeError

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 1 14:08:13 PDT 2012


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





--- Comment #5 from Oliver Hunt <oliver at apple.com>  2012-08-01 14:08:14 PST ---
The linked test case is actually making the kind of mistake this exception was specifically designed to prevent -- attaching properties to primitive types does not work, as you are simply attaching the properties to a temporary.   If there isn't a setter on the prototype with the right name all you're doing is creating an object, assigning a property, and then throwing the object away.

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