unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31369: xwidget-webkit-browse-url gives blank widget on URL without protocol
@ 2018-05-05  4:50 Andrew Yoon
  2020-07-20 10:22 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Yoon @ 2018-05-05  4:50 UTC (permalink / raw)
  To: 31369

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 887 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#31369: xwidget-webkit-browse-url gives blank widget on URL without protocol
  2018-05-05  4:50 bug#31369: xwidget-webkit-browse-url gives blank widget on URL without protocol Andrew Yoon
@ 2020-07-20 10:22 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-07-20 10:22 UTC (permalink / raw)
  To: Andrew Yoon; +Cc: 31369

Andrew Yoon <andrewyoon2@gmail.com> writes:

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

I've now made this function in Emacs 28.1 add a "https://" if there's no
protocol in the URL.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-20 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-05  4:50 bug#31369: xwidget-webkit-browse-url gives blank widget on URL without protocol Andrew Yoon
2020-07-20 10:22 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).