[Webkit-unassigned] [Bug 217770] New: Twitter PWA saved to Homescreen displays confused login state

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 15 11:19:53 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=217770

            Bug ID: 217770
           Summary: Twitter PWA saved to Homescreen displays confused
                    login state
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kenneth at kufluk.com

Created attachment 411468

  --> https://bugs.webkit.org/attachment.cgi?id=411468&action=review

Install Twitter website to homescreen shows bad login state

On iPhone XS, iOS14. I use Safari to load twitter.com.
I log into my account, and browse around.
I choose to save Twitter to my homescreen.
I then load Twitter from my homescreen.

Expected:
EITHER:
- still logged into Twitter
- logged out of Twitter

Actual:
- Page shows my account, but no content will load.

I suspect that the problem is that the homescreened site is sharing a serviceworker with safari but not sharing cookies.
I suspect the page showing my account is from the serviceworker cache, but the site does not have the right cookies to be able to make further requests.
Swipe-up the homescreened site and re-opening will show a logged-out state.

This bug is not always reproducible, I think because the serviceworker needs to be installed and to cache a page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201015/cc249a5a/attachment.htm>


More information about the webkit-unassigned mailing list