<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:yuichiohkawa@yahoo.co.jp" title="Ohkawa Yuichi <yuichiohkawa@yahoo.co.jp>"> <span class="fn">Ohkawa Yuichi</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r191180): Safari does not send Referer Header to iframe src in certain situations"
href="https://bugs.webkit.org/show_bug.cgi?id=155754">bug 155754</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>yuichiohkawa@yahoo.co.jp
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r191180): Safari does not send Referer Header to iframe src in certain situations"
href="https://bugs.webkit.org/show_bug.cgi?id=155754#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r191180): Safari does not send Referer Header to iframe src in certain situations"
href="https://bugs.webkit.org/show_bug.cgi?id=155754">bug 155754</a>
from <span class="vcard"><a class="email" href="mailto:yuichiohkawa@yahoo.co.jp" title="Ohkawa Yuichi <yuichiohkawa@yahoo.co.jp>"> <span class="fn">Ohkawa Yuichi</span></a>
</span></b>
<pre>This bug also happen on OS X 10.11.4(Safari 9.1/11601.5.17.1 and Technology Preview 9.1.1).
In addition, this also happen with same-origin request.
Sample page:
<a href="https://www.ei.tohoku.ac.jp/demo/sample.html">https://www.ei.tohoku.ac.jp/demo/sample.html</a>
Steps:
1) Access above page.
2) Reload the page.
A sample page has style tag and script tag.
If there is no style tag(*1) or no script tag(*2) in page, safari sends referer header correctly.
Additional samples:
*1 <a href="https://www.ei.tohoku.ac.jp/demo/sample3.html">https://www.ei.tohoku.ac.jp/demo/sample3.html</a>
*2 <a href="https://www.ei.tohoku.ac.jp/demo/sample2.html">https://www.ei.tohoku.ac.jp/demo/sample2.html</a>
In these sample, I used php page for iframe src.
If I used static page for iframe src, the behavior changed.
When pages are cached in safari, safari sends referer header.
However, if I clear page caches, safari became not to send.</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>