import-insecure-origin-empty-worklet-script.sub.js (396B)
1 // Some tests rely on some unintuitive cleverness due to WPT's test setup: 2 // 'Upgrade-Insecure-Requests' does not upgrade the port number, so we use URLs 3 // in the form `http://[host]:[https-port]`. If the upgrade fails, the load will 4 // fail, as we don't serve HTTP over the secure port. 5 import 'http://{{host}}:{{ports[https][0]}}/worklets/resources/empty-worklet-script-with-cors-header.js';