test cookie&localstorage
test window