Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4403

thrift.js: Incorrect usage of 'this' in TWebSocketTransport.__onOpen

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: JavaScript - Library
    • Labels:
      None

      Description

      Inside the forEach callback 'this' will be the global object, not the transport object, as the implementation seems to assume.

        Attachments

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              bananer Philip Frank

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment