-
creis@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=85815 Reviewed by Adam Barth. Useful for ports that support cross-process postMessage. No new tests, since covered by existing postMessage tests. * page/DOMWindow.cpp: (WebCore::DOMWindow::postMessageTimerFired): (WebCore): (WebCore::DOMWindow::dispatchMessageEventWithOriginCheck): * page/DOMWindow.h: (WebCore): (DOMWindow): Source/WebKit/chromium: Add dispatchMessageEventWithOriginCheck to WebFrame https://bugs.webkit.org/show_bug.cgi?id=85815 Reviewed by Adam Barth. Tested by WebFrameTest.DispatchMessageEventWithOriginCheck. Also fixes source frame bug in willCheckAndDispatchMessageEvent. * public/WebFrame.h: (WebFrame): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::checkAndDispatchMessageEvent): (WebKit): * src/WebFrameImpl.h: (WebFrameImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5a108269