Remove perWindowState from immutableData if there are no frames in it
Remove perWindowState from immutableData if there are no frames in it

Fix #10768

diasdavid/browser-laptop,diasdavid/browser-laptop,luixxiul/browser-laptop,luixxiul/browser-laptop,diasdavid/browser-laptop,luixxiul/browser-laptop,diasdavid/browser-laptop,luixxiul/browser-laptop