Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103746

QML javascript URL does not add a colon at the end of protocol field

    XMLWordPrintable

Details

    • c61075d2e0 (qt/qtdeclarative/dev) c61075d2e0 (qt/tqtc-qtdeclarative/dev) 3571770380 (qt/qtdeclarative/6.3) 7e810971e9 (qt/qtdeclarative/6.4) 3571770380 (qt/tqtc-qtdeclarative/6.3) 7e810971e9 (qt/tqtc-qtdeclarative/6.4)

    Description

      Example:

       

       

      let myURL = new URL('https://qt.io/');
      console.log(myURL.protocol);
      

       

       

      This should log "https:" but it logs instead "https". This is not just cosmetics. It can break code that relies on the protocol name to do stuff.

       

      Check MDN docs

       

      Attachments

        For Gerrit Dashboard: QTBUG-103746
        # Subject Branch Project Status CR V

        Activity

          People

            lavf Leticia Valladares
            flaviotordini Flavio Tordini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes