-
- Downloads
Bug 1887029 - Simplify TabAttributes to explicitly specify supported attributes, a=dmeehan
The only tab attribute which is ever persisted by SessionStore is "customizemode". This patch limits the logic to only allow persisting and restoring this attribute. The browser_attributes.js test is also updated to use the "customizemode" attribute for testing, rather than a custom specified attribute. Minor test fix for ESR115. Differential Revision: https://phabricator.services.mozilla.com/D208655
Showing
- browser/components/customizableui/CustomizeMode.sys.mjs 0 additions, 2 deletionsbrowser/components/customizableui/CustomizeMode.sys.mjs
- browser/components/sessionstore/SessionStore.sys.mjs 0 additions, 17 deletionsbrowser/components/sessionstore/SessionStore.sys.mjs
- browser/components/sessionstore/TabAttributes.sys.mjs 7 additions, 36 deletionsbrowser/components/sessionstore/TabAttributes.sys.mjs
- browser/components/sessionstore/test/browser_attributes.js 41 additions, 18 deletionsbrowser/components/sessionstore/test/browser_attributes.js
Loading
Please register or sign in to comment