OIPF 規範翻譯(DAE)-----4.3.8 Active applications list

 

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()方法,可以使應用程序變爲失效狀態。這使程序變爲不活動狀態並從活動程序列表中移除。

 

當前的活動程序位於活動程序列表的第一個位置。

 

此規範不定義任何行爲,除非存在一個以上的瀏覽器的副本執行。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章