XSLT-created HTML documents do not inherit first party for cookies from originally...
authortsepez@chromium.org <tsepez@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 10:39:40 +0000 (10:39 +0000)
committertsepez@chromium.org <tsepez@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Dec 2011 10:39:40 +0000 (10:39 +0000)
commit48609b837de30d615422cabb0e9b70c97b13f04b
tree4a6b642ff9c3e5650bf620ce13296cfe114c756a
parent5f2bcf8aa03f149d099117d8ff93dcc837380fd3
XSLT-created HTML documents do not inherit first party for cookies from originally loaded XML.
https://bugs.webkit.org/show_bug.cgi?id=74757

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Tests: http/tests/security/cookies/first-party-cookie-allow-xslt.xml
       http/tests/security/cookies/third-party-cookie-blocking-xslt.xml

* xml/XSLTProcessor.cpp:
(WebCore::XSLTProcessor::createDocumentFromSource):

LayoutTests:

* http/tests/security/cookies/first-party-cookie-allow-xslt-expected.txt: Added.
* http/tests/security/cookies/first-party-cookie-allow-xslt.xml: Added.
* http/tests/security/cookies/resources/first-party-cookie-allow.xsl: Added.
* http/tests/security/cookies/resources/third-party-cookie-blocking.xsl: Added.
* http/tests/security/cookies/third-party-cookie-blocking-xslt-expected.txt: Added.
* http/tests/security/cookies/third-party-cookie-blocking-xslt.xml: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@103511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/cookies/first-party-cookie-allow-xslt-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/cookies/first-party-cookie-allow-xslt.xml [new file with mode: 0644]
LayoutTests/http/tests/security/cookies/resources/first-party-cookie-allow.xsl [new file with mode: 0644]
LayoutTests/http/tests/security/cookies/resources/third-party-cookie-blocking.xsl [new file with mode: 0644]
LayoutTests/http/tests/security/cookies/third-party-cookie-blocking-xslt-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/cookies/third-party-cookie-blocking-xslt.xml [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/xml/XSLTProcessor.cpp