commit | 6428bce1a6254532a135dc4971e8b53ec4605e16 | [log] [tgz] |
---|---|---|
author | Benedikt Meurer <[email protected]> | Fri Sep 15 10:47:33 2023 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 15 12:25:25 2023 |
tree | 55fb583e5a92a6722d87c7a9f605ec159b262b78 | |
parent | 84ca000f76aa74165674247374b0e0802c3f8a89 [diff] [blame] |
Update devtools.inspectedWindow.eval types to match the actual API The ExtensionServer actually uses scriptExecutionContext from the option. [email protected] Bug: 1275331 Change-Id: Id3bc0bee869488f16b07d6bb1e31bd71a51738a6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3892289 Reviewed-by: Benedikt Meurer <[email protected]> Reviewed-by: Andrey Kosyakov <[email protected]> Owners-Override: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
diff --git a/front_end/models/extensions/ExtensionAPI.ts b/front_end/models/extensions/ExtensionAPI.ts index e76237f..d6f7e96 100644 --- a/front_end/models/extensions/ExtensionAPI.ts +++ b/front_end/models/extensions/ExtensionAPI.ts
@@ -1229,7 +1229,7 @@ eval: function( expression: string, - evaluateOptions: {contextSecurityOrigin?: string, frameURL?: string, useContentScriptContext?: boolean}): + evaluateOptions: {scriptExecutionContext?: string, frameURL?: string, useContentScriptContext?: boolean}): Object | null { const callback = extractCallbackArgument(arguments);