4.3.8 Active applications list
This is a list of application nodes ordered in a “most recently activated” order. It is used by the cross-application event
dispatch algorithm as defined in Section 4.4.7 and is not directly visible to applications.
An application is activated through calling the activate() method of the application node. This marks an application
as active and inserts the application at the start of the active application list (removing it from the list first if it is already
present).
An application is deactivated through the deactivate() method of the application node. This marks an application
inactive and removes it from the active application list.
The currently active application is the application at the start of the active application list.
This specification does not define any behaviour if more than one copy of the browser is executing.
4.3.8 活跃应用列表
这是一个按照“近期最活跃”规则建立的应用程序节点表。它由跨应用程序事件调度算法使用(在4.4.7节中定义),而不是直接可见的应用。一个应用程序是通过调用应用程序节
点下的activate()方法被激活(出于active状态),此接口让应用程序作为一个激活程序的同时,也将此程序插入到活动程序列表的开头(只有当此程序过期时才会被从列表开头移除,译注:有新的插入或者此程序处于非激活状态)。
通过调用应用节点下的deactivate()方法,可以使应用程序变为失效状态。这使程序变为不活动状态并从活动程序列表中移除。
当前的活动程序位于活动程序列表的第一个位置。
此规范不定义任何行为,除非存在一个以上的浏览器的副本执行。
本文介绍了一个按最近激活顺序排列的应用程序列表,该列表用于跨应用事件调度算法,并详细解释了如何通过activate()和deactivate()方法来管理应用程序的激活状态。
2822

被折叠的 条评论
为什么被折叠?



