summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/screen-wake-lock/wakelock-insecure-context.any.js
blob: f32cc3c354354f99852bb198760cdbd9229355a4 (plain)
1
2
3
4
5
//META: title=Wake Lock API is not exposed in an insecure context

test(() => {
  assert_false("WakeLock" in self, "'WakeLock' must not be exposed");
}, "Wake Lock API is not exposed in an insecure context");