Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10315

JsonRpcClient redefines window.self

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: mod_verto
    • Labels:
      None
    • Environment:
      Debian Jessie
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      FreeSWITCH Version 1.9.0+git~20170512T140929Z~a14f8a47ab~64bit (git a14f8a4 2017-05-12 14:09:29Z 64bit)
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.9.0+git~20170512T140929Z~a14f8a47ab~64bit (git a14f8a4 2017-05-12 14:09:29Z 64bit)
    • GIT Master Revision hash::
      2af53f5a3079fcabdce1b9ccd1cd1ccc2463c02d

      Description

      Window.self shouldn't be redefined.
      After opening the Verto web app, and inspecting window.self, we get:
      a.JsonRpcClient {options: Object, ws_cnt: 0, _current_id: 4, authing: false, wsOnMessage: function…}

      Discovered this after a clash with another js lib.

      https://developer.mozilla.org/en/docs/Web/API/Window/self

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              saumar Saumar Hajjar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: