<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[277520] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/277520">277520</a></dd>
<dt>Author</dt> <dd>eric.carlson@apple.com</dd>
<dt>Date</dt> <dd>2021-05-14 17:00:25 -0700 (Fri, 14 May 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>[GPUP] a media element with a data url and "crossorigin='anonymous'" doesn't load
https://bugs.webkit.org/show_bug.cgi?id=225786
<rdar://77625185>

Reviewed by Jer Noble.

Source/WebCore:

Test: media/data-url-cross-origin.html

* loader/MediaResourceLoader.cpp:
(WebCore::MediaResourceLoader::requestResource): Set loader options `sameOriginDataURLFlag`
to `SameOriginDataURLFlag::Set` so data: urls are treated as same origin.

LayoutTests:

* media/data-url-cross-origin-expected.txt: Added.
* media/data-url-cross-origin.html: Added.
* media/media-file.js:
(findDataURL):
* media/sources-fallback-codecs.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsmediamediafilejs">trunk/LayoutTests/media/media-file.js</a></li>
<li><a href="#trunkLayoutTestsmediasourcesfallbackcodecshtml">trunk/LayoutTests/media/sources-fallback-codecs.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreloaderMediaResourceLoadercpp">trunk/Source/WebCore/loader/MediaResourceLoader.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsmediadataurlcrossoriginexpectedtxt">trunk/LayoutTests/media/data-url-cross-origin-expected.txt</a></li>
<li><a href="#trunkLayoutTestsmediadataurlcrossoriginhtml">trunk/LayoutTests/media/data-url-cross-origin.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (277519 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog      2021-05-14 23:46:10 UTC (rev 277519)
+++ trunk/LayoutTests/ChangeLog 2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2021-05-14  Eric Carlson  <eric.carlson@apple.com>
+
+        [GPUP] a media element with a data url and "crossorigin='anonymous'" doesn't load
+        https://bugs.webkit.org/show_bug.cgi?id=225786
+        <rdar://77625185>
+
+        Reviewed by Jer Noble.
+
+        * media/data-url-cross-origin-expected.txt: Added.
+        * media/data-url-cross-origin.html: Added.
+        * media/media-file.js:
+        (findDataURL):
+        * media/sources-fallback-codecs.html:
+
</ins><span class="cx"> 2021-05-14  Peng Liu  <peng.liu6@apple.com>
</span><span class="cx"> 
</span><span class="cx">         REGRESSION: [ Mac WK2 ] fast/mediastream/audio-track-enabled.html is flaky failing
</span></span></pre></div>
<a id="trunkLayoutTestsmediadataurlcrossoriginexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/media/data-url-cross-origin-expected.txt (0 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/data-url-cross-origin-expected.txt                               (rev 0)
+++ trunk/LayoutTests/media/data-url-cross-origin-expected.txt  2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Test that a video element with "crossorigin='anonymous'" can use a data: url
+
+
+EVENT(loadstart)
+EVENT(durationchange)
+EVENT(loadedmetadata)
+EVENT(loadeddata)
+EVENT(canplay)
+EVENT(canplaythrough)
+EXPECTED (mediaElement.duration > '0') OK
+END OF TEST
+
</ins></span></pre></div>
<a id="trunkLayoutTestsmediadataurlcrossoriginhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/media/data-url-cross-origin.html (0 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/data-url-cross-origin.html                               (rev 0)
+++ trunk/LayoutTests/media/data-url-cross-origin.html  2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+<html>
+    <head>
+        <script src=video-test.js></script>
+        <script src=media-file.js></script>
+
+        <script>
+            function canplaythrough()
+            {
+                testExpected("mediaElement.duration", 0, '>');
+                endTest();
+            }
+
+            function start()
+            {
+                findMediaElement();
+                waitForEvent("error");
+                waitForEvent("loadstart");
+                waitForEvent("waiting");
+                waitForEvent("ratechange");
+                waitForEvent("durationchange");
+                waitForEvent("loadedmetadata");
+                waitForEvent("loadeddata");
+                waitForEvent("canplay");
+                waitForEvent("canplaythrough", canplaythrough);
+
+                video.src = findDataURL('video');
+                video.load();
+            }
+        </script>
+    </head>
+
+    <body onload="start()">
+        <p>Test that a video element with "crossorigin='anonymous'" can use a data: url</p>
+        <video crossorigin='anonymous' controls>
+    </body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsmediamediafilejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/media/media-file.js (277519 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/media-file.js    2021-05-14 23:46:10 UTC (rev 277519)
+++ trunk/LayoutTests/media/media-file.js       2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -77,3 +77,128 @@
</span><span class="cx">     function handle() { }
</span><span class="cx">     return promise.then(handle, handle);
</span><span class="cx"> }
</span><ins>+
+//  The base64'd data below was generated from the corresponding content/test.{mp4,ogv} files with:
+//    rm -f test-frame.ogv test-frame.mp4 && \
+//      ~/tmp/ffmpeg/ffmpeg -i test.mp4 -an -vframes 1 test-frame.png && \
+//      pngtopnm test-frame.png > test-frame.pnm && pnmscale 0.25 test-frame.pnm|pnmtopng > test-frame.png && \
+//      ~/tmp/ffmpeg/ffmpeg -i test-frame.png -an -vframes 1 -s 80x60 test-frame.mp4 && \
+//      ffmpeg2theora test-frame.mp4 -o test-frame.ogv && rm test-frame.png test-frame.pnm
+//    Followed by [base64 -w 120 test-frame.ogv] and [base64 -w 120 test-frame.mp4].
+// 
+
+const dataURLs = {
+    "mp4" : `data:video/mp4;base64,
+AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAHuG1kYXQAAAGzABAHAAABthBgdgpU4Bg8SyD1tWXqqBr13UzOZBxmb/64MV3Y2OWRzRBZ
+vxztjdtC0aswA4S201VqgQ/Np60Xf8OUmDifBg+95svvk+lsTg4EMuv6x9WzQbpfFfpARTAuyg4uzeDkGWlUS9HIed50tZ6pNjlvoEfjd6hclYB4KApmDwRr
+AZTg4Zawfliu78GzrSRSn2346BT23GdS+aoN6cTJARID4MA79lWcA4kA03AYc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qjLad2pJVNlxcrFNTU1NxMGZmYZLw9FOO1MMyzMZOXW2i5f+SZOTWvXrxbvWtF9F/qpM8k7VWZ1srpVdmc/rNt5671q/4o
+aPLioDn63vKe+3TsR1QdT3cbbX29dJhFWxGfPji8uow/RvEdxN26QXd3d3dmltxmvn9xX41q7lJ+EyZMmTJk5d7e2lt4T80idGzp5p4ZOwcwt9MfSg2px6rr
+OjC7dunTLPnPm37py9tZjaU10a2lujlPd5ZYZbWZmZmYa7t76epZjI6IyFSpUiRI6tO81MJ+FSshXxUNo2qCYteb6DTfQ7eWHcYqrx8q3N+WmphpSJJJJM/j
+1au8t2/m25K9evXr169fcx23mLqG6yrVvctNSdG9PTPz32j10DtUeJJJCiPs2L3slpLcg3LLLJJJQaTfR9IalPOLMvdptttts9C1Q35jwWm306Lp06dOnTp0
+aWtuFpwSSSSHPcIguQA=`,
+};
+
+function dataURL(type) 
+{
+    const url = dataURLs[type];
+    if (!url)
+        console.log(`No base64 url for type ${type}`)
+
+    return url;
+}
+
+function findDataURL(tagName) {
+    let element = document.getElementsByTagName(tagName)[0];
+    if (!element)
+        element = document.createElement(tagName);
+
+    for (let type in dataURLs) {
+        if (element.canPlayType(`${tagName}/${type}`))
+            return dataURLs[type];
+    }
+
+    console.log(`No base64 url for type ${type}`)
+    return '';
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsmediasourcesfallbackcodecshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/media/sources-fallback-codecs.html (277519 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/media/sources-fallback-codecs.html     2021-05-14 23:46:10 UTC (rev 277519)
+++ trunk/LayoutTests/media/sources-fallback-codecs.html        2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -2,6 +2,7 @@
</span><span class="cx"> <html>
</span><span class="cx">     <head>
</span><span class="cx">         <script src=video-test.js></script>
</span><ins>+        <script src=media-file.js></script>
</ins><span class="cx">         <script>
</span><span class="cx">             var canPlayThroughCount = 0;
</span><span class="cx">             function onCanPlayThrough() {
</span><span class="lines">@@ -30,9 +31,28 @@
</span><span class="cx">                 var id = (e.target.tagName == 'SOURCE' ? e.target.parentNode.id : e.target.id);
</span><span class="cx">                 failTest("tag: " + e.target.tagName + ", id: " + id + ", src: " + e.target.src);
</span><span class="cx">             }
</span><ins>+            
+            function createSourceOfType(type)
+            {
+                const source = document.createElement('source');
+                source.type = `video/${type}`;
+                source.src = dataURL(type);
+                return source;
+            }
+
+            function setup()
+            {
+                let video = document.getElementById('v3');
+                video.appendChild(createSourceOfType('mp4'));
+                video.appendChild(createSourceOfType('ogg'));
+
+                video = document.getElementById('v4');
+                video.appendChild(createSourceOfType('mp4'));
+                video.appendChild(createSourceOfType('ogg'));
+            }
</ins><span class="cx">             </script>
</span><span class="cx">     </head>
</span><del>-    <body>
</del><ins>+    <body onload="setup()">
</ins><span class="cx">         Test that fallback among codecs is done correctly regardless of their order.
</span><span class="cx">         <!-- This could be made far more general, testing all permutations of
</span><span class="cx">              (audio|video)Codecs and so on, but in reality we only have these 4
</span><span class="lines">@@ -61,200 +81,10 @@
</span><span class="cx">             <source onerror='onError(event)' type="audio/wav" src="content/test.wav"/>
</span><span class="cx">         </audio>
</span><span class="cx"> 
</span><del>-        <!-- The base64'd data below was generated from the corresponding content/test.{mp4,ogv} files with:
-             rm -f test-frame.ogv test-frame.mp4 && \
-               ~/tmp/ffmpeg/ffmpeg -i test.mp4 -an -vframes 1 test-frame.png && \
-               pngtopnm test-frame.png > test-frame.pnm && pnmscale 0.25 test-frame.pnm|pnmtopng > test-frame.png && \
-               ~/tmp/ffmpeg/ffmpeg -i test-frame.png -an -vframes 1 -s 80x60 test-frame.mp4 && \
-               ffmpeg2theora test-frame.mp4 -o test-frame.ogv && rm test-frame.png test-frame.pnm
-             Followed by [base64 -w 120 test-frame.ogv] and [base64 -w 120 test-frame.mp4].
-        -->
</del><span class="cx">         <video id="v3" controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'>
</span><del>-            <source onerror='onError(event)'
-                    src="data:video/mp4;base64,
-AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAHuG1kYXQAAAGzABAHAAABthBgdgpU4Bg8SyD1tWXqqBr13UzOZBxmb/64MV3Y2OWRzRBZ
-vxztjdtC0aswA4S201VqgQ/Np60Xf8OUmDifBg+95svvk+lsTg4EMuv6x9WzQbpfFfpARTAuyg4uzeDkGWlUS9HIed50tZ6pNjlvoEfjd6hclYB4KApmDwRr
-AZTg4Zawfliu78GzrSRSn2346BT23GdS+aoN6cTJARID4MA79lWcA4kA03AYcp4mBVsNlk9hYqEJW20JJePwNxJqthUyX/HNYEHS8P79hhLN0z88EBKyOd+B
-1NqZkSmM3f98PYrSpxGVM3yYDZa0O1fh/5O2X+YZUK2WVYfe/n3HgYtxtM0pHQkA8H/zsj2RQX80S0+Kh2rBCgMv2gdVpR+r98t6k36bRyJE2B8AxqxLxhod
-7g6EhYQ8T3vi/jReXfANEtMOmQZcHg/+cG6IybfRqtMAigG43g6Z1uA+D/0/aXh2JCpWr94eCSlZrbKZU1oKZujuwvCGCnA1qcvxZJ/BJmgxb9VRA6Boch+D
-AJF7KUeYOvCXiYEVpOCmEDGmmByrBhy3GFUgf6x6DnR3VI5/6SMt3auZC58DgjfA2pLsBxfufZsv8t3N/+XLmysB62z/RALC37Kv/1Ost0zGiEOtD/qbAYri
-TG1CnwPBwC96PlF9crWpNK1WtFmtbJuWXJXfMuPghiUJbPmPD5vitVGYrbYTRq62XKh3U1AzrIfgiBDjegrA+o5V5Fe/LTAuD5igwiNL96HmL9LeoEIgs9Nj
-n4EdPlGBGHSZmK1SRppvFUSZfLTGMxr0zPB1A8VKvXZimtKlXrb5hqGI+2HzFBhEaX70PMX6W9QIRBZ6bHPwI6ftWqYrDIKxq9abBkGb1TjfVhAZUqRBb7BA
-b6Ofh58t3DNZ/zcU+3P4HOWbBi6Fa7DMRgY+tzvSqoCxnpQIDfQIfGz/fwA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AAABWaWRl
-b0hhbmRsZXIAAAABaW1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAASlzdGJsAAAAxXN0c2QA
-AAAAAAAAAQAAALVtcDR2AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAFAAPABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-GP//AAAAX2VzZHMAAAAAA4CAgE4AAQAEgICAQCARAAAAAAYBgAAGAYAFgICALgAAAbABAAABtYkTAAABAAAAASAAxI2IAM0ChAeUQwAAAbJMYXZjNTQuMS4x
-MDAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAHsAAAAAEAAAAUc3RjbwAA
-AAAAAAABAAAALAAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAA
-AQAAAABMYXZmNTQuMC4xMDA="/>
-            <source onerror='onError(event)'
-                    src="data:video/ogg;base64,
-T2dnUwACAAAAAAAAAABDt3UdAAAAAG1FPOwBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AABPZ2dTAAIAAAAAAAAAAKK34ysAAAAAwlsClQEqgHRoZW9yYQMCAQAFAAQAAFAAADwABAAAABkAAAABAAABAAABAgAAAIDAT2dnUwAAAAAAAAAAAABDt3Ud
-AQAAAFp3fKUBUGZpc2JvbmUALAAAAKK34ysDAAAAGQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAYAAABDb250ZW50LVR5cGU6IHZpZGVvL3RoZW9yYQ0K
-T2dnUwAAAAAAAAAAA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46k45f/YwcgIrj/v0lKe/O7777/urfwDuRL4vnLC2W8VNKmlTXI85zhb9Tzg5Pq3b4MHGJys
-A0vsJbIsiyLIsEXpf8Fvh9ve5rMuDmsFkgjCv6z0V/RCArnWZw2pL3cs2uKgHydecWhDe3OxQXkRfRz3haf8V7+0/u7FiQDyfSCDxnf/uIhzK8RYGDCXYRMY
-qVpiJEi6iqzlnq91PbMvN7rqyqfI2QlKUpAgQIcDeBvA3afsV8/MqBxcDH6z8DKVq+fDeHyLb9bk1SlLLSZV5sj6vR9c+ZoSzmUe7nFIY77Io1uY7TGlp67W
-1xSRjyffmuz+ZZnIo6iK81o5jPqjLad2pJVNlxcrFNTU1NxMGZmYZLw9FOO1MMyzMZOXW2i5f+SZOTWvXrxbvWtF9F/qpM8k7VWZ1srpVdmc/rNt5671q/4o
-aPLioDn63vKe+3TsR1QdT3cbbX29dJhFWxGfPji8uow/RvEdxN26QXd3d3dmltxmvn9xX41q7lJ+EyZMmTJk5d7e2lt4T80idGzp5p4ZOwcwt9MfSg2px6rr
-OjC7dunTLPnPm37py9tZjaU10a2lujlPd5ZYZbWZmZmYa7t76epZjI6IyFSpUiRI6tO81MJ+FSshXxUNo2qCYteb6DTfQ7eWHcYqrx8q3N+WmphpSJJJJM/j
-1au8t2/m25K9evXr169fcx23mLqG6yrVvctNSdG9PTPz32j10DtUeJJJCiPs2L3slpLcg3LLLJJJQaTfR9IalPOLMvdptttts9C1Q35jwWm306Lp06dOnTp0
-aWtuFpwSSSSHPcIguQA="/>
</del><span class="cx">         </video>
</span><span class="cx"> 
</span><span class="cx">         <video id="v4" controls oncanplaythrough='onCanPlayThrough()' onerror='onError(event)'>
</span><del>-            <source onerror='onError(event)'
-                    src="data:video/ogg;base64,
-T2dnUwACAAAAAAAAAABDt3UdAAAAAG1FPOwBQGZpc2hlYWQAAwAAAAAAAAAAAAAA6AMAAAAAAAAAAAAAAAAAAOgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-AABPZ2dTA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bmRsZXIAAAABaW1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAASlzdGJsAAAAxXN0c2QA
-AAAAAAAAAQAAALVtcDR2AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAFAAPABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-GP//AAAAX2VzZHMAAAAAA4CAgE4AAQAEgICAQCARAAAAAAYBgAAGAYAFgICALgAAAbABAAABtYkTAAABAAAAASAAxI2IAM0ChAeUQwAAAbJMYXZjNTQuMS4x
-MDAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAHsAAAAAEAAAAUc3RjbwAA
-AAAAAAABAAAALAAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAA
-AQAAAABMYXZmNTQuMC4xMDA="/>
</del><span class="cx">         </video>
</span><span class="cx"> 
</span><span class="cx">     </body>
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (277519 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2021-05-14 23:46:10 UTC (rev 277519)
+++ trunk/Source/WebCore/ChangeLog      2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2021-05-14  Eric Carlson  <eric.carlson@apple.com>
+
+        [GPUP] a media element with a data url and "crossorigin='anonymous'" doesn't load
+        https://bugs.webkit.org/show_bug.cgi?id=225786
+        <rdar://77625185>
+
+        Reviewed by Jer Noble.
+
+        Test: media/data-url-cross-origin.html
+
+        * loader/MediaResourceLoader.cpp:
+        (WebCore::MediaResourceLoader::requestResource): Set loader options `sameOriginDataURLFlag`
+        to `SameOriginDataURLFlag::Set` so data: urls are treated as same origin.
+
</ins><span class="cx"> 2021-05-14  Peng Liu  <peng.liu6@apple.com>
</span><span class="cx"> 
</span><span class="cx">         REGRESSION: [ Mac WK2 ] fast/mediastream/audio-track-enabled.html is flaky failing
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderMediaResourceLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/MediaResourceLoader.cpp (277519 => 277520)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/MediaResourceLoader.cpp      2021-05-14 23:46:10 UTC (rev 277519)
+++ trunk/Source/WebCore/loader/MediaResourceLoader.cpp 2021-05-15 00:00:25 UTC (rev 277520)
</span><span class="lines">@@ -112,6 +112,7 @@
</span><span class="cx">         contentSecurityPolicyImposition,
</span><span class="cx">         DefersLoadingPolicy::AllowDefersLoading,
</span><span class="cx">         cachingPolicy };
</span><ins>+    loaderOptions.sameOriginDataURLFlag = SameOriginDataURLFlag::Set;
</ins><span class="cx">     loaderOptions.destination = m_destination;
</span><span class="cx">     auto cachedRequest = createPotentialAccessControlRequest(WTFMove(request), WTFMove(loaderOptions), *m_document, m_crossOriginMode);
</span><span class="cx">     if (m_element)
</span></span></pre>
</div>
</div>

</body>
</html>