Memory model for a layout engine and scripting engine
First Claim
Patent Images
1. A computing device comprising:
- at least one processor;
a memory coupled to the at least one processor;
a web browser that includes a layout engine and a scripting engine;
a first memory space within the memory that forms a first domain in which the computing device is configured to execute the layout engine; and
a second memory space within the memory that forms a second domain that is separate from the first domain and in which the computing device is configured to execute the scripting engine;
wherein the layout engine and the scripting engine are configured to securely communicate with each other across the first domain and the second domain via a dual nature object and a corresponding object, wherein the dual nature object is in the first memory space and is native to the layout engine, wherein the corresponding object is in the second memory space and is native to the scripting engine, wherein the dual nature object is bound to the corresponding object in the second memory space and has a native representation in the scripting engine, and wherein to securely communicate across the first domain and the second domain, the dual nature object is bound to the corresponding object to cause a direct call by the scripting engine on the dual nature object to be redirected to the corresponding object having a native representation in the layout engine.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
20 Claims
-
1. A computing device comprising:
-
at least one processor; a memory coupled to the at least one processor; a web browser that includes a layout engine and a scripting engine; a first memory space within the memory that forms a first domain in which the computing device is configured to execute the layout engine; and a second memory space within the memory that forms a second domain that is separate from the first domain and in which the computing device is configured to execute the scripting engine; wherein the layout engine and the scripting engine are configured to securely communicate with each other across the first domain and the second domain via a dual nature object and a corresponding object, wherein the dual nature object is in the first memory space and is native to the layout engine, wherein the corresponding object is in the second memory space and is native to the scripting engine, wherein the dual nature object is bound to the corresponding object in the second memory space and has a native representation in the scripting engine, and wherein to securely communicate across the first domain and the second domain, the dual nature object is bound to the corresponding object to cause a direct call by the scripting engine on the dual nature object to be redirected to the corresponding object having a native representation in the layout engine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method performed on a computing device comprising at least one processor and a memory, the method comprising:
-
first executing, by the computing device, a layout engine in a first domain formed in a first memory space within the memory; second executing, by the computing device, a scripting engine in a second domain formed in a second memory space within the memory; and securely communicating, by the layout engine and the scripting engine with each other, across the first domain and the second domain via a dual nature object and a corresponding object, wherein the dual nature object is in the first memory space and is native to the layout engine, wherein the corresponding object is in the second memory space and is native to the scripting engine, wherein the dual nature object is bound to the-corresponding object in the second memory space and has a native representation in the scripting engine, and wherein to securely communicate across the first domain and the second domain, the dual nature object is bound to the corresponding object to cause a direct call by the scripting engine on the dual nature object to be redirected to the corresponding object having a native representation in the layout engine. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. At least one hardware computer-readable medium that includes computer-executable instructions that, based on execution by at least one processor of a computing device that further comprises a memory, configure the computing device to:
-
first execute, by the computing device, a layout engine in a first domain formed in a first memory space within the memory; second execute, by the computing device, a scripting engine in a second domain formed in a second memory space within the memory; and securely communicate, by the layout engine and the scripting engine with each other, across the first domain and the second domain via a dual nature object and a corresponding object, wherein the dual nature object is in the first memory space and is native to the layout engine, wherein the corresponding object is in the second memory space and is native to the scripting engine, wherein the dual nature object is bound to the corresponding object in the second memory space and has a native representation in the scripting engine, and wherein to securely communicate across the first domain and the second domain, the dual nature object is bound to the corresponding object to cause a direct call by the scripting engine on the dual nature object to be redirected to the corresponding object having a native representation in the layout engine. - View Dependent Claims (17, 18, 19, 20)
-
Specification