Sharing a plug-in instance in a web client
First Claim
1. A machine-implemented method for sharing an instance of a plug-in, the method comprising:
- determining whether a session associated with a current tab is also associated with a first tab, wherein the current tab and the first tab are included in a same instance of a window of an application;
determining whether a security mode of the current tab matches a security mode of the first tab if the session associated with the current tab is also associated with the first tab, wherein the security modes of the current tab and the first tab respectively indicate one or more operations that are allowed to be performed by the current tab and the first tab on a computing device running the application;
determining whether the first tab includes the instance of the plug-in if the security mode of the current tab matches the security mode of the first tab; and
for the current tab, utilizing the plug-in in the first tab to access a shared resource associated with the first tab if the security mode of the current tab matches the security mode of the first tab, wherein the shared resource is shared between the first and current tabs according to the security mode.
2 Assignments
0 Petitions
Accused Products
Abstract
Configurations for sharing an instance of an executing process for a plug-in based on a session and a cookie data store associated with the session are disclosed. A cookie data store can be associated with a tab running in a corresponding security mode. By way of example, instead of initiating a new process for the plug-in in a new tab, the subject technology can first determine whether a previous tab is running an instance of a plug-in process. If this is the case, the subject technology can then determine whether the previous tab is running in the same security mode (e.g., protected or unprotected) as the new tab. The subject technology then shares the existing plug-in process in the previous tab without instantiating a new plug-in process in the new tab.
-
Citations
23 Claims
-
1. A machine-implemented method for sharing an instance of a plug-in, the method comprising:
-
determining whether a session associated with a current tab is also associated with a first tab, wherein the current tab and the first tab are included in a same instance of a window of an application; determining whether a security mode of the current tab matches a security mode of the first tab if the session associated with the current tab is also associated with the first tab, wherein the security modes of the current tab and the first tab respectively indicate one or more operations that are allowed to be performed by the current tab and the first tab on a computing device running the application; determining whether the first tab includes the instance of the plug-in if the security mode of the current tab matches the security mode of the first tab; and for the current tab, utilizing the plug-in in the first tab to access a shared resource associated with the first tab if the security mode of the current tab matches the security mode of the first tab, wherein the shared resource is shared between the first and current tabs according to the security mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system for sharing an instance of a plug-in, the system comprising:
-
memory; one or more processors; one or more modules stored in memory and configured for execution by the one or more processors, the modules comprising; a browser module configured to provide a first tab and a current tab for the web client, wherein the first tab includes the instance of the plug-in, wherein the current tab and the first tab are included in a same instance of a window of an application; a cookies module configured to store a cookie data store associated with the first tab; and a session module configured to determine whether a session associated with the current tab is also associated with the first tab, determine whether a security mode of the current tab matches a security mode of the first tab if the session associated with current tab is also associated with the first tab, and utilize, for the current tab, the plug-in in the first tab to access the cookie data store associated with the first tab if the security modes match, wherein the cookie data store is shared between the first and current tabs according to the matched security modes, wherein the security modes of the current tab and the first tab respectively indicate one or more operations that are allowed to be performed by the current tab and the first tab on a computing device running the application. - View Dependent Claims (20, 21, 22)
-
-
23. A machine-readable medium comprising instructions stored therein, which when executed by a machine, cause the machine to perform operations comprising:
-
determining whether a session associated with a current tab is also associated with a first tab, wherein the current tab and the first tab are included in a same instance of a window of an application; determining whether a security mode of the current tab matches a security mode of the first tab if the session associated with the current tab is also associated with the first tab; determining whether the first tab includes the instance of the plug-in if the security mode of the current tab matches the security mode of the first tab, wherein the security modes of the current tab and the first tab respectively indicate one or more operations that are allowed to be performed by the current tab and the first tab on a computing device running the application; and for the current tab, utilizing the plug-in in the first tab to access a shared resource associated with the first tab for performing one or more operations on the shared resource if the security mode of current tab matches the security mode of the first tab, wherein the shared resource is shared between the first and current tabs according to the security mode.
-
Specification