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

      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change