Restored has_local_storage and has_session_storage