[Webkit-unassigned] [Bug 143284] New: CORS violation for <track> element with data URI - WebVTT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 31 17:00:50 PDT 2015


            Bug ID: 143284
           Summary: CORS violation for <track> element with data URI -
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: radoslaw.wlodkowski at gmail.com

Example URL:

Steps to reproduce the problem:
1. Open given test site URL with <video> with <track> element with src specified as data URI with base64 encoded WebVTT subtitles.
2. The subtitles are not displayed.
3. There is an error log in console: Cross-origin text track load denied by Cross-Origin Resource Sharing policy.

What is the expected behavior?
The subtitles inside data URI are loaded, parsed and displayed correctly. No CORS violation is reported.

What went wrong?
CORS violation withhold subtitles data from loading and parsing, so they couldn't be displayed as expected.

Did this work before? No 

Does this work in other browsers? No. Chrome 41.0.2272.101, Opera 28.0.1750.48, Internet Explorer 11

The bug is present in all WebKit based browsers on all platforms: OS X, iOS (iPad, iPhone).

Similar issue was found in Firefox:
but with current 36.0.4 version, data URIs for <track> elements seems to work fine.

Data URIs for <track> elements aren't working in IE11 too: CC menu is displayed with listed tracks, but subtitles aren't displayed. No errors are logged.

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/20150401/bb2562d5/attachment-0002.html>

More information about the webkit-unassigned mailing list