Embedded macros
    1.
    发明申请
    Embedded macros 有权
    嵌入式宏

    公开(公告)号:US20070168977A1

    公开(公告)日:2007-07-19

    申请号:US11303197

    申请日:2005-12-15

    IPC分类号: G06F9/44

    CPC分类号: G06F9/45512

    摘要: An embedded macro establishes logic for object properties that define actions that execute when an event triggers. When an embedded macro is associated with an event, a regular event property value is set to an empty string and a shadow property associated with the regular event property is created. An application that supports embedded macros recognizes the empty regular property value as an indicator that a macro is embedded in the event. A binary representation of the macro is accessed from the shadow property and is executed when the event associated with the embedded macro triggers. An action safe list identifies trusted embedded macro actions. Embedded macro actions not included on the safe list are not executed such that untrusted actions are blocked from execution.

    摘要翻译: 嵌入式宏为对象属性建立逻辑,定义在事件触发时执行的动作。 当嵌入式宏与事件相关联时,常规事件属性值将设置为空字符串,并创建与常规事件属性关联的阴影属性。 支持嵌入式宏的应用程序将空的常规属性值识别为事件中嵌入宏的指示符。 从shadow属性访问宏的二进制表示,并在与嵌入式宏关联的事件触发时执行。 操作安全列表标识受信任的嵌入式宏操作。 未包含在安全列表中的嵌入式宏操作不会执行,从而阻止不受信任的操作执行。