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 in which the computing device is configured to execute the layout engine; and
a second memory space within the memory that is separate from the first memory space and in which the computing device is configured to execute the scripting engine, wherein a bridge function between the scripting engine and the layout engine is wrapped with a scripting language wrapper function, wherein the scripting engine is to call the scripting language wrapper function in a manner native to the scripting engine, wherein the scripting language wrapper function includes information that enables the scripting language wrapper function to call into the wrapped bridge function, wherein the scripting engine is to call into the scripting language wrapper function to access the wrapped bridge function through methods used by the scripting engine to access objects native to the scripting engine, and wherein the layout engine and the scripting engine are to securely interact with each other via the scripting language wrapper function across the first memory space and the second memory space.
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
16 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 in which the computing device is configured to execute the layout engine; and a second memory space within the memory that is separate from the first memory space and in which the computing device is configured to execute the scripting engine, wherein a bridge function between the scripting engine and the layout engine is wrapped with a scripting language wrapper function, wherein the scripting engine is to call the scripting language wrapper function in a manner native to the scripting engine, wherein the scripting language wrapper function includes information that enables the scripting language wrapper function to call into the wrapped bridge function, wherein the scripting engine is to call into the scripting language wrapper function to access the wrapped bridge function through methods used by the scripting engine to access objects native to the scripting engine, and wherein the layout engine and the scripting engine are to securely interact with each other via the scripting language wrapper function across the first memory space and the second memory space. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method performed on a computing device comprising at least one processor and a memory, the method comprising:
-
executing, by the computing device, a layout engine in a first memory space of the memory; executing, by the computing device, a scripting engine in a second memory space of the memory that is separate from the first memory space, wherein the layout engine and the scripting engine are parts of a web browser; and binding, by the computing device, via a bridge function between the scripting engine and the layout engine wrapped with a scripting language wrapper function, wherein the scripting engine is to call the scripting language wrapper function in a manner native to the scripting engine, wherein the scripting language wrapper function includes information that enables the scripting language wrapper function to call into the wrapped bridge function, wherein the scripting engine is to call into the scripting language wrapper function to access the wrapped bridge function through methods used by the scripting engine to access objects native to the scripting engine, and wherein the layout engine and the scripting engine are to securely interact with each other via the scripting language wrapper function across the first memory space and the second memory space. - View Dependent Claims (8, 9, 10, 11)
-
-
12. At least one hardware computer-readable medium that includes stores computer-executable instructions that, based on execution by at least one processor of a computing device that further comprises a memory, cause the computing device to:
-
execute a layout engine in a first memory space of the memory; execute a scripting engine in a second memory space of the memory that is separate from the first memory space, wherein the layout engine and the scripting engine are parts of a web browser; and bind via a bridge function between the scripting engine and the layout engine wrapped with a scripting language wrapper function, wherein the scripting engine is to call the scripting language wrapper function in a manner native to the scripting engine, wherein the scripting language wrapper function includes information that enables the scripting language wrapper function to call into the wrapped bridge function, wherein the scripting engine is to call into the scripting language wrapper function to access the wrapped bridge function through methods used by the scripting engine to access objects native to the scripting engine, and wherein the layout engine and the scripting engine are to securely interact with each other via the scripting language wrapper function across the first memory space and the second memory space. - View Dependent Claims (13, 14, 15, 16)
-
Specification