piroor/suspendtab

misc errors

linvinus opened this issue · 3 comments

errors on unload plugin

jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js(shutdown, ADDON_DISABLE)
TypeError: can't convert undefined to object
SuspendTabInternal.prototype<.resumeAll@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js:371:1
shutdown/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js:387:4

.....


jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab.js(shutdown, ADDON_DISABLE)
TypeError: can't convert undefined to object
SuspendTabInternal.prototype<.resumeAll@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js:371:1
SuspendTab.prototype<.resumeAll@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab.js:573:3

Thanks, fixed by bb7061b and 3f47bd0.

not exactly, new errors on disable

jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js(shutdown, ADDON_DISABLE)
TypeError: aInstance.resumeAll is not a function
shutdown/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js:463:4
shutdown@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab-internal.js:461:2

....


jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab.js(shutdown, ADDON_DISABLE)
NotFoundError: Node was not found
SuspendTab.prototype<.destroyMenuItems/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab.js:853:4
SuspendTab.prototype<.destroyMenuItems@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/bootstrap.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/components/loader.js -> jar:file:///home/denis/.mozilla/firefox/epnvlhnu.default-1384859286276/extensions/suspendtab@piro.sakura.ne.jp.xpi!/modules/suspendtab.js:844:1

resolved.

not bug but may be important, if disable plugin while lot (114) of tabs was suspended they all go resuming at same time, in that moment in browser console lot of following messages :

about:blank : Unable to run script because scripts are blocked internally. <unknown>
about:blank : Unable to run script because scripts are blocked internally. <unknown>
about:blank : Unable to run script because scripts are blocked internally. <unknown>
about:blank : Unable to run script because scripts are blocked internally. <unknown>
about:blank : Unable to run script because scripts are blocked internally. <unknown>
about:blank : Unable to run script because scripts are blocked internally. <unknown>