Add WebKit1 SPI for storage blocking preference
authorjpfau@apple.com <jpfau@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 23:00:25 +0000 (23:00 +0000)
committerjpfau@apple.com <jpfau@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 23:00:25 +0000 (23:00 +0000)
commit124cba0cac2de3346772efff38ca0c5559736a7c
treee31be99103936beb07437d14ef251b423b68a5b4
parent6387682fe8e5807c3cf573fa5cf434bfbd589f94
Add WebKit1 SPI for storage blocking preference
https://bugs.webkit.org/show_bug.cgi?id=97356

Reviewed by Brady Eidson.

Source/WebKit/mac:

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences setStorageBlockingPolicy:]):
(-[WebPreferences storageBlockingPolicy]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

LayoutTests:

* http/tests/security/cross-origin-local-storage-wk1-expected.txt: Added.
* http/tests/security/cross-origin-local-storage-wk1.html: Added.
* platform/chromium/TestExpectations: Test currently fails on Chromium.
* platform/mac-wk2/http/tests/security/cross-origin-local-storage-wk1-expected.txt: Added.
* platform/mac/http/tests/security/cross-origin-local-storage-wk1-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/cross-origin-local-storage-wk1-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/cross-origin-local-storage-wk1.html [new file with mode: 0644]
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/mac-wk2/http/tests/security/cross-origin-local-storage-wk1-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/http/tests/security/cross-origin-local-storage-wk1-expected.txt [new file with mode: 0644]
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h
Source/WebKit/mac/WebView/WebPreferences.mm
Source/WebKit/mac/WebView/WebPreferencesPrivate.h
Source/WebKit/mac/WebView/WebView.mm