Skip to content
  • abarth@webkit.org's avatar
    Move DomainRelaxationForbidden scheme registry to SchemeRegistry · 8e056b03
    abarth@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71750
    
    Reviewed by Eric Seidel.
    
    Source/WebCore:
    
    As stated in the FIXME, scheme registries belong in SchemeRegistry, not
    in SecurityOrigin.
    
    * WebCore.exp.in:
    * dom/Document.cpp:
    (WebCore::Document::setDomain):
    * page/SecurityOrigin.cpp:
    * page/SecurityOrigin.h:
    * platform/SchemeRegistry.cpp:
    (WebCore::schemesForbiddenFromDomainRelaxation):
    (WebCore::SchemeRegistry::setDomainRelaxationForbiddenForURLScheme):
    (WebCore::SchemeRegistry::isDomainRelaxationForbiddenForURLScheme):
    * platform/SchemeRegistry.h:
    
    Source/WebKit/chromium:
    
    * src/WebViewImpl.cpp:
    (WebKit::WebViewImpl::setDomainRelaxationForbidden):
    
    Source/WebKit/mac:
    
    * WebView/WebView.mm:
    (+[WebView _setDomainRelaxationForbidden:forURLScheme:]):
    
    Source/WebKit/qt:
    
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
    
    Source/WebKit/win:
    
    * WebView.cpp:
    (WebView::setDomainRelaxationForbiddenForURLScheme):
    
    Source/WebKit2:
    
    * WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::setDomainRelaxationForbiddenForURLScheme):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8e056b03