1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 17:35:46 +01:00

[PWPBM] Use private, non-persistant storage hives for private browsing windows.

This commit is contained in:
Kris Maglione
2013-04-26 20:17:44 -07:00
parent 4845c3d644
commit 7f7565e86a
3 changed files with 67 additions and 34 deletions

View File

@@ -735,6 +735,7 @@ function Class() {
var Constructor = function Constructor() {
var self = Object.create(Constructor.prototype);
self.instance = self;
self.globalInstance = self;
if ("_metaInit_" in self && self._metaInit_)
self._metaInit_.apply(self, arguments);
@@ -747,6 +748,7 @@ function Class() {
(function constructor(PARAMS) { \n\
var self = Object.create(Constructor.prototype); \n\
self.instance = self; \n\
self.globalInstance = self; \n\
\n\
if ("_metaInit_" in self && self._metaInit_) \n\
self._metaInit_.apply(self, arguments); \n\