src="resources/matchmedia-utils.js"></script>

<script>
query_should_be_known("(update)");
query_should_be_known("(update: none)");
query_should_be_known("(update: slow)");
query_should_be_known("(update: fast)");

query_should_be_unknown("(update: ?)");
query_should_be_unknown("(update: 10px)");
query_should_be_unknown("(update: 0)");

test(() => {
  let match_standard = window.matchMedia("(update: fast)");
  assert_true(match_standard.matches);
}, "Check that update: fast always matches fast displays");

