Bug 182134 - ServiceWorkerClientFetch should not consider responses without Location headers as redirection responses
Summary: ServiceWorkerClientFetch should not consider responses without Location heade...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on: 182193
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-25 12:09 PST by youenn fablet
Modified: 2018-01-31 09:37 PST (History)
8 users (show)

See Also:


Attachments
Patch (6.86 KB, patch)
2018-01-25 12:12 PST, youenn fablet
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews104 for mac-sierra-wk2 (3.03 MB, application/zip)
2018-01-25 13:12 PST, EWS Watchlist
no flags Details
Archive of layout-test-results from ews125 for ios-simulator-wk2 (2.15 MB, application/zip)
2018-01-25 13:43 PST, EWS Watchlist
no flags Details
Patch (7.56 KB, patch)
2018-01-26 16:58 PST, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2018-01-25 12:09:33 PST
ServiceWorkerClientFetch should not consider responses without Location headers as redirection responses
Comment 1 youenn fablet 2018-01-25 12:12:40 PST
Created attachment 332296 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2018-01-25 12:36:24 PST
<rdar://problem/36878770>
Comment 3 Chris Dumez 2018-01-25 12:41:45 PST
Comment on attachment 332296 [details]
Patch

r=me
Comment 4 EWS Watchlist 2018-01-25 13:12:11 PST
Comment on attachment 332296 [details]
Patch

Attachment 332296 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/6211908

New failing tests:
imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https.html
Comment 5 EWS Watchlist 2018-01-25 13:12:12 PST
Created attachment 332304 [details]
Archive of layout-test-results from ews104 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 6 EWS Watchlist 2018-01-25 13:43:48 PST
Comment on attachment 332296 [details]
Patch

Attachment 332296 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/6212000

New failing tests:
imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https.html
Comment 7 EWS Watchlist 2018-01-25 13:43:49 PST
Created attachment 332309 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.6
Comment 8 youenn fablet 2018-01-26 16:58:49 PST
Created attachment 332432 [details]
Patch
Comment 9 WebKit Commit Bot 2018-01-29 18:15:19 PST
Comment on attachment 332432 [details]
Patch

Clearing flags on attachment: 332432

Committed r227770: <https://trac.webkit.org/changeset/227770>
Comment 10 WebKit Commit Bot 2018-01-29 18:15:21 PST
All reviewed patches have been landed.  Closing bug.
Comment 12 Matt Lewis 2018-01-30 11:03:04 PST
It looks like the crash this test is hitting is the same in: https://bugs.webkit.org/show_bug.cgi?id=182054
Comment 13 youenn fablet 2018-01-30 11:09:20 PST
(In reply to Matt Lewis from comment #12)
> It looks like the crash this test is hitting is the same in:
> https://bugs.webkit.org/show_bug.cgi?id=182054

That makes sense.
Before the patch, the patch was skipped.
With the patch, the test runs successfully and uses message ports internally to help testing.