[webkit-gtk] webkitgtk and Google Maps API

Carlos Alberto Lopez Perez clopez at igalia.com
Tue Aug 16 07:49:57 PDT 2016


On 16/08/16 16:39, Carlos Alberto Lopez Perez wrote:
> On 16/08/16 16:35, Michael Catanzaro wrote:
>> On Tue, 2016-08-16 at 15:57 +0200, Philippe Charpentier wrote:
>>> Thank you very much for testing it.
>>> As you suggest I will report a bug to Fedora.
>>
>> Please don't, there's nothing we can do in Red Hat Bugzilla, I will
>> just close it and say to report it upstream. Since it seems to be fixed
>> in trunk, I guess we should just wait for 2.14 or hope to get lucky and
>> that the fix will be backported.
>>
>> Michael
> 
> I think is not a matter of using 2.12.3 or trunk.
> 
> 2.12.3 from Debian don't shows this bug.
> 
> 

And I found the problem:

The Fedora SPEC file is passing this:

  -DUSER_AGENT_GTK_DISTRIBUTOR_NAME="Fedora"

This causes MiniBrowser to have this UA:

Mozilla/5.0 (Fedora; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1

Debian one, has instead this UA:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1


And It seems Google maps don't like the first UA.


If you launch the MiniBrowser in Fedora like this, then it works:

/usr/bin/MiniBrowser \
	--user-agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1' \
	'https://developers.google.com/maps/documentation/javascript/examples/icon-simple?hl=fr'




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 883 bytes
Desc: OpenPGP digital signature
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20160816/24c691d9/attachment.sig>


More information about the webkit-gtk mailing list