blob: 0b1e4322c73461e095320a2ed97d03d3d3eae1ee [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<script>
description("Tests that Link's rel=preconnect works as expected over HTTP.");
jsTestIsAsync = true;
internals.setConsoleMessageListener(function() {
finishJSTest();
});
const testLink = document.createElement("link");
testLink.rel = "preconnect";
testLink.href = "http://localhost:8000";
document.head.appendChild(testLink);
</script>
</body>
</html>