• abarth@webkit.org's avatar
    Always enable ENABLE(DOM_STORAGE) · 2eb9f99c
    abarth@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=70189
    
    Reviewed by Eric Seidel.
    
    .:
    
    * Source/cmake/OptionsEfl.cmake:
    * Source/cmake/OptionsWinCE.cmake:
    * Source/cmakeconfig.h.cmake:
    * configure.ac:
    
    Source/JavaScriptCore:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebCore:
    
    As discussed on webkit-dev, we are reducing the complexity of WebKit by
    removing unnecessary configuration options.  DOMStorage is not a core
    part of the web platform.  It should always be enabled.
    
    * CMakeLists.txt:
    * Configurations/FeatureDefines.xcconfig:
    * GNUmakefile.am:
    * GNUmakefile.list.am:
    * UseJSC.cmake:
    * WebCore.exp.in:
    * WebCore.pro:
    * bindings/js/JSEventCustom.cpp:
    * bindings/js/JSInjectedScriptHostCustom.cpp:
    * bindings/js/JSStorageCustom.cpp:
    * bindings/v8/custom/V8EventCustom.cpp:
    (WebCore::toV8):
    * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    (WebCore::V8InjectedScriptHost::storageIdCallback):
    * bindings/v8/custom/V8StorageCustom.cpp:
    * dom/Document.cpp:
    (WebCore::Document::createEvent):
    * dom/Event.cpp:
    (WebCore::Event::isStorageEvent):
    * dom/Event.h:
    * dom/Node.cpp:
    * features.pri:
    * inspector/InjectedScriptHost.cpp:
    (WebCore::InjectedScriptHost::InjectedScriptHost):
    (WebCore::InjectedScriptHost::disconnect):
    (WebCore::InjectedScriptHost::storageIdImpl):
    * inspector/InjectedScriptHost.h:
    (WebCore::InjectedScriptHost::init):
    * inspector/InspectorController.cpp:
    (WebCore::InspectorController::InspectorController):
    (WebCore::InspectorController::connectFrontend):
    (WebCore::InspectorController::disconnectFrontend):
    (WebCore::InspectorController::restoreInspectorStateFromCookie):
    * inspector/InspectorController.h:
    * inspector/InspectorDOMStorageAgent.cpp:
    * inspector/InspectorDOMStorageResource.cpp:
    * inspector/InspectorDOMStorageResource.h:
    * inspector/InspectorInstrumentation.cpp:
    (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    (WebCore::InspectorInstrumentation::didUseDOMStorageImpl):
    * inspector/InspectorInstrumentation.h:
    (WebCore::InspectorInstrumentation::didUseDOMStorage):
    * inspector/InstrumentingAgents.h:
    (WebCore::InstrumentingAgents::InstrumentingAgents):
    * inspector/WorkerInspectorController.cpp:
    (WebCore::WorkerInspectorController::WorkerInspectorController):
    (WebCore::WorkerInspectorController::connectFrontend):
    * inspector/generate-inspector-idl:
    * page/Chrome.cpp:
    * page/DOMWindow.cpp:
    (WebCore::DOMWindow::~DOMWindow):
    (WebCore::DOMWindow::clear):
    (WebCore::DOMWindow::localStorage):
    * page/DOMWindow.h:
    * page/DOMWindow.idl:
    * page/Navigator.cpp:
    (WebCore::Navigator::getStorageUpdates):
    * page/Navigator.h:
    * page/Navigator.idl:
    * page/Page.cpp:
    * page/Page.h:
    * page/PageGroup.cpp:
    (WebCore::PageGroup::closeLocalStorage):
    * page/PageGroup.h:
    * page/Settings.cpp:
    (WebCore::Settings::Settings):
    (WebCore::Settings::setSessionStorageQuota):
    * page/Settings.h:
    (WebCore::Settings::sessionStorageQuota):
    * storage/LocalStorageTask.cpp:
    * storage/LocalStorageTask.h:
    * storage/LocalStorageThread.cpp:
    * storage/LocalStorageThread.h:
    * storage/Storage.cpp:
    * storage/Storage.h:
    * storage/Storage.idl:
    * storage/StorageArea.h:
    * storage/StorageAreaImpl.cpp:
    * storage/StorageAreaImpl.h:
    * storage/StorageAreaSync.cpp:
    (WebCore::StorageAreaSync::scheduleSync):
    * storage/StorageAreaSync.h:
    * storage/StorageEvent.cpp:
    * storage/StorageEvent.h:
    * storage/StorageEvent.idl:
    * storage/StorageEventDispatcher.cpp:
    * storage/StorageEventDispatcher.h:
    * storage/StorageMap.cpp:
    * storage/StorageMap.h:
    * storage/StorageNamespace.cpp:
    * storage/StorageNamespace.h:
    * storage/StorageNamespaceImpl.cpp:
    * storage/StorageNamespaceImpl.h:
    * storage/StorageSyncManager.cpp:
    (WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
    * storage/StorageSyncManager.h:
    * storage/StorageTracker.cpp:
    * storage/StorageTracker.h:
    
    Source/WebKit/chromium:
    
    * features.gypi:
    * src/StorageAreaProxy.cpp:
    * src/StorageAreaProxy.h:
    * src/StorageEventDispatcherChromium.cpp:
    * src/StorageEventDispatcherImpl.cpp:
    * src/StorageEventDispatcherImpl.h:
    * src/StorageNamespaceProxy.cpp:
    * src/StorageNamespaceProxy.h:
    * src/WebRuntimeFeatures.cpp:
    (WebKit::WebRuntimeFeatures::enableLocalStorage):
    (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
    (WebKit::WebRuntimeFeatures::enableSessionStorage):
    (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
    * src/WebStorageAreaImpl.cpp:
    * src/WebStorageAreaImpl.h:
    * src/WebStorageEventDispatcherImpl.cpp:
    * src/WebStorageEventDispatcherImpl.h:
    * src/WebStorageNamespaceImpl.cpp:
    * src/WebStorageNamespaceImpl.h:
    
    Source/WebKit/mac:
    
    * Configurations/FeatureDefines.xcconfig:
    * Storage/WebStorageManager.mm:
    * Storage/WebStorageManagerInternal.h:
    * Storage/WebStorageTrackerClient.h:
    * Storage/WebStorageTrackerClient.mm:
    (WebStorageTrackerClient::dispatchDidModifyOrigin):
    * WebView/WebView.mm:
    (-[WebView _commonInitializationWithFrameName:groupName:]):
    
    Source/WebKit2:
    
    * Configurations/FeatureDefines.xcconfig:
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::updatePreferences):
    * WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::initializeWebProcess):
    
    Tools:
    
    * Scripts/build-webkit:
    * waf/build/settings.py:
    
    WebKitLibraries:
    
    * win/tools/vsprops/FeatureDefines.vsprops:
    * win/tools/vsprops/FeatureDefinesCairo.vsprops:
    
    LayoutTests:
    
    * fast/events/event-creation.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2eb9f99c
PageGroup.cpp 11.9 KB