1
0
Fork 0
firefox/testing/web-platform/tests/infrastructure/server/test-pac.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
514 B
HTML

<!DOCTYPE HTML>
<title>test behavior of PROXY configuration (PAC)</title>
<meta name="pac" content="resources/proxy.sub.pac">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async t => {
const response = await fetch('http://not-a-real-domain.wpt.test/infrastructure/resources/ok.txt');
const text = await response.text();
assert_equals(text, 'OK');
}, 'test that PAC metadata is respected');
</script>