From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Yoon Newsgroups: gmane.emacs.bugs Subject: bug#31369: xwidget-webkit-browse-url gives blank widget on URL without protocol Date: Sat, 5 May 2018 00:50:18 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000062b6c9056b6e2cc8" X-Trace: blaine.gmane.org 1525497005 26977 195.159.176.226 (5 May 2018 05:10:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 May 2018 05:10:05 +0000 (UTC) To: 31369@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 05 07:10:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEpSK-0006rf-Sx for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2018 07:10:01 +0200 Original-Received: from localhost ([::1]:37419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEpUQ-0000HV-8Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2018 01:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEpUJ-0000HN-Ds for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 01:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEpUI-00087p-Dr for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 01:12:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42252) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEpUI-00087d-9e for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 01:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEpUH-0002gX-SL for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 01:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Yoon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 May 2018 05:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31369 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152549709410283 (code B ref -1); Sat, 05 May 2018 05:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 May 2018 05:11:34 +0000 Original-Received: from localhost ([127.0.0.1]:50149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEpTq-0002fn-63 for submit@debbugs.gnu.org; Sat, 05 May 2018 01:11:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEp9S-0001zU-GT for submit@debbugs.gnu.org; Sat, 05 May 2018 00:50:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEp9M-0001dg-2d for submit@debbugs.gnu.org; Sat, 05 May 2018 00:50:25 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fEp9L-0001dW-OG for submit@debbugs.gnu.org; Sat, 05 May 2018 00:50:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEp9K-0006FH-9m for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 00:50:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEp9J-0001by-7x for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 00:50:22 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:33494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEp9I-0001Zi-W3 for bug-gnu-emacs@gnu.org; Sat, 05 May 2018 00:50:21 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id x12-v6so9173883wmc.0 for ; Fri, 04 May 2018 21:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Zd7sCW5HFmsCJPEHsRvGQQhCV7t0h+pFBRGCvoyXP5M=; b=JvD5HXofsObOqhO6oT6IId6xmpTZ6I4TsypkdfennNbdPsxaW1ELkvjHlHO45DnuYt vl7rIILDCSP5A8zIZT9k11/BYDn80FqJnQShjewt1z4q2nJBiExrPWkufJPkYWJnLxMt f2MgaCSBtHn17S1prhjtrpcouk6loUC3U8Tcda/Kp1hVvisHLC/BYL6aq6BgKQIj2m1i AYtlDD6GiY98EMzDfWWu+MTISQcWp3wuxSUgtZOmDboPHFCUeID2TxbviCIArxrUzaSd GtBGaJfLLKDMq4zsfoP8G1Sh+AkKSDQ30EjGNkW8PXYmSY+zpp7l58nSDaMKauzSy2p+ bNsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Zd7sCW5HFmsCJPEHsRvGQQhCV7t0h+pFBRGCvoyXP5M=; b=B/MW5VP/aVxvmB/MloiXAu/SgaRfloLq8jR85FJX5wDtBo+kpokeMTGePj7wYAq7mm uVLIkjqdrAbXwHJA0m7Tli+XcES1GCeVijEmyTqA+UncQaHjCVQmiRG0oSigq+zJ0DD/ smcoXIe4A8kGfDGBZ+2fC/lk6ZpLzwpIDAlGCn2kEzi0jvUoVn32PhV3tUBAiTtguNKI E7Z4NQtwGDgKdDMblRXkBm3v+7b+DiIh95/thJjDSW+Jy9KaD+qNH5QEO/lH2n4SDQzr V8KzoFO/H64yUlnYcJjetvKHRqNiH1J9OK0HWDKGwM7/X9rG2povDrVofZz5Xx49MA78 p+og== X-Gm-Message-State: ALQs6tAU15vzK7bw8OZitwKJRy9yjsuEF33ORUPAE3+CQ27n7AHf9ffl kmWAC/kilgJFH7upg7Dn1Kt4IC2yt06d+yXb1fHjtw== X-Google-Smtp-Source: AB8JxZoPZkb/x7i9irtPaYBI2b5GNDoc2gRFb5FpBjKzP3aA5dhvWl71u+J/hYdx3bypfIwt41hfEmMyX4tcpsi2h5U= X-Received: by 2002:a50:ce1b:: with SMTP id y27-v6mr25611603edi.300.1525495818793; Fri, 04 May 2018 21:50:18 -0700 (PDT) Original-Received: by 10.167.215.74 with HTTP; Fri, 4 May 2018 21:50:18 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 05 May 2018 01:11:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146023 Archived-At: --00000000000062b6c9056b6e2cc8 Content-Type: text/plain; charset="UTF-8" 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 --00000000000062b6c9056b6e2cc8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When launching the webkit browser using `M-x xwidget-webki= t-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 wen= t 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 protoc= ol and it worked, I
believe this is just an elisp error.

I think = either an error should be emitted on URLs lacking protocol
specification= s 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
--00000000000062b6c9056b6e2cc8--