winlib: check error before initializing padding
winlib: allow browser silent for test