chromium/chrome/test/data/extensions/api_test/service_worker/worker_based_background/chrome_app_undefined/service_worker_background.js

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Test that chrome.app is not defined for service worker-based extensions.
chrome.test.runTests([
  function testChromeAppBinding() {
    chrome.test.assertTrue(chrome.app === undefined);
    chrome.test.succeed();
  }
]);