diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-09-16 19:47:19 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-09-16 19:47:19 +0300 |
commit | c5ea5076e8efe4b9c030f2f3316127a205feb5b1 (patch) | |
tree | 8b381337c71dbbe0c098297edb49b3e7db55b73b /application/basilisk/components/sessionstore/TabAttributes.jsm | |
parent | 465c0a564647d4b33bd456a276afd61affd06365 (diff) | |
download | UXP-c5ea5076e8efe4b9c030f2f3316127a205feb5b1.tar UXP-c5ea5076e8efe4b9c030f2f3316127a205feb5b1.tar.gz UXP-c5ea5076e8efe4b9c030f2f3316127a205feb5b1.tar.lz UXP-c5ea5076e8efe4b9c030f2f3316127a205feb5b1.tar.xz UXP-c5ea5076e8efe4b9c030f2f3316127a205feb5b1.zip |
[BASILISK] Skip notifications for background tabs when restoring a session
Diffstat (limited to 'application/basilisk/components/sessionstore/TabAttributes.jsm')
-rw-r--r-- | application/basilisk/components/sessionstore/TabAttributes.jsm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/basilisk/components/sessionstore/TabAttributes.jsm b/application/basilisk/components/sessionstore/TabAttributes.jsm index 8a29680f4..c8e6d9744 100644 --- a/application/basilisk/components/sessionstore/TabAttributes.jsm +++ b/application/basilisk/components/sessionstore/TabAttributes.jsm @@ -14,7 +14,10 @@ this.EXPORTED_SYMBOLS = ["TabAttributes"]; // 'pending' is used internal by sessionstore and managed accordingly. // 'iconLoadingPrincipal' is same as 'image' that it should be handled by // using the gBrowser.getIcon()/setIcon() methods. -const ATTRIBUTES_TO_SKIP = new Set(["image", "muted", "pending", "iconLoadingPrincipal"]); +// 'skipbackgroundnotify' is used internal by tabbrowser.xml. +const ATTRIBUTES_TO_SKIP = new Set(["image", "muted", "pending", + "iconLoadingPrincipal", + "skipbackgroundnotify"]); // A set of tab attributes to persist. We will read a given list of tab // attributes when collecting tab data and will re-set those attributes when |