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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • JavaScript - Library
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              bananer Philip Frank
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: