| Index: Source/WebCore/xml/XSLTProcessor.cpp
|
| ===================================================================
|
| --- Source/WebCore/xml/XSLTProcessor.cpp (revision 97017)
|
| +++ Source/WebCore/xml/XSLTProcessor.cpp (working copy)
|
| @@ -84,7 +84,13 @@
|
| if (frame) {
|
| if (FrameView* view = frame->view())
|
| view->clear();
|
| - result->setTransformSourceDocument(frame->document());
|
| +
|
| + if (Document* oldDocument = frame->document()) {
|
| + result->setTransformSourceDocument(oldDocument);
|
| + result->setSecurityOrigin(oldDocument->securityOrigin());
|
| + result->setCookieURL(oldDocument->cookieURL());
|
| + }
|
| +
|
| frame->setDocument(result);
|
| }
|
|
|
|
|