RESOLVED FIXED181908
Safari Tech Preview can't use GitHub login at forums.swift.org
https://bugs.webkit.org/show_bug.cgi?id=181908
Summary Safari Tech Preview can't use GitHub login at forums.swift.org
Jon
Reported 2018-01-20 14:27:54 PST
Release 47 (Safari 11.1, WebKit 13605.1.19.1) When trying to login using GitHub on the new Discourse forums at forums.swift.org, Safari Technology Preview shows the attached error. Relevant text is likely "Response served by service worker is opaque" (WebKitInternal:0). Login works normally in release Safari (Version 11.0.2 (13604.4.7.1.6)).
Attachments
Patch (11.99 KB, patch)
2018-01-22 07:39 PST, youenn fablet
ews-watchlist: commit-queue-
Archive of layout-test-results from ews107 for mac-sierra-wk2 (3.03 MB, application/zip)
2018-01-22 08:49 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.99 MB, application/zip)
2018-01-22 08:52 PST, EWS Watchlist
no flags
Patch (12.02 KB, patch)
2018-01-22 08:58 PST, youenn fablet
no flags
Patch (12.04 KB, patch)
2018-01-22 10:36 PST, Chris Dumez
no flags
Radar WebKit Bug Importer
Comment 1 2018-01-21 14:02:01 PST
youenn fablet
Comment 2 2018-01-22 07:39:59 PST
EWS Watchlist
Comment 3 2018-01-22 08:49:20 PST
Comment on attachment 331925 [details] Patch Attachment 331925 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/6169869 New failing tests: http/tests/security/contentSecurityPolicy/function-constructor-allowed.html http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html http/tests/security/contentSecurityPolicy/object-redirect-blocked2.html http/tests/security/contentSecurityPolicy/embed-redirect-blocked.html http/tests/security/contentSecurityPolicy/1.1/form-action-src-redirect-blocked.html http/tests/security/contentSecurityPolicy/object-redirect-blocked.html http/tests/security/contentSecurityPolicy/iframe-redirect-blocked-by-frame-src.html http/tests/security/contentSecurityPolicy/1.1/child-src/frame-src-takes-precedence-over-child-src.html
EWS Watchlist
Comment 4 2018-01-22 08:49:21 PST
Created attachment 331929 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 5 2018-01-22 08:51:58 PST
Comment on attachment 331925 [details] Patch Attachment 331925 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/6169880 New failing tests: http/tests/security/contentSecurityPolicy/embed-redirect-blocked3.html http/tests/security/contentSecurityPolicy/1.1/child-src/frame-redirect-blocked.html http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html http/tests/security/contentSecurityPolicy/object-redirect-blocked2.html http/tests/security/contentSecurityPolicy/object-redirect-blocked3.html http/tests/security/contentSecurityPolicy/iframe-redirect-blocked-by-child-src.html http/tests/security/blocked-on-redirect.html http/tests/security/contentSecurityPolicy/frame-src-redirect-blocked.html http/tests/security/contentSecurityPolicy/embed-redirect-blocked.html http/tests/security/contentSecurityPolicy/1.1/form-action-src-redirect-blocked.html http/tests/security/contentSecurityPolicy/object-redirect-blocked.html http/tests/security/contentSecurityPolicy/iframe-redirect-blocked-by-frame-src.html http/tests/security/contentSecurityPolicy/embed-redirect-blocked2.html
EWS Watchlist
Comment 6 2018-01-22 08:52:00 PST
Created attachment 331930 [details] Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
youenn fablet
Comment 7 2018-01-22 08:58:19 PST
Chris Dumez
Comment 8 2018-01-22 10:13:38 PST
Comment on attachment 331932 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=331932&action=review r=me with comment. > Source/WebCore/loader/DocumentLoader.cpp:488 > + auto tryLoadingThroughServiceWorker = !frameLoader()->isReloadingFromOrigin() && m_frame->page() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled() && SchemeRegistry::canServiceWorkersHandleURLScheme(url.protocol().toStringWithoutCopying()); Variable name would be better with a *should* prefix.
Chris Dumez
Comment 9 2018-01-22 10:18:29 PST
(In reply to Chris Dumez from comment #8) > Comment on attachment 331932 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=331932&action=review > > r=me with comment. > > > Source/WebCore/loader/DocumentLoader.cpp:488 > > + auto tryLoadingThroughServiceWorker = !frameLoader()->isReloadingFromOrigin() && m_frame->page() && RuntimeEnabledFeatures::sharedFeatures().serviceWorkerEnabled() && SchemeRegistry::canServiceWorkersHandleURLScheme(url.protocol().toStringWithoutCopying()); > > Variable name would be better with a *should* prefix. Youenn, will you be able to make this change today? Otherwise, I'll do it and land.
Chris Dumez
Comment 10 2018-01-22 10:36:39 PST
youenn fablet
Comment 11 2018-01-22 10:44:10 PST
Thanks!
Chris Dumez
Comment 12 2018-01-22 12:22:48 PST
Comment on attachment 331942 [details] Patch Clearing flags on attachment: 331942 Committed r227348: <https://trac.webkit.org/changeset/227348>
Chris Dumez
Comment 13 2018-01-22 12:22:49 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.