--- "window-state": patch --- Fix `restore_window` and `filename` js binding missing permission