~gnome3-team/epiphany-browser/+git/master:gnome-3-30

Last commit made on 2020-06-05
Get this branch:
git clone -b gnome-3-30 https://git.launchpad.net/~gnome3-team/epiphany-browser/+git/master

Branch merges

Branch information

Name:
gnome-3-30
Repository:
lp:~gnome3-team/epiphany-browser/+git/master

Recent commits

7b54e4c... by Jeff Bai

Update Chinese (China) translation

6b1eb78... by Michael Catanzaro

Prepare 3.30.5

a18c717... by Michael Catanzaro

web-view: don't connect to embed-shell in page-created cb

This isn't the right place. It could lead to these signals being
connected multiple times due to PSON.

ac8ffa3... by Michael Catanzaro

Do not trust URI during WEBKIT_LOAD_STARTED

Since WebKit r243434 [1][2], the web view's URI property might not be
updated during WEBKIT_LOAD_STARTED. For example, when on the
about:overview page, if we click on any overview thumbnail, the URI is
still ephy-about:overview at this point. WebKit internally knows the
URI is different, but it is hiding the change from us until
WEBKIT_LOAD_COMMITTED because it doesn't know if web content is
maliciously attempting to spoof the URI. The URI is now only expected to
be accurate if the load was initiated by API request, e.g.
webkit_web_view_load_uri(), and our code here doesn't know anything
about how the load was initiated, so we'd better not check the URI here
at all.

There were several regressions that I never noticed until today:

 (1) We freeze the history here improperly, since we incorrectly think
     that we are loading about:overview. Then the page we load doesn't
     make it into history.

 (2) For the same reason, we don't save a new snapshot of the page for
     the overview, resulting in stale snapshots persisting the next time
     the overview is opened.

 (3) We set the loading message in the floating statusbar to indicate
     that we are loading the currently-viewed page, rather than the page
     that is actually being loaded. To fix this, we can just set the
     label to "Loading...", without displaying any URL at all, until
     WEBKIT_LOAD_COMMITTED is reached.

These bugs only occur when the load is initiated by web content, or by
user interaction with web content. Loads triggered by API request should
be fine.

[1] https://trac.webkit.org/changeset/243434
[2] https://bugs.webkit.org/show_bug.cgi?id=194208

ec60b89... by Carlos Garcia Campos <email address hidden>

web-view: remove the previous extension weak pointer before setting a new one

Now that WebKit has PSON enabled, it's possible to have different web
processes for the same web view ID. When the view swaps processes, the
page created signal is emitted in the new process, and a new web
extension proxy is set.

This might fix https://gitlab.gnome.org/GNOME/epiphany/issues/871

895da92... by Sonny Piers <email address hidden>

Fix bug in Ephy.getWebAppIcon

(cherry picked from commit 0d07007968dd0ebf6e7ff9e3ef7055c7679ff589)

0314d3a... by Exalm

ephy-action-bar-start: Chain up in constructed()

(cherry picked from commit 8c7f681afa61f72817dafea25ac602973d926761)

4d90691... by Michael Catanzaro <email address hidden>

download: prepare for WebKitDownload to outlive the EphyDownload

I'm seeing occasional criticals when a WebKitDownload outlives the
EphyDownload, so better protect here.

(cherry picked from commit f793d533d4d9dc6eda6c5d20648721cd61859523)

4ded921... by Michael Catanzaro <email address hidden>

history-manager: avoid critical when deleting URLs not tracked by sync

Fixes #691

(cherry picked from commit 7e7aa0fbd26147bb2b0aadd1e67fb3f65d9937e6)

(cherry picked from commit 7be86b8b66afa396f6c0a94ee9dd75f16f924acb)

97bc80c... by Michael Catanzaro <email address hidden>

gsb-service: ref self for lifetime of update thread

Fixes #736

(cherry picked from commit cefc3e33cca914cdc3130e589bc855491baaf004)

(cherry picked from commit 28eee99ade1cfb4fa84b50f844e0bfac3c2a4b21)