GNU bug report logs - #31369
xwidget-webkit-browse-url gives blank widget on URL without protocol

Previous Next

Package: emacs;

Reported by: Andrew Yoon <andrewyoon2 <at> gmail.com>

Date: Sat, 5 May 2018 05:12:01 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Yoon <andrewyoon2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: xwidget-webkit-browse-url gives blank widget on URL without protocol
Date: Sat, 5 May 2018 00:50:18 -0400
[Message part 1 (text/plain, inline)]
When launching the webkit browser using `M-x xwidget-webkit-browse-url`
with a
URL such as `gnu.org`, an xwidget buffer with a blank, white background is
loaded. Entering `https://gnu.org` works as expected.

In my case, I thought this was indicative of a configuration error and went
on a
pretty deep dive trying to build latest emacs and checking all my GTK
libraries,
but after someone on IRC suggested I try adding a protocol and it worked, I
believe this is just an elisp error.

I think either an error should be emitted on URLs lacking protocol
specifications or (preferably) the URL would be resolved to a protocol
automatically.

Seen both on emacs 25.3.50.1 and on 2018-05-04 snapshot (around
a2003f9663e5649894b05695f7f2b11a3fa96339)

Andrew Yoon
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 303 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.