Remove Page::javaScriptURLsAreAllowed setting.
authorkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 02:37:56 +0000 (02:37 +0000)
committerkling@webkit.org <kling@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Oct 2012 02:37:56 +0000 (02:37 +0000)
commit02ce2258c13c7ca73443f3508421ae9c508ba9dc
tree37d1577aae934a0a78d64b52dad109ef950c4705
parent52d09babc4f9ba036020b03b491734be010774a2
Remove Page::javaScriptURLsAreAllowed setting.
<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: https://svn.webkit.org/repository/webkit/trunk@132023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
Source/WebCore/ChangeLog
Source/WebCore/WebCore.exp.in
Source/WebCore/WebCore.order
Source/WebCore/bindings/ScriptControllerBase.cpp
Source/WebCore/html/HTMLAnchorElement.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebKit.order
Source/WebKit/mac/WebView/WebView.mm
Source/WebKit/mac/WebView/WebViewPrivate.h
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebView.cpp