Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2, 6.3, 6.4, 6.5.0 Beta1
-
6.3.0
-
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