1. 13 May, 2011 1 commit
    • antonm@chromium.org's avatar
      2011-02-08 Anton Muhin <antonm@chromium.org> · b904ab59
      antonm@chromium.org authored
             Reviewed by Adam Barth and Alexey Proskuryakov.
             Propagate security origin of parent document into HTML documents created with DOMImplementation
             This restores invariant that JS wrappers residing in the same JS context should come
             from the same security origin.
             Absence of regressions is covered by the current tests.  Different security origin of
             DOMImplementation is difficult to check with layout tests as DOMImplementation
             resides in the same JS context as parent document and therefore there are no security origin checks.
             This is observable however in C++.
             * Android.jscbindings.mk:
             * CMakeLists.txt:
             * WebCore.gypi:
             * WebCore.pro:
             * WebCore.vcproj/WebCore.vcproj:
             * WebCore.xcodeproj/project.pbxproj:
             * bindings/v8/V8GCController.cpp:
             * dom/DOMImplementation.cpp:
             * dom/DOMImplementation.h:
             * dom/DOMImplementation.idl:
             * dom/Document.cpp:
             * dom/Document.h:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86423 268f45cc-cd09-0410-ab3c-d52691b4dbfc