* Changes target context for commands between chrome- and content. * * Changing the current context has a stateful impact on all subsequent * commands. The Context.CONTENT context has normal web * platform document permissions, as if you would evaluate arbitrary * JavaScript.
(ctx)
| 634 | * @param {!Promise<void>} ctx The context to switch to. |
| 635 | */ |
| 636 | setContext(ctx) { |
| 637 | return this.execute(new command.Command(ExtensionCommand.SET_CONTEXT).setParameter('context', ctx)) |
| 638 | } |
| 639 | |
| 640 | /** |
| 641 | * Installs a new addon with the current session. This function will return an |
nothing calls this directly
no test coverage detected