Bug 172441 - [GTK] Cannot see shared images in https://web.skype.com/
Summary: [GTK] Cannot see shared images in https://web.skype.com/
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-22 02:42 PDT by Alberto Garcia
Modified: 2020-04-13 07:50 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 Alberto Garcia 2017-05-22 02:42:06 PDT
https://web.skype.com/ is the web version of the Skype client. The chat there works fine in general, but you cannot share images or see images that other people share. There's only a placeholder that you cannot click on.

I tried with WebKitGTK+ 2.14.7, both Epiphany and the MiniBrowser.
Comment 1 Alberto Garcia 2017-09-08 04:38:50 PDT
Same problem with other media documents like voice messages.

Still happening in 2.16.6.
Comment 2 Michael Catanzaro 2017-09-08 10:27:35 PDT
Please post the URL of an example image that doesn't load, and any errors that you see in the web inspector.
Comment 3 Alberto Garcia 2017-09-08 12:33:48 PDT
The images appear when you share them in a private conversation, and I can't share a link that works from the outside.

The web inspector shows a lot of 401/Unauthorized errors when trying to load the media:

   https://api.asm.skype.com/v1/objects/<identifier>/views/imgpsh_fullsize/status

The media is loaded using XHR, the initiator is https://swx.cdn.skype.com/v/1.99.20/js/fullExperience.min.js:367:358917
Comment 4 Adrian Perez 2018-04-17 05:13:36 PDT
Does this still happen with WebKitGTK+ 2.20.x?
Comment 5 Alberto Garcia 2018-04-17 05:17:53 PDT
Yes, I just tested with 2.20.1, same problem.
Comment 6 Alberto Garcia 2018-09-05 06:35:32 PDT
Still happening with 2.22.0
Comment 7 Alberto Garcia 2020-04-13 02:29:32 PDT
It's not possible to reproduce this problem anymore because ...

                   -----------------------------------------
                        Browser not supported

Use Microsoft Edge or Google Chrome to access Skype for Web experience.
Alternatively you can use Skype Web Control or download Skype on your desktop computer.
                   -----------------------------------------

I'm closing this bug.
Comment 8 Adrian Perez 2020-04-13 04:17:00 PDT
(In reply to Alberto Garcia from comment #7)
> It's not possible to reproduce this problem anymore because ...
> 
>                    -----------------------------------------
>                         Browser not supported
> 
> Use Microsoft Edge or Google Chrome to access Skype for Web experience.
> Alternatively you can use Skype Web Control or download Skype on your
> desktop computer.
>                    -----------------------------------------
>
> I'm closing this bug.

Betcha one could get around the browser check by changing the User-Agent
string and things would still work. As usual, webapps keep doing the crappy
thing and do UA sniffing instead of proper feature detection 🤷️

I am fine leaving this disabled for now. If somebody can confirm that a
different UA string makes Skype Web load and this is still an issue, we
could re-open this bug (and maybe file one to add an UA quirk for Skype).
Comment 9 Alberto Garcia 2020-04-13 04:27:45 PDT
(In reply to Adrian Perez from comment #8)
> Betcha one could get around the browser check by changing the User-Agent
> string and things would still work.

Pretty sure you can, but I'd just forget about Skype and give priority to
websites that are actually supported.
Comment 10 Michael Catanzaro 2020-04-13 07:50:18 PDT
If a user agent quirk makes the site work, we should add a quirk. Skype has forfeited the privilege of receiving an accurate user agent from WebKit.