Skip to content
  • kling@webkit.org's avatar
    Remove Page::javaScriptURLsAreAllowed setting. · 7d22c9e5
    kling@webkit.org authored
    <http://webkit.org/b/99944>
    
    Reviewed by Anders Carlsson.
    
    Source/WebCore:
    
    This setting was exposed through internal WebView API in Apple's WebKit1.
    There are no longer any clients of that API.
    
    This is a step towards preventing elements from modifying their own attributes
    below attributeChanged().
    
    * WebCore.exp.in:
    * WebCore.order:
    * bindings/ScriptControllerBase.cpp:
    (WebCore::ScriptController::executeIfJavaScriptURL):
    * html/HTMLAnchorElement.cpp:
    (WebCore::HTMLAnchorElement::parseAttribute):
    * page/Page.cpp:
    (WebCore::Page::Page):
    * page/Page.h:
    (Page):
    
    Source/WebKit/mac:
    
    * WebKit.order:
    * WebView/WebView.mm:
    * WebView/WebViewPrivate.h:
    
    Source/WebKit/win:
    
    Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
    to prevent COM ABI breakage.
    
    * WebView.cpp:
    (WebView::setJavaScriptURLsAreAllowed):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d22c9e5