[Webkit-unassigned] [Bug 182916] Issues with Service Worker on treebo.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 26 08:25:46 PST 2018


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

Jeffrey Posnick <jeffy34 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeffy34 at gmail.com

--- Comment #4 from Jeffrey Posnick <jeffy34 at gmail.com> ---
After looking into it some more, it seems like Treebo has a customized service worker that it uses for "mobile" user agents. That service worker script imports https://static.treebo.com/rodimus/build/client/offline/offline.00000002.js which in turn handles the custom offline page for failed navigations.

So, the offline fallback wasn't working in Safari TP 49 when I tested because I was using a "desktop" user agent, and the offline fallback script wasn't imported.

I just upgraded to Safari TP 50 and explicitly switched my user agent emulation to iOS 11.0 - iPhone, and I was served the service worker script with the extra offline fallback logic. It works as expected when I disabled my internet connection and navigated to the page.

I'm not readily able to reproduce the second issue, as it only cropped up once while testing with TP 49. It might have been due to a bug in Safari TP 49 that has since been fixed in Safari TP 50.

-- 
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/20180226/f7c443f3/attachment.html>


More information about the webkit-unassigned mailing list