Changeset 199420 in webkit
- Timestamp:
- Apr 13, 2016, 12:35:08 AM (9 years ago)
- Location:
- releases/WebKitGTK/webkit-2.12
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog
r199418 r199420 1 2016-03-18 Brent Fulgham <bfulgham@apple.com> 2 3 Local file restrictions should not block sessionStorage access 4 https://bugs.webkit.org/show_bug.cgi?id=155609 5 <rdar://problem/25229461> 6 7 Reviewed by Andy Estes. 8 9 * storage/domstorage/sessionstorage/blocked-file-access-expected.txt: Added. 10 * storage/domstorage/sessionstorage/blocked-file-access.html: Added. 11 * storage/domstorage/sessionstorage/resources/blocked-example.html: Added. 12 1 13 2016-03-18 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 14 -
releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog
r199418 r199420 1 2016-03-18 Brent Fulgham <bfulgham@apple.com> 2 3 Local file restrictions should not block sessionStorage access 4 https://bugs.webkit.org/show_bug.cgi?id=155609 5 <rdar://problem/25229461> 6 7 Reviewed by Andy Estes. 8 9 Use of 'sesssionStorage' is governed by SecurityOrigin with third party access 10 set to 'ShouldAllowFromThirdParty::AlwaysAllowFromThirdParty'. We should not 11 reject local files for this combination of arguments. 12 13 Test: storage/domstorage/sessionstorage/blocked-file-access.html 14 15 * page/SecurityOrigin.cpp: 16 (WebCore::SecurityOrigin::canAccessStorage): For the case of sessionStorage, 17 allow local file access. 18 1 19 2016-03-18 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 20 -
releases/WebKitGTK/webkit-2.12/Source/WebCore/page/SecurityOrigin.cpp
r199347 r199420 376 376 return false; 377 377 378 if (isLocal() && !m_universalAccess )378 if (isLocal() && !m_universalAccess && shouldAllowFromThirdParty != AlwaysAllowFromThirdParty) 379 379 return false; 380 380
Note:
See TracChangeset
for help on using the changeset viewer.