Bug 168135 - [GTK] WhatsApp web does not work after updating to 2.14.4
Summary: [GTK] WhatsApp web does not work after updating to 2.14.4
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-10 11:06 PST by Adrian Perez
Modified: 2018-05-02 18:01 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2017-02-10 11:06:29 PST
After upgrading from WebKitGTK+ 2.14.3 to version 2.14.4 the WhatsApp web
application (https://web.whatsapp.com) stopped working, and it redirects
to https://web.whatsapp.com/browsers.html?missing=cryptoSha256,cryptoAesCbc
(Maybe we are missing some crypto stuff which was available in the previous
release? That sounds odd, though...)
Comment 1 Adrian Perez 2017-02-10 11:09:34 PST
WhatsApp Web *does work* in MiniBrowser in the current Git “master”.
Comment 2 Michael Catanzaro 2017-02-10 18:54:26 PST
Nope, I can reproduce this with 2.14.3, so I think this is a server-side change. Can you confirm? I suspect WhatsApp introduced a requirement on WebCrypto, which means no more WhatsApp for us.
Comment 3 Manuel Rego Casasnovas 2017-02-13 01:48:53 PST
It works for me in 2.14.3 and it doesn't work on 2.15.4.
Comment 4 Manuel Rego Casasnovas 2017-02-13 01:54:36 PST
(In reply to comment #3)
> It works for me in 2.14.3 and it doesn't work on 2.15.4.

More info, if I use incognito mode in epiphany it doesn't work in 2.14.3 either.
Comment 5 Michael Catanzaro 2017-02-13 05:43:14 PST
(In reply to comment #3)
> It works for me in 2.14.3 and it doesn't work on 2.15.4.

Did you use build-webkit? With build-webkit you'd get experimental subtle crypto enabled, which probably mostly works in 2.14 but is probably broken in 2.15.

I have no clue why incognito mode would make a difference, though.
Comment 6 Manuel Rego Casasnovas 2017-02-13 06:58:02 PST
(In reply to comment #5)
> (In reply to comment #3)
> > It works for me in 2.14.3 and it doesn't work on 2.15.4.
> 
> Did you use build-webkit? With build-webkit you'd get experimental subtle
> crypto enabled, which probably mostly works in 2.14 but is probably broken
> in 2.15.

My 2.14.3 is from Debian testing packages.

My 2.15.4 is from "jhbuild build epiphany".

> I have no clue why incognito mode would make a difference, though.

If they did changes on the server, it might be that they don't do the checks if you already have a valid cookie and open session.
Comment 7 Michael Catanzaro 2017-02-13 07:30:57 PST
So can you use Epiphany's cookies dialog to delete your WhatsApp cookies, and see if that breaks 2.14.3?
Comment 8 Manuel Rego Casasnovas 2017-02-14 00:15:15 PST
(In reply to comment #7)
> So can you use Epiphany's cookies dialog to delete your WhatsApp cookies,
> and see if that breaks 2.14.3?

Not needed to remove cookies, today it's not working (maybe the cookie expired or something, dunno really).
Comment 9 Adrian Perez 2018-05-02 18:01:58 PDT
WhatsApp Web has been working fine since WebKitGTK+ 2.18.x, which
was the first release to include support for WebCrypto.