Tab Mix Plus's "SessionData" is deprecated

This commit is contained in:
SHIMODA Hiroshi 2011-11-29 17:07:00 +09:00
parent bbd95f450b
commit b94a0f6417

View File

@ -117,7 +117,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
if ('getTabProperties' in sessionData && 'setTabProperties' in sessionData) { if ('getTabProperties' in sessionData && 'setTabProperties' in sessionData) {
let prefix = sv.kTMP_SESSION_DATA_PREFIX; let prefix = sv.kTMP_SESSION_DATA_PREFIX;
let sessionManager = window.TabmixSessionManager || window.SessionManager; let sessionManager = window.TabmixSessionManager || window.SessionManager;
SessionData.tabTSTProperties = this.extraProperties.map(function(aProperty) { sessionData.tabTSTProperties = this.extraProperties.map(function(aProperty) {
return prefix+aProperty; return prefix+aProperty;
}); });
eval('sessionData.getTabProperties = '+ eval('sessionData.getTabProperties = '+