1
0
Fork 0
easejs/lib
Mike Gerwitz 446aa8d413 Fixed __self assignment for FF
This little experience was rather frustrating. Indeed, it would imply that
the static implementation (at least, accessing protected and private static
members) was always broken in FF. I should be a bit more diligent in my testing.
Or perhaps it broke in a more recent version of FF, which is more likely. The
problem seems to be that we used defineSecureProp() for an assignment to the
actual class, then later properly assigned it to class.___$$svis$$.
Of course, defineSecureProp() makes it read-only, so this failed, causing
an improper assignment for __self, breaking the implementation. As such,
this probably broke in newer versions of FF and worked properly in older versions.

More concerningly is that the implementations clearly differ between Chromium
and Firefox. It may be that Firefox checks the prototype chain, whereas Chromium
(v8, specifically) will simply write to that object, ignoring that the property
further down the prototype chain is read-only.
2011-12-04 00:32:16 -05:00
..
ClassBuilder.js Fixed __self assignment for FF 2011-12-04 00:32:16 -05:00
FallbackMemberBuilder.js [#25] Combined buildGetter() and buildSetter() 2011-10-29 08:25:51 -04:00
FallbackVisibilityObjectFactory.js Implemented FallbackVisibilityObjectFactory (#25) 2011-08-13 22:42:33 -04:00
MemberBuilder.js Added private member name conflict validations 2011-12-03 00:38:41 -05:00
MemberBuilderValidator.js Added private member name conflict validations 2011-12-03 00:38:41 -05:00
MethodWrapperFactory.js Now passing getInst() directly into MethodwrapperFactory factory function, like good 'ol times 2011-08-31 00:05:07 -04:00
MethodWrappers.js Oops. Dummy want to name things correctly? (#25) 2011-09-02 22:44:11 -04:00
VisibilityObjectFactory.js Added property object comment to VisibilityObjectFactory (#25) 2011-08-13 22:42:51 -04:00
VisibilityObjectFactoryFactory.js Added VisibilityObjectFactoryFactory (#25) 2011-08-13 23:00:03 -04:00
class.js Added warning handler to class facade 2011-11-05 12:07:52 -04:00
class_abstract.js Added support for named abstract subclasses 2011-05-22 21:05:46 -04:00
class_final.js Added support for final subtypes 2011-05-22 21:35:29 -04:00
interface.js [#29] Re-added interface name to interface errors since abstract requirement change 2011-11-19 22:17:59 -05:00
prop_parser.js Override keyword is now required to override a virtual method (#19) 2011-08-04 00:32:10 -04:00
util.js Now implicitly adding abstract keyword for interface method declarations 2011-11-28 15:10:26 -05:00
warn.js Prefixing warning output with 'Warning: ' 2011-11-05 12:10:20 -04:00