session-item: refactor and inherit from WpObject

This adds WP_SESSION_ITEM_FEATURE_ACTIVE and WP_SESSION_ITEM_FEATURE_EXPORTED
features, so _activate and _export APIs have been removed. Modules and unit
tests have also been updated.
This commit is contained in:
Julian Bouzas
2021-03-17 14:52:41 -04:00
parent 5a11510e21
commit 120aab04ae
24 changed files with 1950 additions and 2676 deletions

View File

@@ -107,6 +107,10 @@ local Feature = {
Metadata = {
DATA = (1 << 16),
},
SessionItem = {
ACTIVE = (1 << 0),
EXPORTED = (1 << 1),
},
}
SANDBOX_EXPORT = {