You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Philip Frank (JIRA)" <ji...@apache.org> on 2017/12/04 12:30:00 UTC

[jira] [Created] (THRIFT-4403) thrift.js: Incorrect usage of 'this' in TWebSocketTransport.__onOpen

Philip Frank created THRIFT-4403:
------------------------------------

             Summary: 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
            Reporter: Philip Frank


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
(v6.4.14#64029)