[Webkit-unassigned] [Bug 212449] Javascript engine gets confused, calls method on wrong object.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 27 21:40:00 PDT 2020


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

--- Comment #7 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to Yusuke Suzuki from comment #6)
> (In reply to Yusuke Suzuki from comment #5)
> > (In reply to Yusuke Suzuki from comment #3)
> > > This is https://bugs.webkit.org/show_bug.cgi?id=38970
> > > 
> > > Since Object.render is defined as non-enumerable property, for-in for
> > > PayrollRemittanceAgencyEventWizard is listing "render".
> > > 
> > > You can avoid this issue if,
> > > 
> > > 1. you define render etc. in Object with enumerable: false.
> > 
> > Object.prototype.
> 
> No, TTBackboneView.prototype.__proto__. This one has non-enumerable render
> etc. And it is inherited by PayrollRemittanceAgencyEventWizard.

This is Backbone.View.prototype.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200528/a30a6251/attachment.htm>


More information about the webkit-unassigned mailing list