Bug 167392: REGRESSION(r210531): Relax same-volume display requirement for iOS
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jan 2017 01:43:21 +0000 (01:43 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jan 2017 01:43:21 +0000 (01:43 +0000)
commit1e96985ffe1aa8b252238eb4057139bfc32615ce
tree4dcaceabca5990c4ede66043a394d323780b88b8
parent7b0395714c0da81c292e5a88fe447f871116c881
Bug 167392: REGRESSION(r210531): Relax same-volume display requirement for iOS
https://bugs.webkit.org/show_bug.cgi?id=167392
<rdar://problem/30074665>

Reviewed by Brady Eidson.

Source/WebCore:

* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::canDisplay): Exclude the new check when building on iOS.

LayoutTests:

Rebaseline two tests for ios-simulator, now that they exclude the cross-volume file check..

* platform/ios-simulator/fast/xmlhttprequest: Added.
* platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: Added.
* platform/ios-simulator/storage: Added.
* platform/ios-simulator/storage/domstorage: Added.
* platform/ios-simulator/storage/domstorage/sessionstorage: Added.
* platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/SecurityOrigin.cpp