<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS 8 / OSX 10.10 WebGL - using a video from an other domain fails (CORS bug)"
   href="https://bugs.webkit.org/show_bug.cgi?id=135379#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS 8 / OSX 10.10 WebGL - using a video from an other domain fails (CORS bug)"
   href="https://bugs.webkit.org/show_bug.cgi?id=135379">bug 135379</a>
              from <span class="vcard"><a class="email" href="mailto:endlessroad&#64;google.com" title="Tong Shen &lt;endlessroad&#64;google.com&gt;"> <span class="fn">Tong Shen</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=135379#c20">comment #20</a>)

Hi Jer, thanks a lot for the reply! Clarify things a lot. A few questions though, still hoping we can find a way to fix this:

<span class="quote">&gt; This will only work for initial requests.  Subsequent requests (for
&gt; additional byte ranges, for sub-resources, or due to HTTP redirects) will
&gt; not come through this path, and will thus we will not get a chance to do a
&gt; CORS check on those requests.  </span >

Do you mean subsequent requests will not reach code in MediaPlayerPrivateAVFoundationObjC, or CachedResourceLoader does not give us a chance to handle subsequent requests?

Either way, if so, how did we handle this situation in other backends (namely GStreamer backend, as in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [GStreamer] No CORS support for media elements"
   href="show_bug.cgi?id=99037">https://bugs.webkit.org/show_bug.cgi?id=99037</a> )? Did we leave a loophole there?...

<span class="quote">&gt; Additionally, this path is only triggered for the HLS manifest load, but
&gt; requests for HLS media segments does not come through this API.</span >

Is this caused by AVFoundation API? If so, that would be a blocker.

Thanks again for your time!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>