!1597 添加interface_sdk_c getLastJavascriptProxyCallingFrameUrl接口

Merge pull request !1597 from xiaye/master
This commit is contained in:
openharmony_ci 2024-10-31 04:04:20 +00:00 committed by Gitee
commit 224260db6e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -214,6 +214,15 @@ typedef struct {
*/
ArkWeb_ErrorCode (*postWebMessage)(
const char* webTag, const char* name, ArkWeb_WebMessagePortPtr* webMessagePorts, size_t size, const char* url);
/**
* @brief Get the url of the last frame that calls the JavaScriptProxy.
* This should be call on the thread which JavaScriptProxy called.
*
* @return The url of the last frame that calls the JavaScriptProxy.
* @since 14
*/
const char* (*getLastJavascriptProxyCallingFrameUrl)();
} ArkWeb_ControllerAPI;
/**