feat: add private journals and centralized Baidu media storage for v0.1.28
This commit is contained in:
@@ -60,3 +60,9 @@ test('settings opened before login resolves reloads once after the account is kn
|
||||
c.onAppearanceSession({values:{},defaults:{},revision:0});c.onAppearanceSession({values:{},defaults:{},revision:0});
|
||||
assert.equal(loads,1);assert.equal(c.appearanceOwner,'root');
|
||||
});
|
||||
test('replacing or resetting an image invalidates older decode jobs',()=>{
|
||||
const c=vm.createContext({pageInfo:{},document:{documentElement:{dataset:{}}}});
|
||||
vm.runInContext(source.slice(0,source.indexOf('function applyBranding(')),c);
|
||||
const first=c.nextImageJob('logo'),second=c.nextImageJob('logo');assert.equal(c.imageJobCurrent('logo',first),false);assert.equal(c.imageJobCurrent('logo',second),true);
|
||||
c.invalidateBrandImages();assert.equal(c.imageJobCurrent('logo',second),false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user