ntListener("load", () => resolve());
});

promise_test(() => {
    return loadPromise.then(() => {
        const req = document.querySelector('iframe').contentWindow.createRequest("url");

        assert_equals(req.url, new URL("current/success/url", location.href).href);
    });
}, "should parse the URL relative to the current settings object");

</script>
