summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/critical-ch/subresource.https.window.js
blob: f8112b628d0f263959fd2a7dd8dfa066920f3514 (plain)
1
2
3
4
5
6
7
8
9
10
// META: script=resources/util.js
// META: script=/common/utils.js

promise_test(() =>
  fetch("resources/echo-critical-hint.py")
      .then((r) => r.text())
      .then((r) => {
        assert_true(r.includes("FAIL"));
      })
, "Critical-CH subresource fetch");