You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2018/12/27 15:25:13 UTC
[jira] [Closed] (THRIFT-4403) thrift.js: Incorrect usage of 'this'
in TWebSocketTransport.__onOpen
[ https://issues.apache.org/jira/browse/THRIFT-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III closed THRIFT-4403.
-------------------------------------
> thrift.js: Incorrect usage of 'this' in TWebSocketTransport.__onOpen
> --------------------------------------------------------------------
>
> Key: THRIFT-4403
> URL: https://issues.apache.org/jira/browse/THRIFT-4403
> Project: Thrift
> Issue Type: Bug
> Components: JavaScript - Library
> Reporter: Philip Frank
> Assignee: James E. King III
> Priority: Major
> Fix For: 0.12.0
>
>
> Inside the forEach callback 'this' will be the global object, not the transport object, as the implementation seems to assume.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)