view-source-handler: complete request at most once
If we fail to disconnect the signal after the page loads, it could start
another load on its own using JS, which would be a disaster because we
already freed the EphyViewSourceRequest after the first load.
Hopefully fixes #1065
(cherry picked from commit 65a97fecee6a8db32316fe1bb3aa7faea4e5892a)
If we have an empty session state file, a file that exists on disk but
contains no windows, then nothing happens when we start Epiphany until
the user manually deletes the file from disk. That's bad. Show a window.
(cherry picked from commit a9ee1d2e10f17b85d0ff917cf4c14296ee4c44a6)
Epiphany 3.32 still supports the process count limit setting, but trying
to use it with modern WebKit causes a warning that crashes the
testsuite, so let's just remove this test from this branch.
session: never save before first successful page load
If WebKit is somehow so broken that it can't load any pages, we
currently overwrite the session state file with empty state, deleting
all the user's saved tabs. That's not very friendly.
Fixes #887
(cherry picked from commit 886f2ffcf7ddf17825136e52e19588442bcdfa36)