Dominique Leuenberger
66b57b3842
Add upstream bug fix patches OBS-URL: https://build.opensuse.org/request/show/661682 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=305
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 58d5eb7ec0b37e7e9964e4fe8a8da27e7e5b2070 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Lo=C3=AFc=20Yhuel?= <loic.yhuel@softathome.com>
|
|
Date: Thu, 20 Dec 2018 12:39:29 +0000
|
|
Subject: [PATCH] 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]+)?(/.*)?$|" \
|
|
--
|
|
2.18.1
|
|
|