Files
tubestation/toolkit/components/extensions/schemas
Rob Wu 51c86fd6b7 Bug 1736575 - Support world:MAIN in scripting API r=willdurand
This adds support for the world:"MAIN" option to the following parts of
the scripting API, including tests:

- scripting.executeScript
- scripting.getRegisteredContentScripts
- scripting.registerContentScripts
- scripting.updateContentScripts
- scripting.ExecutionWorld.MAIN

This patch includes a minimal prototype for scripting.executeScript with
the func parameter, which does not work when the page has a CSP. This
functionality will be improved in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D211868
2024-06-03 20:32:12 +00:00
..

This source code is available under the Mozilla Public License 2.0.

Additionally, parts of the schema files originated from Chromium source code:

Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE-CHROMIUM file.

You are not granted rights or licenses to the trademarks of the Mozilla Foundation or any party, including without limitation the Firefox name or logo.

For more information, see: https://www.mozilla.org/foundation/licensing.html