-
timothy@apple.com authored
And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. SecurityOrigin needs a way to remove individual OriginAccessEntries https://bugs.webkit.org/show_bug.cgi?id=37449 Reviewed by Dave Hyatt. WebCore: * WebCore.base.exp: * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::addOriginAccessWhitelistEntry): (WebCore::SecurityOrigin::resetOriginAccessWhitelists): * page/SecurityOrigin.h: WebKit/chromium: * src/WebSecurityPolicy.cpp: (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin): (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists): WebKit/gtk: * webkit/webkitprivate.cpp: (webkit_white_list_access_from_origin): (webkit_reset_origin_access_white_lists): WebKit/mac: * WebView/WebView.mm: (+[WebView _addOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:]): (+[WebView _resetOriginAccessWhitelists]): * WebView/WebViewPrivate.h: WebKit/qt: * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::whiteListAccessFromOrigin): (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists): WebKit/win: * Interfaces/IWebViewPrivate.idl: * WebView.cpp: (WebView::addOriginAccessWhitelistEntry): (WebView::resetOriginAccessWhitelists): * WebView.h: WebKitTools: * DumpRenderTree/LayoutTestController.cpp: (addOriginAccessWhitelistEntryCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::addOriginAccessWhitelistEntry): * DumpRenderTree/chromium/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::addOriginAccessWhitelistEntry): * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebViewToConsistentStateBeforeTesting): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::addOriginAccessWhitelistEntry): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::addOriginAccessWhitelistEntry): * DumpRenderTree/qt/LayoutTestControllerQt.h: * DumpRenderTree/win/DumpRenderTree.cpp: (resetWebViewToConsistentStateBeforeTesting): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::addOriginAccessWhitelistEntry): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::addOriginAccessWhitelistEntry): LayoutTests: * http/tests/security/local-image-from-remote-whitelisted-expected.txt: * http/tests/security/local-image-from-remote-whitelisted.html: * http/tests/xmlhttprequest/origin-whitelisting-all.html: * http/tests/xmlhttprequest/origin-whitelisting-exact-match.html: * http/tests/xmlhttprequest/origin-whitelisting-https.html: * http/tests/xmlhttprequest/origin-whitelisting-ip-addresses-with-subdomains.html: * http/tests/xmlhttprequest/origin-whitelisting-ip-addresses.html: * http/tests/xmlhttprequest/origin-whitelisting-subdomains.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a2e62531