[epiphany/gnome-3-30] Fix remote inspector support
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-30] Fix remote inspector support
- Date: Thu, 20 Dec 2018 21:43:57 +0000 (UTC)
commit 58d5eb7ec0b37e7e9964e4fe8a8da27e7e5b2070
Author: Loïc Yhuel <loic yhuel softathome com>
Date: Thu Dec 20 12:39:29 2018 +0000
Fix remote inspector support
Commit 11293728 broke inspector:// URLs : the scheme isn't known by
g_app_info_get_default_for_uri_scheme, so it triggers a search.
Fixes #600
(cherry picked from commit e3cc0433404caec9e909232ef159fc4ff3fbb146)
embed/ephy-web-view.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index bd4a6c1b8..8f8ca5c8e 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -40,7 +40,8 @@ G_DECLARE_FINAL_TYPE (EphyWebView, ephy_web_view, EPHY, WEB_VIEW, WebKitWebView)
"^https?://[^/\\.[:space:]]+.*$|" \
"^about:.*$|" \
"^data:.*$|" \
- "^file:.*$" \
+ "^file:.*$|" \
+ "^inspector://.*$" \
")"
#define EPHY_WEB_VIEW_DOMAIN_REGEX "^localhost(\\.[^[:space:]]+)?(:\\d+)?(:[0-9]+)?(/.*)?$|" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]