HISE Logo Forum
    • Categories
    • Register
    • Login

    new XMLHttpRequest is not supported anymore.

    Scheduled Pinned Locked Moved General Questions
    9 Posts 4 Posters 977 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • staiffS
      staiff
      last edited by

      hello !
      like said in the title the:

      var xhr = new XMLHttpRequest();

      return an error: new is not supported anymore {SW50ZXJmYWNlfHwxMDd8NXwxOQ==}

      ???

      how to fix it ?

      thanks.

      Excuse me i'm French.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @staiff
        last edited by d.healey

        @staiff I don't think XMLHttpRequest was ever supported in HISE. And you shouldn't be using var unless it's inside a paint routine.

        But that error is telling you that the new keyword is not supported by HISE. Remember HISEScript != Javascript.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by

          https://developer.mozilla.org/fr/docs/Learn/JavaScript/Objects/JSON

          https://www.kirupa.com/html5/check_if_internet_connection_exists_in_javascript.htm

          seems to be javascript ;)

          i think, like you, that it's just unsuported by Hise ... :(

          Excuse me i'm French.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @staiff
            last edited by

            @staiff HISE Script is not Javascript - it's just very similar :)

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • staiffS
              staiff
              last edited by

              yes.

              it's just "Hart's" script linguage :D :D :D

              Excuse me i'm French.

              1 Reply Last reply Reply Quote 2
              • Christoph HartC
                Christoph Hart
                last edited by

                Wait until you get my version of C soon :)

                ossian1961O 1 Reply Last reply Reply Quote 5
                • ossian1961O
                  ossian1961 @Christoph Hart
                  last edited by

                  @Christoph-Hart said in new XMLHttpRequest is not supported anymore.:

                  Wait until you get my version of C soon :)

                  D'you working on Visual Studio?

                  https://www.kontakthub.com/label/Imagik-Sound/
                  https://mirtklaar.bandcamp.com/

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    No, I am working on a little secret side project right now :)

                    ossian1961O 1 Reply Last reply Reply Quote 1
                    • ossian1961O
                      ossian1961 @Christoph Hart
                      last edited by

                      @Christoph-Hart said in new XMLHttpRequest is not supported anymore.:

                      No, I am working on a little secret side project right now :)

                      Ok ;)

                      https://www.kontakthub.com/label/Imagik-Sound/
                      https://mirtklaar.bandcamp.com/

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      25

                      Online

                      1.8k

                      Users

                      12.0k

                      Topics

                      104.6k

                      Posts