Update devtools.inspectedWindow.eval schema to match the actual API
The ExtensionServer actually uses scriptExecutionContext from the
option.
R=caseq@chromium.org
Bug: 1275331
Change-Id: Ie500af85e85f321a75ce22f615c28c02068439ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3891512
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1046012}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
8029d5282f
commit
932429de8b
1
AUTHORS
1
AUTHORS
@ -1325,6 +1325,7 @@ Yongseok Choi <yongseok.choi@navercorp.com>
|
||||
Yongsheng Zhu <yongsheng.zhu@intel.com>
|
||||
Yoonjae Cho <yoonjae.cho92@gmail.com>
|
||||
Yoshinori Sano <yoshinori.sano@gmail.com>
|
||||
Young Min Kim <y@ylem.kim>
|
||||
Youngho Seo <hazivoo@gmail.com>
|
||||
Youngjin Choi <cyjin9.yc@gmail.com>
|
||||
YoungKi Hong <simon.hong81@gmail.com>
|
||||
|
@ -111,10 +111,10 @@
|
||||
"optional": true,
|
||||
"description": "Evaluate the expression in the context of the content script of the calling extension, provided that the content script is already injected into the inspected page. If not, the expression is not evaluated and the callback is invoked with the exception parameter set to an object that has the <code>isError</code> field set to true and the <code>code</code> field set to <code>E_NOTFOUND</code>."
|
||||
},
|
||||
"contextSecurityOrigin": {
|
||||
"scriptExecutionContext": {
|
||||
"type": "string",
|
||||
"optional": true,
|
||||
"description": "Evaluate the expression in the context of a content script of an extension that matches the specified origin. If given, contextSecurityOrigin overrides the 'true' setting on userContentScriptContext."
|
||||
"description": "Evaluate the expression in the context of a content script of an extension that matches the specified origin. If given, scriptExecutionContext overrides the 'true' setting on useContentScriptContext."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user