Firefox window placement in workspaces

Thank you @CommanderKeen, I’ve installed “Smart auto move” and it seems to place windows where they should be when I exit/restart Firefox.

So, just curious now: is this then a GNOME issue? I am just wondering whether:

  1. Is it Firefox code that is aware of desktop workspaces and tries to restore original state at startup? Therefore Firefox code is not detecting properly the GNOME workspaces and fails to behave correcty, OR:

  2. It’s something Firefox does not care about: it simply recreates its windows with their tabs and puts them all in one place, leaving it to the desktop (in this case GNOME) to restore each window’s original location?

I was sort of assuming it is (1), but now that a GNOME extension has fixed this for me, I am not so sure…