Rename CrossOriginResourcePolicy same to same-origin
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 May 2018 20:44:08 +0000 (20:44 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 May 2018 20:44:08 +0000 (20:44 +0000)
commit33a6fd685150164bba3e85457ba61b4101ae5e6e
tree74f6745f61b76e185d389558b01236bbf2c0b3a9
parent25e2eb9525f1adbe0c5a28b4ca778ab3f087fa5b
Rename CrossOriginResourcePolicy same to same-origin
https://bugs.webkit.org/show_bug.cgi?id=186080

Reviewed by Chris Dumez.

Source/WebCore:

Covered by updated tests.

* platform/network/HTTPParsers.cpp:
(WebCore::parseCrossOriginResourcePolicyHeader):
* platform/network/HTTPParsers.h:

Source/WebKit:

* NetworkProcess/NetworkLoadChecker.cpp:
(WebKit::NetworkLoadChecker::shouldCrossOriginResourcePolicyPolicyCancelLoad):

Tools:

* TestWebKitAPI/Tests/WebCore/HTTPParsers.cpp:
(TestWebKitAPI::TEST):

LayoutTests:

* http/wpt/cross-origin-resource-policy/fetch-expected.txt:
* http/wpt/cross-origin-resource-policy/fetch-in-iframe-expected.txt:
* http/wpt/cross-origin-resource-policy/fetch-in-iframe.html:
* http/wpt/cross-origin-resource-policy/fetch.html:
* http/wpt/cross-origin-resource-policy/iframe-loads-expected.txt:
* http/wpt/cross-origin-resource-policy/iframe-loads.html:
* http/wpt/cross-origin-resource-policy/image-loads-expected.txt:
* http/wpt/cross-origin-resource-policy/image-loads.html:
* http/wpt/cross-origin-resource-policy/script-loads-expected.txt:
* http/wpt/cross-origin-resource-policy/script-loads.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/http/wpt/cross-origin-resource-policy/fetch-expected.txt
LayoutTests/http/wpt/cross-origin-resource-policy/fetch-in-iframe-expected.txt
LayoutTests/http/wpt/cross-origin-resource-policy/fetch-in-iframe.html
LayoutTests/http/wpt/cross-origin-resource-policy/fetch.html
LayoutTests/http/wpt/cross-origin-resource-policy/iframe-loads-expected.txt
LayoutTests/http/wpt/cross-origin-resource-policy/iframe-loads.html
LayoutTests/http/wpt/cross-origin-resource-policy/image-loads-expected.txt
LayoutTests/http/wpt/cross-origin-resource-policy/image-loads.html
LayoutTests/http/wpt/cross-origin-resource-policy/script-loads-expected.txt
LayoutTests/http/wpt/cross-origin-resource-policy/script-loads.html
Source/WebCore/ChangeLog
Source/WebCore/platform/network/HTTPParsers.cpp
Source/WebCore/platform/network/HTTPParsers.h
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebCore/HTTPParsers.cpp