New issue
Advanced search Search tips

Issue 873433 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 850839
Owner: ----
Closed: Oct 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocking:
issue 846235



Sign in to add a comment

Enabling servicified service workers but disabling out of blink CORS breaks YouTube

Reported by khym.cha...@gmail.com, Aug 11

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Example URL:
https://www.youtube.com/watch?v=1yATFrNUAFw

Steps to reproduce the problem:
1. Enable servicified service workers (chrome://flags/#enable-service-worker-servicification), disable out of blink CORS (chrome://flags/#out-of-blink-cors) and restart the browser.
2. Try to play some YouTube videos.

What is the expected behavior?
YouTube videos play normally.

What went wrong?
YouTube videos fail to play.  JavaScript console shows errors about failing to load resources from googlevideo.com due to "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access."

Did this work before? N/A 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: Fedora 28
Flash Version: 

Everything works fine if out of blink CORS is also enabled.

Videos can be temporarily made to play by using the console to remove all YouTube services workers and then reloading a YouTube page, but the problem comes back when attempting to view any further videos.

This is a refiling of  issue 870478  with better information.
 
Components: -Internals>Network Blink>ServiceWorker Blink>SecurityFeature
Labels: Needs-Triage-M68
Blocking: 846235
Labels: -Needs-Triage-M68
Servicified service workers are an experimental feature. It's recommended you use M69+ for it.

I suspect this is the same as  issue 850839  which was fixed for 69+, but we should confirm.
Cc: yhirano@chromium.org
Owner: falken@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning to falken@ to follow up on that confirmation.  Thanks!
Owner: bashi@chromium.org
Reassign to this week's worker triager :)
Mergedinto: 850839
Owner: ----
Status: Duplicate (was: Assigned)
Verified this works in Chrome 69, so duping to the other issue.

Sign in to add a comment