Skip to content

Truly independent web browser

490 B
Raw Blame
<!doctype html>
<meta charset=utf-8>
<title>Web Locks API: ifAvailable option</title>
<script>
self.GLOBAL = {
  isWindow: function() { return true; },
  isWorker: function() { return false; },
  isShadowRealm: function() { return false; },
};
</script>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/helpers.js"></script>
<div id=log></div>
<script src="../web-locks/ifAvailable.https.any.js"></script>