发明名称 |
Memory model for a layout engine and scripting engine |
摘要 |
Various embodiments provide an interface between a Web browser's layout engine and a scripting engine. The interface enables objects from the layout engine to be recognized by a memory manager in the scripting engine and interact in a streamlined, efficient manner. In accordance with one or more embodiments, the interface allows browser layout engine objects to be created as objects that are native to the scripting engine. Alternately or additionally, in some embodiments, the native objects are further configured to proxy functionality between the layout engine and the scripting engine. |
申请公布号 |
US9116867(B2) |
申请公布日期 |
2015.08.25 |
申请号 |
US201414532826 |
申请日期 |
2014.11.04 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Leithead Travis;Rogers Justin;Pavlicic Miladin;Man Curtis Cheng-Cheng;Qu Yong;Furtwangler Nathan J. E.;Nourai Reza A.;Lucco Steven |
分类号 |
G06F9/44;G06F17/22;G06F9/455;G06F9/54 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
Jardine John;Drakos Kate;Minhas Micky |
主权项 |
1. A computer implemented method comprising:
creating a redirection mechanism that is configured to be logically interposed between a web browser's scripting engine associated with a scripting engine memory space and an associated layout engine associated with a layout engine memory space by:
compiling one or more files that define a layout engine programming object in a layout engine memory space and one or more files that define a scripting language programming object in a scripting engine memory space;producing, responsive to the compiling, one or more redirection mechanism functions configured to enable function calls associated with the scripting language programming object to be redirected to the layout engine programming object for work load execution, wherein the layout engine programming object is associated with, and bound to the scripting language programming object through linkages that utilize custom objects that represent associated objects in the scripting engine memory space and which point to associated, bound objects in the layout engine memory space, and wherein the custom objects have one or more pointers and at least some of the one or more pointers are configured to point to other objects in the scripting engine memory space; andlogically interposing the redirection mechanism between the web browser's scripting engine and the associated layout engine effective to enable the web browser's scripting engine and the associated layout engine to communicate and call functionality between each other. |
地址 |
Redmond WA US |