According to the storage access specification, to set this permission, we require not only origin but also top-level origin. So I think to support it we have to add to the permissions.setPermission WebDriver BiDi command also the optionaltopLevelOrigin argument, which will be required in case of storage-access permission.