|
Lines 1-3
Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2016-05-27 Brent Fulgham <bfulgham@apple.com> |
| 2 |
|
| 3 |
CSP: Fire 'load' events even when blocking loads via 'frame-src'. |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=153150 |
| 5 |
<rdar://problem/24383162> |
| 6 |
|
| 7 |
Reviewed by NOBODY (OOPS!). |
| 8 |
|
| 9 |
Always fire a load event, even when the load is blocked by CSP rules, so that |
| 10 |
attackers cannot gain knowledge about the URL in the frame by blocking the |
| 11 |
load and waiting long enough to be sure that a 'load' event would have |
| 12 |
fired if the load wasn't blocked. |
| 13 |
|
| 14 |
Inspired by Blink patch: |
| 15 |
<https://src.chromium.org/viewvc/blink?view=rev&revision=165743> |
| 16 |
|
| 17 |
Tests: http/tests/security/contentSecurityPolicy/frame-src-cross-origin-load.html |
| 18 |
|
| 19 |
* loader/PolicyChecker.cpp: |
| 20 |
(WebCore::PolicyChecker::checkNavigationPolicy): |
| 21 |
|
| 1 |
2016-05-27 Ryan Haddad <ryanhaddad@apple.com> |
22 |
2016-05-27 Ryan Haddad <ryanhaddad@apple.com> |
| 2 |
|
23 |
|
| 3 |
Attempt to fix the iOS build. |
24 |
Attempt to fix the iOS build. |