Always enable ENABLE(DOM_STORAGE)
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Oct 2011 10:28:50 +0000 (10:28 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Oct 2011 10:28:50 +0000 (10:28 +0000)
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: https://svn.webkit.org/repository/webkit/trunk@97574 268f45cc-cd09-0410-ab3c-d52691b4dbfc

113 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/events/event-creation.html
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/GNUmakefile.am
Source/WebCore/GNUmakefile.list.am
Source/WebCore/UseJSC.cmake
Source/WebCore/WebCore.exp.in
Source/WebCore/WebCore.pro
Source/WebCore/bindings/js/JSEventCustom.cpp
Source/WebCore/bindings/js/JSInjectedScriptHostCustom.cpp
Source/WebCore/bindings/js/JSStorageCustom.cpp
Source/WebCore/bindings/v8/custom/V8EventCustom.cpp
Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Event.cpp
Source/WebCore/dom/Event.h
Source/WebCore/dom/Node.cpp
Source/WebCore/features.pri
Source/WebCore/inspector/InjectedScriptHost.cpp
Source/WebCore/inspector/InjectedScriptHost.h
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/inspector/InspectorController.h
Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
Source/WebCore/inspector/InspectorDOMStorageResource.cpp
Source/WebCore/inspector/InspectorDOMStorageResource.h
Source/WebCore/inspector/InspectorInstrumentation.cpp
Source/WebCore/inspector/InspectorInstrumentation.h
Source/WebCore/inspector/InstrumentingAgents.h
Source/WebCore/inspector/WorkerInspectorController.cpp
Source/WebCore/inspector/generate-inspector-idl
Source/WebCore/page/Chrome.cpp
Source/WebCore/page/DOMWindow.cpp
Source/WebCore/page/DOMWindow.h
Source/WebCore/page/DOMWindow.idl
Source/WebCore/page/Navigator.cpp
Source/WebCore/page/Navigator.h
Source/WebCore/page/Navigator.idl
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebCore/page/PageGroup.cpp
Source/WebCore/page/PageGroup.h
Source/WebCore/page/Settings.cpp
Source/WebCore/page/Settings.h
Source/WebCore/storage/LocalStorageTask.cpp
Source/WebCore/storage/LocalStorageTask.h
Source/WebCore/storage/LocalStorageThread.cpp
Source/WebCore/storage/LocalStorageThread.h
Source/WebCore/storage/Storage.cpp
Source/WebCore/storage/Storage.h
Source/WebCore/storage/Storage.idl
Source/WebCore/storage/StorageArea.h
Source/WebCore/storage/StorageAreaImpl.cpp
Source/WebCore/storage/StorageAreaImpl.h
Source/WebCore/storage/StorageAreaSync.cpp
Source/WebCore/storage/StorageAreaSync.h
Source/WebCore/storage/StorageEvent.cpp
Source/WebCore/storage/StorageEvent.h
Source/WebCore/storage/StorageEvent.idl
Source/WebCore/storage/StorageEventDispatcher.cpp
Source/WebCore/storage/StorageEventDispatcher.h
Source/WebCore/storage/StorageMap.cpp
Source/WebCore/storage/StorageMap.h
Source/WebCore/storage/StorageNamespace.cpp
Source/WebCore/storage/StorageNamespace.h
Source/WebCore/storage/StorageNamespaceImpl.cpp
Source/WebCore/storage/StorageNamespaceImpl.h
Source/WebCore/storage/StorageSyncManager.cpp
Source/WebCore/storage/StorageSyncManager.h
Source/WebCore/storage/StorageTracker.cpp
Source/WebCore/storage/StorageTracker.h
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/features.gypi
Source/WebKit/chromium/src/StorageAreaProxy.cpp
Source/WebKit/chromium/src/StorageAreaProxy.h
Source/WebKit/chromium/src/StorageEventDispatcherChromium.cpp
Source/WebKit/chromium/src/StorageEventDispatcherImpl.cpp
Source/WebKit/chromium/src/StorageEventDispatcherImpl.h
Source/WebKit/chromium/src/StorageNamespaceProxy.cpp
Source/WebKit/chromium/src/StorageNamespaceProxy.h
Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
Source/WebKit/chromium/src/WebStorageAreaImpl.cpp
Source/WebKit/chromium/src/WebStorageAreaImpl.h
Source/WebKit/chromium/src/WebStorageEventDispatcherImpl.cpp
Source/WebKit/chromium/src/WebStorageEventDispatcherImpl.h
Source/WebKit/chromium/src/WebStorageNamespaceImpl.cpp
Source/WebKit/chromium/src/WebStorageNamespaceImpl.h
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
Source/WebKit/mac/Storage/WebStorageManager.mm
Source/WebKit/mac/Storage/WebStorageManagerInternal.h
Source/WebKit/mac/Storage/WebStorageTrackerClient.h
Source/WebKit/mac/Storage/WebStorageTrackerClient.mm
Source/WebKit/mac/WebView/WebView.mm
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/FeatureDefines.xcconfig
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebProcess.cpp
Source/cmake/OptionsEfl.cmake
Source/cmake/OptionsWinCE.cmake
Source/cmakeconfig.h.cmake
Tools/ChangeLog
Tools/Scripts/build-webkit
Tools/waf/build/settings.py
WebKitLibraries/ChangeLog
WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops
WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops
configure.ac

index 4972ef8e55d6ea4362a64bb5bbb0c323ffbeae8b..f43cbd3f7f4ec24e0f5f1bc409a9309483cd89c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        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:
+
 2011-10-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
         [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
index 1d474f7381cf274dbcca8d59ab62c6a15f50e341..3f1f5c39e21dd9580f3bdeb525f125fbade29fea 100644 (file)
@@ -1,3 +1,12 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * fast/events/event-creation.html:
+
 2011-10-15  Erik Arvidsson  <arv@chromium.org>
 
         JS Test Harness: Make console and description elements optional in the HTML
index dfd4191a9e5e714f220ed627574b4e851cdccbe8..9c741bce3f145f7027d3d1379131b138081421c8 100644 (file)
     shouldBeTrue("document.createEvent('XMLHttpRequestProgressEvent') instanceof window.Event");
     shouldBeTrue("document.createEvent('XMLHttpRequestProgressEvent').constructor === window.XMLHttpRequestProgressEvent");
 
-    // #if ENABLE(DOM_STORAGE)
     // StorageEvent
     shouldBeTrue("document.createEvent('StorageEvent') instanceof window.StorageEvent");
     shouldBeTrue("document.createEvent('StorageEvent') instanceof window.Event");
index ece94e5e6f2229ee49453cce2f0819668d5d4444..d2ef9fd783bcd490ace03c87dff7783203cb4920 100644 (file)
@@ -1,3 +1,12 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * Configurations/FeatureDefines.xcconfig:
+
 2011-10-15  Dan HorĂ¡k <dan@danny.cz>
 
         The s390 and s390x architectures both use 64-bit double type
index 57e6d92fc1c8a9e9232c6f6e5acc0a1ef37312c5..6ddbbf954d72e4918d0ac19b648ab0c79e713e98 100644 (file)
@@ -81,7 +81,6 @@ ENABLE_DATA_TRANSFER_ITEMS = ;
 ENABLE_DETAILS = ENABLE_DETAILS;
 ENABLE_DEVICE_ORIENTATION = ;
 ENABLE_DIRECTORY_UPLOAD = ;
-ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE;
 ENABLE_FILE_SYSTEM = ;
 ENABLE_FULLSCREEN_API = ENABLE_FULLSCREEN_API;
 ENABLE_GAMEPAD = ;
@@ -116,4 +115,4 @@ ENABLE_WORKERS = ENABLE_WORKERS;
 ENABLE_XPATH = ENABLE_XPATH;
 ENABLE_XSLT = ENABLE_XSLT;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_REGIONS) $(ENABLE_SQL_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM_STORAGE) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_REGIONS) $(ENABLE_SQL_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
index e064ea40edca2447b04606f01f3417e031c6b190..82925ea3ca0b2397f8a1a30286e00f3de0bf5266 100644 (file)
@@ -355,6 +355,8 @@ SET(WebCore_IDL_FILES
     plugins/DOMPlugin.idl
     plugins/DOMPluginArray.idl
 
+    storage/Storage.idl
+    storage/StorageEvent.idl
     storage/StorageInfo.idl
     storage/StorageInfoErrorCallback.idl
     storage/StorageInfoQuotaCallback.idl
@@ -1474,13 +1476,6 @@ IF (ENABLE_INDEXED_DATABASE)
     )
 ENDIF ()
 
-IF (ENABLE_DOM_STORAGE)
-    LIST(APPEND WebCore_IDL_FILES
-        storage/Storage.idl
-        storage/StorageEvent.idl
-    )
-ENDIF ()
-
 IF (WTF_USE_LEVELDB)
     LIST(APPEND WebCore_SOURCES
         platform/leveldb/LevelDBDatabase.cpp
index baa7ac16fb973e83a6b6ee9433e50b4f23b46204..7fb0afcf31f0f32de181841553238e31675a9898 100644 (file)
@@ -1,3 +1,113 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        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:
+
 2011-10-15  Adam Barth  <abarth@webkit.org>
 
         Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
index 54817e70538c67d6fdf2dfd610c7cdb30a760943..a276c67f0f8a39ab531c8159a50561252acabbec 100644 (file)
@@ -79,7 +79,6 @@ ENABLE_DATA_TRANSFER_ITEMS = ;
 ENABLE_DETAILS = ENABLE_DETAILS;
 ENABLE_DEVICE_ORIENTATION = ;
 ENABLE_DIRECTORY_UPLOAD = ;
-ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE;
 ENABLE_FILE_SYSTEM = ;
 ENABLE_FULLSCREEN_API = ENABLE_FULLSCREEN_API;
 ENABLE_GAMEPAD = ;
@@ -115,4 +114,4 @@ ENABLE_WORKERS = ENABLE_WORKERS;
 ENABLE_XPATH = ENABLE_XPATH;
 ENABLE_XSLT = ENABLE_XSLT;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_SQL_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM_STORAGE) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_SQL_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
index fc32c5100e24a873748e5cfea478ee85e4611fed..0d7a1f0b451cf35f635d352a9d43a03c6cc5158e 100644 (file)
@@ -236,14 +236,6 @@ FEATURE_DEFINES += ENABLE_MUTATION_OBSERVERS=1
 webcore_cppflags += -DENABLE_MUTATION_OBSERVERS=1
 endif # END ENABLE_MUTATION_OBSERVERS
 
-# ----
-# HTML5 client-side session and persistent storage
-# ----
-if ENABLE_DOM_STORAGE
-FEATURE_DEFINES += ENABLE_DOM_STORAGE=1
-webcore_cppflags += -DENABLE_DOM_STORAGE=1
-endif # END ENABLE_DOM_STORAGE
-
 # ----
 # FileSystem API support
 # ----
index 14ac169732f395bcc858bc7e65cf4b28d04e0ff6..8015ccccb779887a45edc13220fb295b7daef2a6 100644 (file)
@@ -466,7 +466,10 @@ webcore_built_sources += \
        DerivedSources/WebCore/JSSQLStatementErrorCallback.cpp \
        DerivedSources/WebCore/JSSQLTransaction.h \
        DerivedSources/WebCore/JSSQLTransactionSync.h \
+       DerivedSources/WebCore/JSStorage.cpp \
        DerivedSources/WebCore/JSStorage.h \
+       DerivedSources/WebCore/JSStorageEvent.cpp \
+       DerivedSources/WebCore/JSStorageEvent.h \
        DerivedSources/WebCore/JSStorageInfo.h \
        DerivedSources/WebCore/JSStorageInfoErrorCallback.h \
        DerivedSources/WebCore/JSStorageInfoQuotaCallback.h \
@@ -4218,16 +4221,6 @@ webcore_built_sources += \
        DerivedSources/WebCore/JSIDBTransaction.h
 endif # END ENABLE_INDEXED_DATABASE
 
-# ----
-# HTML5 client-side session and persistent storage
-# ----
-if ENABLE_DOM_STORAGE
-webcore_built_sources += \
-       DerivedSources/WebCore/JSStorage.cpp \
-       DerivedSources/WebCore/JSStorageEvent.cpp \
-       DerivedSources/WebCore/JSStorageEvent.h
-endif # END ENABLE_DOM_STORAGE
-
 # ----
 # FileSystem API support
 # ----
index ca2e4722debf1369ee2c0249c170083cd057870a..6bfb4b94fb969164641c9b44dd6276835a37d110 100644 (file)
@@ -109,6 +109,7 @@ LIST(APPEND WebCore_SOURCES
     bindings/js/JSPopStateEventCustom.cpp
     bindings/js/JSProcessingInstructionCustom.cpp
     bindings/js/JSScriptProfileNodeCustom.cpp
+    bindings/js/JSStorageCustom.cpp
     bindings/js/JSStyleSheetCustom.cpp
     bindings/js/JSStyleSheetListCustom.cpp
     bindings/js/JSTextCustom.cpp
@@ -177,12 +178,6 @@ IF (ENABLE_SQL_DATABASE)
     )
 ENDIF ()
 
-IF (ENABLE_DOM_STORAGE)
-    LIST(APPEND WebCore_SOURCES
-        bindings/js/JSStorageCustom.cpp
-    )
-ENDIF ()
-
 IF (ENABLE_INDEXED_DATABASE)
     LIST(APPEND WebCore_SOURCES
         bindings/js/IDBBindingUtilities.cpp
index 78652d6f1ab828fd67f6823e90cf8a56fcddef99..9fb92671d0c2b9ea8a0f61aeadbfc41ec07b1e1c 100644 (file)
@@ -391,6 +391,15 @@ __ZN7WebCore14SecurityOrigin32removeOriginAccessWhitelistEntryERKS0_RKN3WTF6Stri
 __ZN7WebCore14SecurityOrigin40setDomainRelaxationForbiddenForURLSchemeEbRKN3WTF6StringE
 __ZN7WebCore14SecurityOrigin6createERKN3WTF6StringES4_i
 __ZN7WebCore14SecurityOrigin6createERKNS_4KURLEi
+__ZN7WebCore14StorageTracker7originsERN3WTF6VectorINS1_6RefPtrINS_14SecurityOriginEEELm0EEE
+__ZN7WebCore14StorageTracker7trackerEv
+__ZN7WebCore14StorageTracker9setClientEPNS_20StorageTrackerClientE
+__ZN7WebCore14StorageTracker12deleteOriginEPNS_14SecurityOriginE
+__ZN7WebCore14StorageTracker16deleteAllOriginsEv
+__ZN7WebCore14StorageTracker16syncLocalStorageEv
+__ZN7WebCore14StorageTracker17initializeTrackerERKN3WTF6StringEPNS_20StorageTrackerClientE
+__ZN7WebCore14StorageTracker18diskUsageForOriginEPNS_14SecurityOriginE
+__ZN7WebCore14StorageTracker32syncFileSystemAndTrackerDatabaseEv
 __ZN7WebCore14endOfParagraphERKNS_15VisiblePositionENS_27EditingBoundaryCrossingRuleE
 __ZN7WebCore15ArchiveResource6createEN3WTF10PassRefPtrINS_12SharedBufferEEERKNS_4KURLERKNS1_6StringESA_SA_RKNS_16ResourceResponseE
 __ZN7WebCore15DOMWrapperWorld13clearWrappersEv
@@ -1495,18 +1504,6 @@ _wkSignedPublicKeyAndChallengeString
 _wkWindowSetAlpha
 _wkWindowSetScaledFrame
 
-#if ENABLE(DOM_STORAGE)
-__ZN7WebCore14StorageTracker7originsERN3WTF6VectorINS1_6RefPtrINS_14SecurityOriginEEELm0EEE
-__ZN7WebCore14StorageTracker7trackerEv
-__ZN7WebCore14StorageTracker9setClientEPNS_20StorageTrackerClientE
-__ZN7WebCore14StorageTracker12deleteOriginEPNS_14SecurityOriginE
-__ZN7WebCore14StorageTracker16deleteAllOriginsEv
-__ZN7WebCore14StorageTracker16syncLocalStorageEv
-__ZN7WebCore14StorageTracker17initializeTrackerERKN3WTF6StringEPNS_20StorageTrackerClientE
-__ZN7WebCore14StorageTracker18diskUsageForOriginEPNS_14SecurityOriginE
-__ZN7WebCore14StorageTracker32syncFileSystemAndTrackerDatabaseEv
-#endif
-
 #if !defined(NDEBUG)
 __ZN7WebCore20LogNotYetImplementedE
 #endif
index 5e3815133cd878dc8ba9c7e55876926c8e0286e7..013458dbc6a881f1adea71f43c8014ceb57373d3 100644 (file)
@@ -332,6 +332,7 @@ v8 {
         bindings/js/JSPopStateEventCustom.cpp \
         bindings/js/JSProcessingInstructionCustom.cpp \
         bindings/js/JSScriptProfileNodeCustom.cpp \
+        bindings/js/JSStorageCustom.cpp \
         bindings/js/JSStyleSheetCustom.cpp \
         bindings/js/JSStyleSheetListCustom.cpp \
         bindings/js/JSTextCustom.cpp \
@@ -1221,6 +1222,18 @@ SOURCES += \
     rendering/style/StyleSurroundData.cpp \
     rendering/style/StyleTransformData.cpp \
     rendering/style/StyleVisualData.cpp \
+    storage/LocalStorageTask.cpp \
+    storage/LocalStorageThread.cpp \
+    storage/Storage.cpp \
+    storage/StorageAreaImpl.cpp \
+    storage/StorageAreaSync.cpp \
+    storage/StorageEvent.cpp \
+    storage/StorageEventDispatcher.cpp \
+    storage/StorageMap.cpp \
+    storage/StorageNamespace.cpp \
+    storage/StorageNamespaceImpl.cpp \
+    storage/StorageSyncManager.cpp \
+    storage/StorageTracker.cpp \
     testing/Internals.cpp \
     xml/DOMParser.cpp \
     xml/XMLHttpRequest.cpp \
@@ -2353,6 +2366,41 @@ HEADERS += \
     rendering/svg/SVGTextMetrics.h \
     rendering/svg/SVGTextQuery.h \
     rendering/svg/SVGTextRunRenderingContext.h \
+    storage/AbstractDatabase.h \
+    storage/ChangeVersionWrapper.h \
+    storage/DatabaseAuthorizer.h \
+    storage/Database.h \
+    storage/DatabaseCallback.h \
+    storage/DatabaseSync.h \
+    storage/DatabaseTask.h \
+    storage/DatabaseThread.h \
+    storage/DatabaseTracker.h \
+    storage/LocalStorageTask.h \
+    storage/LocalStorageThread.h \
+    storage/OriginQuotaManager.h \
+    storage/OriginUsageRecord.h \
+    storage/SQLCallbackWrapper.h \
+    storage/SQLResultSet.h \
+    storage/SQLResultSetRowList.h \
+    storage/SQLStatement.h \
+    storage/SQLStatementSync.h \
+    storage/SQLTransaction.h \
+    storage/SQLTransactionClient.h \
+    storage/SQLTransactionCoordinator.h \
+    storage/SQLTransactionSync.h \
+    storage/SQLTransactionSyncCallback.h \
+    storage/StorageArea.h \
+    storage/StorageAreaImpl.h \
+    storage/StorageAreaSync.h \
+    storage/StorageEvent.h \
+    storage/StorageEventDispatcher.h \
+    storage/Storage.h \
+    storage/StorageMap.h \
+    storage/StorageNamespace.h \
+    storage/StorageNamespaceImpl.h \
+    storage/StorageSyncManager.h \
+    storage/StorageTracker.h \
+    storage/StorageTrackerClient.h \
     svg/animation/SMILTimeContainer.h \
     svg/animation/SMILTime.h \
     svg/animation/SVGSMILElement.h \
@@ -2862,63 +2910,6 @@ contains(DEFINES, ENABLE_DATA_TRANSFER_ITEMS=1) {
         platform/qt/DataTransferItemsQt.cpp
 }
 
-contains(DEFINES, ENABLE_DOM_STORAGE=1) {
-    HEADERS += \
-        storage/AbstractDatabase.h \
-        storage/ChangeVersionWrapper.h \
-        storage/DatabaseAuthorizer.h \
-        storage/Database.h \
-        storage/DatabaseCallback.h \
-        storage/DatabaseSync.h \
-        storage/DatabaseTask.h \
-        storage/DatabaseThread.h \
-        storage/DatabaseTracker.h \
-        storage/LocalStorageTask.h \
-        storage/LocalStorageThread.h \
-        storage/OriginQuotaManager.h \
-        storage/OriginUsageRecord.h \
-        storage/SQLCallbackWrapper.h \
-        storage/SQLResultSet.h \
-        storage/SQLResultSetRowList.h \
-        storage/SQLStatement.h \
-        storage/SQLStatementSync.h \
-        storage/SQLTransaction.h \
-        storage/SQLTransactionClient.h \
-        storage/SQLTransactionCoordinator.h \
-        storage/SQLTransactionSync.h \
-        storage/SQLTransactionSyncCallback.h \
-        storage/StorageArea.h \
-        storage/StorageAreaImpl.h \
-        storage/StorageAreaSync.h \
-        storage/StorageEvent.h \
-        storage/StorageEventDispatcher.h \
-        storage/Storage.h \
-        storage/StorageMap.h \
-        storage/StorageNamespace.h \
-        storage/StorageNamespaceImpl.h \
-        storage/StorageSyncManager.h \
-        storage/StorageTracker.h \
-        storage/StorageTrackerClient.h
-
-    !v8 {
-        SOURCES += \
-            bindings/js/JSStorageCustom.cpp
-    }
-    SOURCES += \
-        storage/LocalStorageTask.cpp \
-        storage/LocalStorageThread.cpp \
-        storage/Storage.cpp \
-        storage/StorageAreaImpl.cpp \
-        storage/StorageAreaSync.cpp \
-        storage/StorageEvent.cpp \
-        storage/StorageEventDispatcher.cpp \
-        storage/StorageMap.cpp \
-        storage/StorageNamespace.cpp \
-        storage/StorageNamespaceImpl.cpp \
-        storage/StorageSyncManager.cpp \
-        storage/StorageTracker.cpp
-}
-
 contains(DEFINES, ENABLE_FILE_SYSTEM=1) {
     HEADERS += \
         fileapi/AsyncFileWriter.h \
index 9958cb69615e25552f5121f7e837a9e480a3c7c5..fde60b19da338704f29ecad3e5be7bc2946820fd 100644 (file)
@@ -52,6 +52,7 @@
 #include "JSPopStateEvent.h"
 #include "JSProgressEvent.h"
 #include "JSSpeechInputEvent.h"
+#include "JSStorageEvent.h"
 #include "JSTextEvent.h"
 #include "JSUIEvent.h"
 #include "JSWebKitAnimationEvent.h"
@@ -70,6 +71,7 @@
 #include "PopStateEvent.h"
 #include "ProgressEvent.h"
 #include "SpeechInputEvent.h"
+#include "StorageEvent.h"
 #include "TextEvent.h"
 #include "UIEvent.h"
 #include "WebKitAnimationEvent.h"
 #include "XMLHttpRequestProgressEvent.h"
 #include <runtime/JSLock.h>
 
-#if ENABLE(DOM_STORAGE)
-#include "JSStorageEvent.h"
-#include "StorageEvent.h"
-#endif
-
 #if ENABLE(SVG)
 #include "JSSVGZoomEvent.h"
 #include "SVGZoomEvent.h"
@@ -176,10 +173,8 @@ JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event)
             wrapper = CREATE_DOM_WRAPPER(exec, globalObject, ProgressEvent, event);
     } else if (event->isBeforeLoadEvent())
         wrapper = CREATE_DOM_WRAPPER(exec, globalObject, BeforeLoadEvent, event);
-#if ENABLE(DOM_STORAGE)
     else if (event->isStorageEvent())
         wrapper = CREATE_DOM_WRAPPER(exec, globalObject, StorageEvent, event);
-#endif
 #if ENABLE(INDEXED_DATABASE)
     else if (event->isIDBVersionChangeEvent())
         wrapper = CREATE_DOM_WRAPPER(exec, globalObject, IDBVersionChangeEvent, event);
index 8c2c13e7ba11693c506f0a094effe11c64e27de8..47557938029dfb0d788eb180cdd470f769dfb05b 100644 (file)
 #include "JSHTMLCollection.h"
 #include "JSNode.h"
 #include "JSNodeList.h"
+#include "JSStorage.h"
 #include "ScriptValue.h"
-#if ENABLE(DOM_STORAGE)
 #include "Storage.h"
-#include "JSStorage.h"
-#endif
 #include <runtime/DateInstance.h>
 #include <runtime/Error.h>
 #include <runtime/JSArray.h>
@@ -183,11 +181,9 @@ JSValue JSInjectedScriptHost::storageId(ExecState* exec)
 {
     if (exec->argumentCount() < 1)
         return jsUndefined();
-#if ENABLE(DOM_STORAGE)
     Storage* storage = toStorage(exec->argument(0));
     if (storage)
         return jsNumber(impl()->storageIdImpl(storage));
-#endif
     return jsUndefined();
 }
 
index 2e1192f5299ba45333a07aa7a1dec9f61b52cefa..ee266f901caa5851397bfc0ac844b8b14a095d9f 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(DOM_STORAGE)
-
 #include "JSStorageCustom.h"
 
 #include "PlatformString.h"
@@ -99,5 +96,3 @@ bool JSStorage::putDelegate(ExecState* exec, const Identifier& propertyName, JSV
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index ec3aae086aefd4274c1cc07a302bea42886156ed..bcf7d6f3f78861ab28d043c7b835cfb37fe84061 100644 (file)
@@ -156,10 +156,8 @@ v8::Handle<v8::Value> toV8(Event* impl)
     if (impl->isErrorEvent())
         return toV8(static_cast<ErrorEvent*>(impl));
 #endif
-#if ENABLE(DOM_STORAGE)
     if (impl->isStorageEvent())
         return toV8(static_cast<StorageEvent*>(impl));
-#endif
 #if ENABLE(INDEXED_DATABASE)
     if (impl->isIDBVersionChangeEvent())
         return toV8(static_cast<IDBVersionChangeEvent*>(impl));
index 8c54b8181bfe4eef86f7ecc4c181795fadc7f679..515f216b6f267b5862af5446f8dc4c59eb2a4c52 100644 (file)
@@ -182,13 +182,11 @@ v8::Handle<v8::Value> V8InjectedScriptHost::storageIdCallback(const v8::Argument
 {
     if (args.Length() < 1)
         return v8::Undefined();
-#if ENABLE(DOM_STORAGE)
     INC_STATS("InjectedScriptHost.storageId()");
     InjectedScriptHost* host = V8InjectedScriptHost::toNative(args.Holder());
     Storage* storage = V8Storage::toNative(v8::Handle<v8::Object>::Cast(args[0]));
     if (storage)
         return v8::Number::New(host->storageIdImpl(storage));
-#endif
     return v8::Undefined();
 }
 
index a252410005dfff7725aede2ade069d87007047cb..cd664760b8048f38e6eb947aa83f1e7b3b8b7d1e 100644 (file)
@@ -29,8 +29,6 @@
 */
 
 #include "config.h"
-
-#if ENABLE(DOM_STORAGE)
 #include "V8Storage.h"
 
 #include "Storage.h"
@@ -153,5 +151,3 @@ v8::Handle<v8::Boolean> V8Storage::namedPropertyDeleter(v8::Local<v8::String> na
 }
 
 } // namespace WebCore
-
-#endif
index 7758c318734ee741c73591fb889f2a0dfc6548a4..5703c26c67aa644886201bd2e1e4e59988955564 100644 (file)
 #include "Settings.h"
 #include "ShadowRoot.h"
 #include "StaticHashSetNodeList.h"
+#include "StorageEvent.h"
 #include "StyleSheetList.h"
 #include "TextEvent.h"
 #include "TextResourceDecoder.h"
 #include "SharedWorkerRepository.h"
 #endif
 
-#if ENABLE(DOM_STORAGE)
-#include "StorageEvent.h"
-#endif
-
 #if ENABLE(XPATH)
 #include "XPathEvaluator.h"
 #include "XPathExpression.h"
@@ -3556,10 +3553,8 @@ PassRefPtr<Event> Document::createEvent(const String& eventType, ExceptionCode&
     else if (eventType == "WebGLContextEvent")
         event = WebGLContextEvent::create();
 #endif
-#if ENABLE(DOM_STORAGE)
     else if (eventType == "StorageEvent")
         event = StorageEvent::create();
-#endif
 #if ENABLE(SVG)
     else if (eventType == "SVGEvents")
         event = Event::create();
index ffd04deb5e193771106c610690fe42705212697e..119d9919282fb80f1f4db540c1ab0c999179c718 100644 (file)
@@ -208,12 +208,10 @@ bool Event::isSVGZoomEvent() const
 }
 #endif
 
-#if ENABLE(DOM_STORAGE)
 bool Event::isStorageEvent() const
 {
     return false;
 }
-#endif
 
 #if ENABLE(INDEXED_DATABASE)
 bool Event::isIDBVersionChangeEvent() const
index 0ad79131ceb36a3f9e82366612cab974975486b7..1628be8af959dfc72672232c03c006b3e2d040b8 100644 (file)
@@ -136,9 +136,7 @@ namespace WebCore {
 #if ENABLE(SVG)
         virtual bool isSVGZoomEvent() const;
 #endif
-#if ENABLE(DOM_STORAGE)
         virtual bool isStorageEvent() const;
-#endif
 #if ENABLE(INDEXED_DATABASE)
         virtual bool isIDBVersionChangeEvent() const;
 #endif
index ca0d2c403136432ca1158a8891d5899e730ff353..f5e47f4d88bb27b153209117d6766ab82a818a3c 100644 (file)
@@ -84,6 +84,7 @@
 #include "SelectorQuery.h"
 #include "ShadowRoot.h"
 #include "StaticNodeList.h"
+#include "StorageEvent.h"
 #include "TagNodeList.h"
 #include "Text.h"
 #include "TextEvent.h"
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuilder.h>
 
-#if ENABLE(DOM_STORAGE)
-#include "StorageEvent.h"
-#endif
-
 #if ENABLE(SVG)
 #include "SVGElementInstance.h"
 #include "SVGUseElement.h"
index 2732d506348f0198758d633799b6a04aeef0cdc1..452e44b66bf884e7cc9f493c8ecec10807f2ad6a 100644 (file)
@@ -43,7 +43,6 @@ isEmpty(HAVE_QRAWFONT) {
 !contains(DEFINES, ENABLE_JAVASCRIPT_DEBUGGER=.): DEFINES += ENABLE_JAVASCRIPT_DEBUGGER=1
 !contains(DEFINES, ENABLE_GAMEPAD=.): DEFINES += ENABLE_GAMEPAD=0
 !contains(DEFINES, ENABLE_SQL_DATABASE=.): DEFINES += ENABLE_SQL_DATABASE=1
-!contains(DEFINES, ENABLE_DOM_STORAGE=.): DEFINES += ENABLE_DOM_STORAGE=1
 !contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
 !contains(DEFINES, ENABLE_CHANNEL_MESSAGING=.): DEFINES += ENABLE_CHANNEL_MESSAGING=1
 !contains(DEFINES, ENABLE_DIRECTORY_UPLOAD=.): DEFINES += ENABLE_DIRECTORY_UPLOAD=0
@@ -186,7 +185,6 @@ contains(DEFINES, ENABLE_CHANNEL_MESSAGING=1): FEATURE_DEFINES_JAVASCRIPT += ENA
 contains(DEFINES, ENABLE_ORIENTATION_EVENTS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_ORIENTATION_EVENTS=1
 contains(DEFINES, ENABLE_SQL_DATABASE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SQL_DATABASE=1
 contains(DEFINES, ENABLE_DATALIST=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATALIST=1
-contains(DEFINES, ENABLE_DOM_STORAGE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_DOM_STORAGE=1
 contains(DEFINES, ENABLE_SHARED_SCRIPT=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SHARED_SCRIPT=1
 contains(DEFINES, ENABLE_WORKERS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WORKERS=1
 contains(DEFINES, ENABLE_SHARED_WORKERS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_SHARED_WORKERS=1
index 6657834d746e5d36aa5f34d7ce1f80717128fd20..8059866822ee17334786248c0e6c5d8c2e3e7fdc 100644 (file)
 #include "InspectorFrontend.h"
 #include "InspectorValues.h"
 #include "Pasteboard.h"
+#include "Storage.h"
 
 #if ENABLE(SQL_DATABASE)
 #include "Database.h"
 #endif
 
-#if ENABLE(DOM_STORAGE)
-#include "Storage.h"
-#endif
-
 #include "markup.h"
 
 #include <wtf/RefPtr.h>
@@ -75,9 +72,7 @@ InjectedScriptHost::InjectedScriptHost()
 #if ENABLE(SQL_DATABASE)
     , m_databaseAgent(0)
 #endif
-#if ENABLE(DOM_STORAGE)
     , m_domStorageAgent(0)
-#endif
     , m_frontend(0)
     , m_lastWorkerId(1 << 31) // Distinguish ids of fake workers from real ones, to minimize the chances they overlap.
 {
@@ -94,9 +89,7 @@ void InjectedScriptHost::disconnect()
 #if ENABLE(SQL_DATABASE)
     m_databaseAgent = 0;
 #endif
-#if ENABLE(DOM_STORAGE)
     m_domStorageAgent = 0;
-#endif
     m_frontend = 0;
 }
 
@@ -147,14 +140,12 @@ int InjectedScriptHost::databaseIdImpl(Database* database)
 }
 #endif
 
-#if ENABLE(DOM_STORAGE)
 int InjectedScriptHost::storageIdImpl(Storage* storage)
 {
     if (m_domStorageAgent)
         return m_domStorageAgent->storageId(storage);
     return 0;
 }
-#endif
 
 #if ENABLE(WORKERS)
 long InjectedScriptHost::nextWorkerId()
index c4917772de926cb8e98ce36ec6889c1f9d6fad1d..57b56b00ab7d19f071b07a3aff37e1e51c4d5797 100644 (file)
@@ -62,9 +62,7 @@ public:
 #if ENABLE(SQL_DATABASE)
             , InspectorDatabaseAgent* databaseAgent
 #endif
-#if ENABLE(DOM_STORAGE)
             , InspectorDOMStorageAgent* domStorageAgent
-#endif
         )
     {
         m_inspectorAgent = inspectorAgent;
@@ -72,9 +70,7 @@ public:
 #if ENABLE(SQL_DATABASE)
         m_databaseAgent = databaseAgent;
 #endif
-#if ENABLE(DOM_STORAGE)
         m_domStorageAgent = domStorageAgent;
-#endif
     }
     void setFrontend(InspectorFrontend* frontend) { m_frontend = frontend; }
     void clearFrontend() { m_frontend = 0; }
@@ -94,9 +90,7 @@ public:
 #if ENABLE(SQL_DATABASE)
     int databaseIdImpl(Database*);
 #endif
-#if ENABLE(DOM_STORAGE)
     int storageIdImpl(Storage*);
-#endif
 #if ENABLE(WORKERS)
     long nextWorkerId();
     void didCreateWorker(long id, const String& url, bool isSharedWorker);
@@ -111,9 +105,7 @@ private:
 #if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* m_databaseAgent;
 #endif
-#if ENABLE(DOM_STORAGE)
     InspectorDOMStorageAgent* m_domStorageAgent;
-#endif
     InspectorFrontend* m_frontend;
     long m_lastWorkerId;
     Vector<RefPtr<Node> > m_inspectedNodes;
index 693ec4286909fac3fa2bf7384dc19117685aa4b3..d0edff74bfa8ddf2cbb0aff3ffd4b20a16df062e 100644 (file)
@@ -104,9 +104,7 @@ InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
 #if ENABLE(SQL_DATABASE)
     , m_databaseAgent(InspectorDatabaseAgent::create(m_instrumentingAgents.get(), m_state.get()))
 #endif
-#if ENABLE(DOM_STORAGE)
     , m_domStorageAgent(InspectorDOMStorageAgent::create(m_instrumentingAgents.get(), m_state.get()))
-#endif
     , m_timelineAgent(InspectorTimelineAgent::create(m_instrumentingAgents.get(), m_state.get()))
     , m_applicationCacheAgent(adoptPtr(new InspectorApplicationCacheAgent(m_instrumentingAgents.get(), page)))
     , m_resourceAgent(InspectorResourceAgent::create(m_instrumentingAgents.get(), m_pageAgent.get(), inspectorClient, m_state.get()))
@@ -131,9 +129,7 @@ InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
 #if ENABLE(SQL_DATABASE)
         , m_databaseAgent.get()
 #endif
-#if ENABLE(DOM_STORAGE)
         , m_domStorageAgent.get()
-#endif
     );
 
 #if ENABLE(JAVASCRIPT_DEBUGGER)
@@ -213,9 +209,7 @@ void InspectorController::connectFrontend()
 #if ENABLE(SQL_DATABASE)
     m_databaseAgent->setFrontend(m_inspectorFrontend.get());
 #endif
-#if ENABLE(DOM_STORAGE)
     m_domStorageAgent->setFrontend(m_inspectorFrontend.get());
-#endif
 #if ENABLE(WORKERS)
     m_workerAgent->setFrontend(m_inspectorFrontend.get());
 #endif
@@ -235,9 +229,7 @@ void InspectorController::connectFrontend()
 #if ENABLE(JAVASCRIPT_DEBUGGER)
         m_domDebuggerAgent.get(),
 #endif
-#if ENABLE(DOM_STORAGE)
         m_domStorageAgent.get(),
-#endif
 #if ENABLE(SQL_DATABASE)
         m_databaseAgent.get(),
 #endif
@@ -288,9 +280,7 @@ void InspectorController::disconnectFrontend()
 #if ENABLE(SQL_DATABASE)
     m_databaseAgent->clearFrontend();
 #endif
-#if ENABLE(DOM_STORAGE)
     m_domStorageAgent->clearFrontend();
-#endif
     m_pageAgent->clearFrontend();
 #if ENABLE(WORKERS)
     m_workerAgent->clearFrontend();
@@ -342,9 +332,7 @@ void InspectorController::restoreInspectorStateFromCookie(const String& inspecto
 #if ENABLE(SQL_DATABASE)
     m_databaseAgent->restore();
 #endif
-#if ENABLE(DOM_STORAGE)
     m_domStorageAgent->restore();
-#endif
 #if ENABLE(WORKERS)
     m_workerAgent->restore();
 #endif
index effa8cba03e7285738f7811b8474d1fdfbc632bd..765cadfc2f74d5d60992e6c272fcec4f95afeea6 100644 (file)
@@ -137,9 +137,7 @@ private:
 #if ENABLE(SQL_DATABASE)
     OwnPtr<InspectorDatabaseAgent> m_databaseAgent;
 #endif
-#if ENABLE(DOM_STORAGE)
     OwnPtr<InspectorDOMStorageAgent> m_domStorageAgent;
-#endif
     OwnPtr<InspectorTimelineAgent> m_timelineAgent;
     OwnPtr<InspectorApplicationCacheAgent> m_applicationCacheAgent;
     RefPtr<InspectorResourceAgent> m_resourceAgent;
index 1a4c8cd23a3a054f38db7d507812eb66be547a44..6c82c5e0aa1addd8e00e20104ebb88395649dae7 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "InspectorDOMStorageAgent.h"
 
-#if ENABLE(INSPECTOR) && ENABLE(DOM_STORAGE)
+#if ENABLE(INSPECTOR)
 
 #include "Database.h"
 #include "DOMWindow.h"
@@ -193,4 +193,4 @@ void InspectorDOMStorageAgent::clearResources()
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR) && ENABLE(DOM_STORE)
+#endif // ENABLE(INSPECTOR)
index 992e34cdfb1f1bd072a077f14131464ffc9c747d..8d85f71b5d95beb0147cb7362cd50c873b4f599c 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "config.h"
 
-#if ENABLE(DOM_STORAGE) && ENABLE(INSPECTOR)
+#if ENABLE(INSPECTOR)
 
 #include "InspectorDOMStorageResource.h"
 
@@ -120,5 +120,5 @@ bool InspectorDOMStorageResource::operator==(const EventListener& listener)
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE) && ENABLE(INSPECTOR)
+#endif // ENABLE(INSPECTOR)
 
index eb75113c74f94bd4725f1dd7c15d72ba6dcf1c57..64153f37a55e620b65bb5a3409e4af140514b14d 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef InspectorDOMStorageResource_h
 #define InspectorDOMStorageResource_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "EventListener.h"
 #include "InspectorFrontend.h"
 
@@ -85,6 +83,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif
-
 #endif // InspectorDOMStorageResource_h
index 9e729ef3d68a615e65ecd7d07e05fe3291c87e95..d778b9e9045258ec6b18a16955fcad3a4ed60ca9 100644 (file)
@@ -657,10 +657,8 @@ void InspectorInstrumentation::didCommitLoadImpl(InstrumentingAgents* instrument
         if (InspectorDatabaseAgent* databaseAgent = instrumentingAgents->inspectorDatabaseAgent())
             databaseAgent->clearResources();
 #endif
-#if ENABLE(DOM_STORAGE)
         if (InspectorDOMStorageAgent* domStorageAgent = instrumentingAgents->inspectorDOMStorageAgent())
             domStorageAgent->clearResources();
-#endif
         if (InspectorDOMAgent* domAgent = instrumentingAgents->inspectorDOMAgent())
             domAgent->setDocument(mainFrame->document());
 
@@ -772,7 +770,6 @@ void InspectorInstrumentation::didOpenDatabaseImpl(InstrumentingAgents* instrume
 }
 #endif
 
-#if ENABLE(DOM_STORAGE)
 void InspectorInstrumentation::didUseDOMStorageImpl(InstrumentingAgents* instrumentingAgents, StorageArea* storageArea, bool isLocalStorage, Frame* frame)
 {
     InspectorAgent* inspectorAgent = instrumentingAgents->inspectorAgent();
@@ -781,7 +778,6 @@ void InspectorInstrumentation::didUseDOMStorageImpl(InstrumentingAgents* instrum
     if (InspectorDOMStorageAgent* domStorageAgent = instrumentingAgents->inspectorDOMStorageAgent())
         domStorageAgent->didUseDOMStorage(storageArea, isLocalStorage, frame);
 }
-#endif
 
 #if ENABLE(WORKERS)
 void InspectorInstrumentation::didStartWorkerContextImpl(InstrumentingAgents* instrumentingAgents, WorkerContextProxy* workerContextProxy, const KURL& url)
index b338589f38e256a3a9e44a35462858dda5175689..fec2a6d2fe435c55494f93c9bdb665135cc0747a 100644 (file)
@@ -172,9 +172,7 @@ public:
     static void didOpenDatabase(ScriptExecutionContext*, PassRefPtr<Database>, const String& domain, const String& name, const String& version);
 #endif
 
-#if ENABLE(DOM_STORAGE)
     static void didUseDOMStorage(Page*, StorageArea*, bool isLocalStorage, Frame*);
-#endif
 
 #if ENABLE(WORKERS)
     static void didStartWorkerContext(ScriptExecutionContext*, WorkerContextProxy*, const KURL&);
@@ -305,9 +303,7 @@ private:
     static void didOpenDatabaseImpl(InstrumentingAgents*, PassRefPtr<Database>, const String& domain, const String& name, const String& version);
 #endif
 
-#if ENABLE(DOM_STORAGE)
     static void didUseDOMStorageImpl(InstrumentingAgents*, StorageArea*, bool isLocalStorage, Frame*);
-#endif
 
 #if ENABLE(WORKERS)
     static void didStartWorkerContextImpl(InstrumentingAgents*, WorkerContextProxy*, const KURL&);
@@ -939,7 +935,6 @@ inline void InspectorInstrumentation::didWriteHTML(const InspectorInstrumentatio
 #endif
 }
 
-#if ENABLE(DOM_STORAGE)
 inline void InspectorInstrumentation::didUseDOMStorage(Page* page, StorageArea* storageArea, bool isLocalStorage, Frame* frame)
 {
 #if ENABLE(INSPECTOR)
@@ -947,7 +942,6 @@ inline void InspectorInstrumentation::didUseDOMStorage(Page* page, StorageArea*
         didUseDOMStorageImpl(instrumentingAgents, storageArea, isLocalStorage, frame);
 #endif
 }
-#endif
 
 #if ENABLE(WORKERS)
 inline void InspectorInstrumentation::didStartWorkerContext(ScriptExecutionContext* context, WorkerContextProxy* proxy, const KURL& url)
index 983c867d8e1fead2edb1de8852df61aa3e53db91..7cd7f7a2aecacf60b8daf160142a9a8130a6fac5 100644 (file)
@@ -67,9 +67,7 @@ public:
         , m_inspectorResourceAgent(0)
         , m_inspectorRuntimeAgent(0)
         , m_inspectorTimelineAgent(0)
-#if ENABLE(DOM_STORAGE)
         , m_inspectorDOMStorageAgent(0)
-#endif
 #if ENABLE(SQL_DATABASE)
         , m_inspectorDatabaseAgent(0)
 #endif
@@ -109,16 +107,17 @@ public:
     InspectorTimelineAgent* inspectorTimelineAgent() const { return m_inspectorTimelineAgent; }
     void setInspectorTimelineAgent(InspectorTimelineAgent* agent) { m_inspectorTimelineAgent = agent; }
 
-#if ENABLE(DOM_STORAGE)
     InspectorDOMStorageAgent* inspectorDOMStorageAgent() const { return m_inspectorDOMStorageAgent; }
     void setInspectorDOMStorageAgent(InspectorDOMStorageAgent* agent) { m_inspectorDOMStorageAgent = agent; }
-#endif
+
 #if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorDatabaseAgent; }
     void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorDatabaseAgent = agent; }
 #endif
+
     InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { return m_inspectorApplicationCacheAgent; }
     void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent) { m_inspectorApplicationCacheAgent = agent; }
+
 #if ENABLE(JAVASCRIPT_DEBUGGER)
     InspectorDebuggerAgent* inspectorDebuggerAgent() const { return m_inspectorDebuggerAgent; }
     void setInspectorDebuggerAgent(InspectorDebuggerAgent* agent) { m_inspectorDebuggerAgent = agent; }
@@ -143,9 +142,7 @@ private:
     InspectorResourceAgent* m_inspectorResourceAgent;
     InspectorRuntimeAgent* m_inspectorRuntimeAgent;
     InspectorTimelineAgent* m_inspectorTimelineAgent;
-#if ENABLE(DOM_STORAGE)
     InspectorDOMStorageAgent* m_inspectorDOMStorageAgent;
-#endif
 #if ENABLE(SQL_DATABASE)
     InspectorDatabaseAgent* m_inspectorDatabaseAgent;
 #endif
index 046d6ab66bcc4ccb71ca14641b51deccd0eb7c5a..765a308b04659516b75e1df8bfcff13333da89d4 100644 (file)
@@ -120,9 +120,7 @@ WorkerInspectorController::WorkerInspectorController(WorkerContext* workerContex
 #if ENABLE(SQL_DATABASE)
         , 0
 #endif
-#if ENABLE(DOM_STORAGE)
         , 0
-#endif
     );
 
 #if ENABLE(JAVASCRIPT_DEBUGGER)
@@ -150,9 +148,7 @@ void WorkerInspectorController::connectFrontend()
         0, // InspectorCSSAgent
         0, // InspectorConsoleAgent
         0, // InspectorDOMAgent
-#if ENABLE(DOM_STORAGE)
         0, // InspectorDOMStorageAgent
-#endif
 #if ENABLE(SQL_DATABASE)
         0, // InspectorDatabaseAgent
 #endif
index 18ded610b286ba5e6480ca9ada3fdadf906fba7c..17ae6619fb3da2fcdaa9c0c8c3079344fafd1551 100755 (executable)
@@ -85,7 +85,6 @@ ref_types = {}
 
 macro_traits = {
     "Database": "SQL_DATABASE",
-    "DOMStorage": "DOM_STORAGE",
     "Debugger": "JAVASCRIPT_DEBUGGER",
     "DOMDebugger": "JAVASCRIPT_DEBUGGER",
     "Profiler": "JAVASCRIPT_DEBUGGER",
index 2742ba2f24f372f30030aa6eb36816bccd5016b7..9c430fead2cfa6771bc1d71ae4db064d31c57aa1 100644 (file)
 #include "ResourceHandle.h"
 #include "SecurityOrigin.h"
 #include "Settings.h"
+#include "StorageNamespace.h"
 #include "WindowFeatures.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefPtr.h>
 #include <wtf/Vector.h>
 #include <wtf/text/StringBuilder.h>
 
-#if ENABLE(DOM_STORAGE)
-#include "StorageNamespace.h"
-#endif
-
 #if ENABLE(INPUT_COLOR)
 #include "ColorChooser.h"
 #endif
@@ -185,12 +182,10 @@ Page* Chrome::createWindow(Frame* frame, const FrameLoadRequest& request, const
 {
     Page* newPage = m_client->createWindow(frame, request, features, action);
 
-#if ENABLE(DOM_STORAGE)
     if (newPage) {
         if (StorageNamespace* oldSessionStorage = m_page->sessionStorage(false))
             newPage->setSessionStorage(oldSessionStorage->copy());
     }
-#endif
 
     return newPage;
 }
index 685e6309b684c978e84d43b55b320d464fac6425..6b05640597cf50fa39dad881f16feb6ab55a9709 100644 (file)
@@ -422,10 +422,8 @@ DOMWindow::~DOMWindow()
 #endif
     ASSERT(!m_location);
     ASSERT(!m_media);
-#if ENABLE(DOM_STORAGE)
     ASSERT(!m_sessionStorage);
     ASSERT(!m_localStorage);
-#endif
     ASSERT(!m_applicationCache);
 #if ENABLE(NOTIFICATIONS)
     ASSERT(!m_notifications);
@@ -530,8 +528,7 @@ void DOMWindow::clear()
     if (m_media)
         m_media->disconnectFrame();
     m_media = 0;
-    
-#if ENABLE(DOM_STORAGE)
+
     if (m_sessionStorage)
         m_sessionStorage->disconnectFrame();
     m_sessionStorage = 0;
@@ -539,7 +536,6 @@ void DOMWindow::clear()
     if (m_localStorage)
         m_localStorage->disconnectFrame();
     m_localStorage = 0;
-#endif
 
     if (m_applicationCache)
         m_applicationCache->disconnectFrame();
@@ -679,7 +675,6 @@ Location* DOMWindow::location() const
     return m_location.get();
 }
 
-#if ENABLE(DOM_STORAGE)
 Storage* DOMWindow::sessionStorage(ExceptionCode& ec) const
 {
     if (m_sessionStorage || !isCurrentlyDisplayedInFrame())
@@ -732,7 +727,6 @@ Storage* DOMWindow::localStorage(ExceptionCode& ec) const
     m_localStorage = Storage::create(m_frame, storageArea.release());
     return m_localStorage.get();
 }
-#endif
 
 #if ENABLE(NOTIFICATIONS)
 NotificationCenter* DOMWindow::webkitNotifications() const
index 3e97054b3ccfa4586a8e1909a2e8f2317e929091..0cb0a2ed6822fa3bc4b4811e0c3bdd5fb073f048 100644 (file)
@@ -358,11 +358,9 @@ namespace WebCore {
         DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
 #endif
 
-#if ENABLE(DOM_STORAGE)
         // HTML 5 key/value storage
         Storage* sessionStorage(ExceptionCode&) const;
         Storage* localStorage(ExceptionCode&) const;
-#endif
 
 #if ENABLE(FILE_SYSTEM)
         // They are placed here and in all capital letters so they can be checked against the constants in the
@@ -455,10 +453,8 @@ namespace WebCore {
         String m_status;
         String m_defaultStatus;
 
-#if ENABLE(DOM_STORAGE)
         mutable RefPtr<Storage> m_sessionStorage;
         mutable RefPtr<Storage> m_localStorage;
-#endif
 
 #if ENABLE(INDEXED_DATABASE)
         mutable RefPtr<IDBFactory> m_idbFactory;
index 8b509a8b5d5e6e1ce16a81917f1c0395f0f7a130..5b6c093e58fd10d9e3bb8654fba9d12a055b4e49 100644 (file)
@@ -169,12 +169,12 @@ module window {
         [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
             raises(DOMException);
 #endif
-#if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
+
         readonly attribute [EnabledAtRuntime] Storage sessionStorage
             getter raises(DOMException);
         readonly attribute [EnabledAtRuntime] Storage localStorage
             getter raises(DOMException);
-#endif
+
 #if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
         readonly attribute [EnabledAtRuntime] NotificationCenter webkitNotifications;
 #endif
@@ -547,7 +547,7 @@ module window {
         attribute [Conditional=DEVICE_ORIENTATION, EnabledAtRuntime] DeviceOrientationEventConstructor DeviceOrientationEvent;
         attribute [Conditional=TOUCH_EVENTS] TouchEventConstructor TouchEvent;
         attribute [Conditional=WEB_SOCKETS] CloseEventConstructor CloseEvent;
-        attribute [Conditional=DOM_STORAGE] StorageEventConstructor StorageEvent;
+        attribute StorageEventConstructor StorageEvent;
         attribute [Conditional=WEB_AUDIO] AudioProcessingEventConstructor AudioProcessingEvent;
         attribute [Conditional=WEB_AUDIO] OfflineAudioCompletionEventConstructor OfflineAudioCompletionEvent;
         attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechInputEvent;
@@ -614,9 +614,7 @@ module window {
         attribute ClientRectConstructor ClientRect;
         attribute ClientRectListConstructor ClientRectList;
 
-#if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
         attribute StorageConstructor Storage;
-#endif
 
         attribute [CustomGetter, Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor Audio; // Usable with the new operator
         attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLAudioElementConstructor HTMLAudioElement;
index b1e4ab1ffd669cd98e5cb790ea74b03829975919..1939a3e9beb377ac4d3179002558f5b961ca899c 100644 (file)
@@ -167,7 +167,6 @@ Geolocation* Navigator::geolocation() const
     return m_geolocation.get();
 }
 
-#if ENABLE(DOM_STORAGE)
 void Navigator::getStorageUpdates()
 {
     if (!m_frame)
@@ -181,7 +180,6 @@ void Navigator::getStorageUpdates()
     if (localStorage)
         localStorage->unlock();
 }
-#endif
 
 #if ENABLE(REGISTER_PROTOCOL_HANDLER)
 static HashSet<String>* protocolWhitelist;
index 8d1c69eac90b22e87d01395716d8a60d25b619ca..3a1e042bb4bd703471ec30e787798a473e8f76d3 100644 (file)
@@ -58,10 +58,8 @@ public:
 
     Geolocation* geolocation() const;
 
-#if ENABLE(DOM_STORAGE)
     // Relinquishes the storage lock, if one exists.
     void getStorageUpdates();
-#endif
 
 #if ENABLE(REGISTER_PROTOCOL_HANDLER)
     void registerProtocolHandler(const String& scheme, const String& url, const String& title, ExceptionCode&);
index c90d8574deb12068589fc7d810be19d3e3935f0c..2f691c30ee7c65042d9967184b2e51e33a2c9d30 100644 (file)
@@ -44,9 +44,7 @@ module window {
         readonly attribute [EnabledAtRuntime] Geolocation geolocation;
 #endif
 
-#if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
         void getStorageUpdates();
-#endif
 
 #if defined(ENABLE_REGISTER_PROTOCOL_HANDLER) && ENABLE_REGISTER_PROTOCOL_HANDLER
         void registerProtocolHandler(in DOMString scheme, in DOMString url, in DOMString title)
index bfbe70a3227df9255b95c693076be21efc2651da..b67494cd5fe633c113ec54c4ba53789c5a17d41b 100644 (file)
@@ -68,6 +68,8 @@
 #include "SharedBuffer.h"
 #include "SpeechInput.h"
 #include "SpeechInputClient.h"
+#include "StorageArea.h"
+#include "StorageNamespace.h"
 #include "TextResourceDecoder.h"
 #include "Widget.h"
 #include <wtf/HashMap.h>
 #include <wtf/StdLibExtras.h>
 #include <wtf/text/StringHash.h>
 
-#if ENABLE(DOM_STORAGE)
-#include "StorageArea.h"
-#include "StorageNamespace.h"
-#endif
-
 #if ENABLE(CLIENT_BASED_GEOLOCATION)
 #include "GeolocationController.h"
 #endif
@@ -835,7 +832,6 @@ void Page::setDebugger(JSC::Debugger* debugger)
         frame->script()->attachDebugger(m_debugger);
 }
 
-#if ENABLE(DOM_STORAGE)
 StorageNamespace* Page::sessionStorage(bool optionalCreate)
 {
     if (!m_sessionStorage && optionalCreate)
@@ -848,7 +844,6 @@ void Page::setSessionStorage(PassRefPtr<StorageNamespace> newStorage)
 {
     m_sessionStorage = newStorage;
 }
-#endif
 
 void Page::setCustomHTMLTokenizerTimeDelay(double customHTMLTokenizerTimeDelay)
 {
index e70fdbd099dcf1a5d3535cf4469efbb7ca831f58..30feedab54754fc32fad2f265a099183d3e228a4 100644 (file)
@@ -84,9 +84,7 @@ namespace WebCore {
     class Settings;
     class SpeechInput;
     class SpeechInputClient;
-#if ENABLE(DOM_STORAGE)
     class StorageNamespace;
-#endif
 #if ENABLE(NOTIFICATIONS)
     class NotificationPresenter;
 #endif
@@ -274,10 +272,8 @@ namespace WebCore {
         static void allVisitedStateChanged(PageGroup*);
         static void visitedStateChanged(PageGroup*, LinkHash visitedHash);
 
-#if ENABLE(DOM_STORAGE)
         StorageNamespace* sessionStorage(bool optionalCreate = true);
         void setSessionStorage(PassRefPtr<StorageNamespace>);
-#endif
 
         void setCustomHTMLTokenizerTimeDelay(double);
         bool hasCustomHTMLTokenizerTimeDelay() const { return m_customHTMLTokenizerTimeDelay != -1; }
@@ -400,9 +396,7 @@ namespace WebCore {
 
         bool m_canStartMedia;
 
-#if ENABLE(DOM_STORAGE)
         RefPtr<StorageNamespace> m_sessionStorage;
-#endif
 
 #if ENABLE(NOTIFICATIONS)
         NotificationPresenter* m_notificationPresenter;
index b00a37c128897de45f5208deeb3f4b2cb70c9a77..2c01fb1b996108bd4ab11cebe629936dee8bfe02 100644 (file)
@@ -99,7 +99,6 @@ PageGroup* PageGroup::pageGroup(const String& groupName)
 
 void PageGroup::closeLocalStorage()
 {
-#if ENABLE(DOM_STORAGE)
     if (!pageGroups)
         return;
 
@@ -109,11 +108,8 @@ void PageGroup::closeLocalStorage()
         if (it->second->hasLocalStorage())
             it->second->localStorage()->close();
     }
-#endif
 }
 
-#if ENABLE(DOM_STORAGE)
-
 void PageGroup::clearLocalStorageForAllOrigins()
 {
     if (!pageGroups)
@@ -158,8 +154,6 @@ unsigned PageGroup::numberOfPageGroups()
     return pageGroups->size();
 }
 
-#endif
-
 void PageGroup::addPage(Page* page)
 {
     ASSERT(page);
@@ -246,7 +240,6 @@ void PageGroup::setShouldTrackVisitedLinks(bool shouldTrack)
         removeAllVisitedLinks();
 }
 
-#if ENABLE(DOM_STORAGE)
 StorageNamespace* PageGroup::localStorage()
 {
     if (!m_localStorage) {
@@ -263,8 +256,6 @@ StorageNamespace* PageGroup::localStorage()
     return m_localStorage.get();
 }
 
-#endif
-
 #if ENABLE(INDEXED_DATABASE)
 IDBFactoryBackendInterface* PageGroup::idbFactory()
 {
index 0f8e370408d7fc8d59e411a6a1557f3d036da9fc..8b62368bb74bf52c77826211574289dfbcecdfd3 100644 (file)
@@ -53,14 +53,13 @@ namespace WebCore {
 
         static void closeLocalStorage();
 
-#if ENABLE(DOM_STORAGE)
         static void clearLocalStorageForAllOrigins();
         static void clearLocalStorageForOrigin(SecurityOrigin*);
         // DumpRenderTree helper that triggers a StorageArea sync.
         static void syncLocalStorage();
-#endif
+
         static unsigned numberOfPageGroups();
-        
+
         const HashSet<Page*>& pages() const { return m_pages; }
 
         void addPage(Page*);
@@ -79,10 +78,9 @@ namespace WebCore {
         const String& name() { return m_name; }
         unsigned identifier() { return m_identifier; }
 
-#if ENABLE(DOM_STORAGE)
         StorageNamespace* localStorage();
         bool hasLocalStorage() { return m_localStorage; }
-#endif
+
 #if ENABLE(INDEXED_DATABASE)
         IDBFactoryBackendInterface* idbFactory();
         bool hasIDBFactory() { return m_factoryBackend; }
@@ -121,9 +119,7 @@ namespace WebCore {
         bool m_visitedLinksPopulated;
 
         unsigned m_identifier;
-#if ENABLE(DOM_STORAGE)
         RefPtr<StorageNamespace> m_localStorage;
-#endif
 #if ENABLE(INDEXED_DATABASE)
         RefPtr<IDBFactoryBackendInterface> m_factoryBackend;
 #endif
index 67dc1dadca505daa6e536855a71d4272b8074036..e193d27d7a09f999233f294b814bc290d5f63c2a 100644 (file)
@@ -122,9 +122,7 @@ Settings::Settings(Page* page)
     , m_maximumDecodedImageSize(numeric_limits<size_t>::max())
     , m_deviceWidth(480)
     , m_deviceHeight(854)
-#if ENABLE(DOM_STORAGE)
     , m_sessionStorageQuota(StorageMap::noQuota)
-#endif
     , m_editingBehaviorType(editingBehaviorTypeForPlatform())
     , m_maximumHTMLParserDOMTreeDepth(defaultMaximumHTMLParserDOMTreeDepth)
     , m_isSpatialNavigationEnabled(false)
@@ -408,12 +406,10 @@ void Settings::setLocalStorageEnabled(bool localStorageEnabled)
     m_localStorageEnabled = localStorageEnabled;
 }
 
-#if ENABLE(DOM_STORAGE)
 void Settings::setSessionStorageQuota(unsigned sessionStorageQuota)
 {
     m_sessionStorageQuota = sessionStorageQuota;
 }
-#endif
 
 void Settings::setPrivateBrowsingEnabled(bool privateBrowsingEnabled)
 {
index e357da9003f78475e15d9bed1c0ccf9d859cc54b..57ee26dead2c2baff6e6ec906a142fb53bb7bed9 100644 (file)
@@ -152,13 +152,11 @@ namespace WebCore {
         void setLocalStorageEnabled(bool);
         bool localStorageEnabled() const { return m_localStorageEnabled; }
 
-#if ENABLE(DOM_STORAGE)
         // Allow clients concerned with memory consumption to set a quota on session storage
         // since the memory used won't be released until the Page is destroyed.
         // Default is noQuota.
         void setSessionStorageQuota(unsigned);
         unsigned sessionStorageQuota() const { return m_sessionStorageQuota; }
-#endif
 
         // When this option is set, WebCore will avoid storing any record of browsing activity
         // that may persist on disk or remain displayed when the option is reset.
@@ -498,9 +496,7 @@ namespace WebCore {
         size_t m_maximumDecodedImageSize;
         int m_deviceWidth;
         int m_deviceHeight;
-#if ENABLE(DOM_STORAGE)
         unsigned m_sessionStorageQuota;
-#endif
         unsigned m_editingBehaviorType;
         unsigned m_maximumHTMLParserDOMTreeDepth;
         bool m_isSpatialNavigationEnabled : 1;
index 5d2c80778845f60c849c97938188b586a86a9cec..39b16b4d48d010279b5c0d465d75bc7a5ace6698 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "LocalStorageTask.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "LocalStorageThread.h"
 #include "StorageAreaSync.h"
 #include "StorageTracker.h"
@@ -108,5 +106,3 @@ void LocalStorageTask::performTask()
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index 99e72f51ccae373667ccb229c57126d74a9a8816..3e8b6b17d067003bb908218bc02ad9e14e29310a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef LocalStorageTask_h
 #define LocalStorageTask_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 #include <wtf/PassOwnPtr.h>
 #include <wtf/Threading.h>
@@ -72,6 +70,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // LocalStorageTask_h
index 6242b5f565eaea29f7174193e3330e56bdbd169f..ba1b0fa26f495025d080c568a16bcd7d90d467b1 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "LocalStorageThread.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "LocalStorageTask.h"
 #include "StorageAreaSync.h"
 #include <wtf/MainThread.h>
@@ -101,5 +99,3 @@ void LocalStorageThread::performTerminate()
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index a2c78c6a695c9bcfd87eeacd3eb63be7cf5a31ff..46467afa7a44f4c2cf5e8bd68421fe31b6997e67 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef LocalStorageThread_h
 #define LocalStorageThread_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include <wtf/HashSet.h>
 #include <wtf/MessageQueue.h>
 #include <wtf/PassOwnPtr.h>
@@ -66,6 +64,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // LocalStorageThread_h
index 9e975abacf42c8c59e5c81f6fabfc38a22b2a33c..672ea9792d1abcf0a178c2f88fdf9a7fba3a1674 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "Storage.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "Frame.h"
 #include "Page.h"
 #include "Settings.h"
@@ -112,5 +110,3 @@ bool Storage::contains(const String& key) const
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index c81481a87f968ca061487388d59c43b2735e4b6e..219bc55b9a749c16c30ae1b16895dbaa181d2e17 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef Storage_h
 #define Storage_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
@@ -64,6 +62,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // Storage_h
index 32a1303f193027e06acb60af0569a7d46e4bc252..fc6d16edce733bd4a6cd5fa5e62e853f4b6b6c33 100644 (file)
@@ -32,7 +32,6 @@ module storage {
         CustomDeleteProperty,
         CustomGetPropertyNames,
         DelegatingPutFunction,
-        Conditional=DOM_STORAGE
     ] Storage {
         readonly attribute [DontEnum] unsigned long length;
         [DontEnum, ConvertNullStringTo=Null] DOMString key(in unsigned long index);
index 1dc0138f8878b2dc8baf59c1980d2860a73160b6..59ff6448df32aa9a6e46c5576d250cc679dd17c4 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageArea_h
 #define StorageArea_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 
 #include <wtf/PassRefPtr.h>
@@ -59,6 +57,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageArea_h
index 9a3ceff9de545aeb9904c1ce7ae1639e650804d5..115186cda08db6ef02eb981fbbf709061bab0181 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageAreaImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "ExceptionCode.h"
 #include "Frame.h"
 #include "Page.h"
@@ -266,5 +264,3 @@ void StorageAreaImpl::blockUntilImportComplete() const
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index 1aa5a056951a34ae8004f6f7156d2f64ee3e436d..fda6d55a4d9aa332c0cb7f25f71752266f61e38c 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageAreaImpl_h
 #define StorageAreaImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageArea.h"
 
 #include <wtf/PassRefPtr.h>
@@ -84,6 +82,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageAreaImpl_h
index 1389bc413e219c583392cb53beb42b7776003b51..5d31e6cb2d3759da4d1da182c06f6620a910d3d6 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageAreaSync.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "EventNames.h"
 #include "FileSystem.h"
 #include "HTMLElement.h"
@@ -521,7 +519,5 @@ void StorageAreaSync::scheduleSync()
 {
     syncTimerFired(&m_syncTimer);
 }
-    
-} // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
+} // namespace WebCore
index 3a34eda0ec8c8c5877d48fa7880b220fe94e1ba9..e5124c42dab3f5b725c93ed4f0f5b0893c6e921e 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageAreaSync_h
 #define StorageAreaSync_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "SQLiteDatabase.h"
 #include "Timer.h"
 #include <wtf/HashMap.h>
@@ -107,6 +105,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageAreaSync_h
index a08cde2b7266e094d841fa7d9927184a9d05b134..cb7a364bc6091041034e4c2dbe1ddba091a502eb 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageEvent.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "Storage.h"
 
 namespace WebCore {
@@ -75,5 +73,3 @@ void StorageEvent::initStorageEvent(const AtomicString& type, bool canBubble, bo
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index 8e558a8840e47f17cc0bba1926b48a51db9ac6c4..5dd6a248c56bdbdfe71b273865d1fa1b995c7193 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageEvent_h
 #define StorageEvent_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "Event.h"
 #include "PlatformString.h"
 
@@ -67,6 +65,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageEvent_h
index eca14ac77ae44905c62044807be10f9f571348fb..2e2e358757bae6c5a15750281f74783439b5c126 100644 (file)
@@ -25,9 +25,7 @@
 
 module storage {
 
-    interface [
-        Conditional=DOM_STORAGE
-    ] StorageEvent : Event {
+    interface StorageEvent : Event {
         readonly attribute [ConvertNullStringTo=Null] DOMString key;
         readonly attribute [ConvertNullStringTo=Null] DOMString oldValue;
         readonly attribute [ConvertNullStringTo=Null] DOMString newValue;
index 8220320884c667fb6173eba3c3b845112b171260..ebbd4980e53f9a2f7312caba21da4eb42ff2c540 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageEventDispatcher.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "Document.h"
 #include "DOMWindow.h"
 #include "EventNames.h"
@@ -82,5 +80,3 @@ void StorageEventDispatcher::dispatch(const String& key, const String& oldValue,
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index f4a98efc8267b6f793b2941340c734920cd8e49c..6739be93d823de3646b18a05e698d23059fa7524 100644 (file)
@@ -30,8 +30,6 @@
 #ifndef StorageEventDispatcher_h
 #define StorageEventDispatcher_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 #include "StorageArea.h"
 
@@ -49,6 +47,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageEventDispatcher_h
index 916a6d5dfac66196adb339e026234d0329cf2c0e..fdcae12042b2992b66a768ee14a209daa09d7c11 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageMap.h"
 
-#if ENABLE(DOM_STORAGE)
-
 namespace WebCore {
 
 PassRefPtr<StorageMap> StorageMap::create(unsigned quota)
@@ -183,5 +181,3 @@ void StorageMap::importItem(const String& key, const String& value)
 }
 
 }
-
-#endif // ENABLE(DOM_STORAGE)
index cc09d0f10606e64becb3945c03219cf32f3ae996..1fc17b077588b1ca881f81988780ba068d2fa7a1 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageMap_h
 #define StorageMap_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 #include <wtf/HashMap.h>
 #include <wtf/PassRefPtr.h>
@@ -71,6 +69,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageMap_h
index ce366089bfa17935e2e40b165ad3ce47d1ddbcf0..1b589e51c0d42ead41e3659c10f4c862ccbc85f9 100644 (file)
@@ -32,8 +32,6 @@
 #error "Chromium should not compile this file and instead define its own version of these factories that navigate the multi-process boundry."
 #endif
 
-#if ENABLE(DOM_STORAGE)
-
 namespace WebCore {
 
 PassRefPtr<StorageNamespace> StorageNamespace::localStorageNamespace(const String& path, unsigned quota)
@@ -48,5 +46,3 @@ PassRefPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page*, un
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index cb5df85d3d625e822c5e06d36bcc49fcc94866ae..b8fa7797e729dc5b4c433b185baf3512a40478fc 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageNamespace_h
 #define StorageNamespace_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 
 #include <wtf/PassRefPtr.h>
@@ -57,6 +55,4 @@ public:
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageNamespace_h
index 96654856c2dbfe75dac27c4980b7467a10f02db7..90096d935605aecc5dc462f41bd3632ecbf7ec34 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageNamespaceImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "SecurityOriginHash.h"
 #include "StorageAreaImpl.h"
 #include "StorageMap.h"
@@ -173,5 +171,3 @@ void StorageNamespaceImpl::sync()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index b562696c0a28df212c3323027e6029f514c41ba0..1153093ab65eebd05a4a3d55351c5dd1cc92932d 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageNamespaceImpl_h
 #define StorageNamespaceImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 #include "SecurityOriginHash.h"
 #include "StorageArea.h"
@@ -77,6 +75,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageNamespaceImpl_h
index 00ca7d253afa5fec8136d103a145fb1bb4d95fd5..27780437d384fb52e6cfcb54316ed2878e68b9c4 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageSyncManager.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "EventNames.h"
 #include "FileSystem.h"
 #include "Frame.h"
@@ -108,6 +106,5 @@ void StorageSyncManager::scheduleDeleteEmptyDatabase(PassRefPtr<StorageAreaSync>
     if (m_thread)
         m_thread->scheduleTask(LocalStorageTask::createDeleteEmptyDatabase(area.get()));
 }
-} // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
+} // namespace WebCore
index 6fbb75dad0b2042937e4e451d990f50b911b5ab7..5e0f165897a246fbacb92778f3d9f4b2067ab2be 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageSyncManager_h
 #define StorageSyncManager_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 
 #include <wtf/PassRefPtr.h>
@@ -67,6 +65,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageSyncManager_h
index c0cbe6b024c59bce32bc42609fa418e99ed89b46..9093f4616c3ff6e08dcadf7074f6f5300ed522f7 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageTracker.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "DatabaseThread.h"
 #include "FileSystem.h"
 #include "LocalStorageTask.h"
@@ -590,5 +588,3 @@ long long StorageTracker::diskUsageForOrigin(SecurityOrigin* origin)
 }
     
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index e2950cee7f97780fa18c17bf6c1dc25ed0662b79..e73cbf80418ee9942755da6a832faf1b4520349a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageTracker_h
 #define StorageTracker_h
 
-#if ENABLE(DOM_STORAGE)
-    
 #include "PlatformString.h"
 #include "SQLiteDatabase.h"
 #include <wtf/HashSet.h>
@@ -117,6 +115,4 @@ private:
     
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageTracker_h
index e79400e081319b61415a831690f1d34d54a8149f..0339cbd0c788ce2ad41a96bbe8e917f89e5d2baa 100644 (file)
@@ -1,3 +1,30 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * 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:
+
 2011-10-15  Adam Barth  <abarth@webkit.org>
 
         Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
index 405440faa8240bfddd187a1bc78cdb17b9d85ee4..c1c36c6559f5928e4eb2570f537ada63298e62bf 100644 (file)
@@ -42,7 +42,6 @@
       'ENABLE_DETAILS=1',
       'ENABLE_DEVICE_ORIENTATION=1',
       'ENABLE_DIRECTORY_UPLOAD=1',
-      'ENABLE_DOM_STORAGE=1',
       'ENABLE_DOWNLOAD_ATTRIBUTE=1',
       'ENABLE_FILE_SYSTEM=1',
       'ENABLE_FILTERS=1',
index 431754a3c11e928e140019e51e562dd60a330d31..f365dc42d8478315678fdcecc07543764e0bfa40 100644 (file)
@@ -27,8 +27,6 @@
 #include "config.h"
 #include "StorageAreaProxy.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "DOMWindow.h"
 #include "Document.h"
 #include "EventNames.h"
@@ -175,5 +173,3 @@ bool StorageAreaProxy::canAccessStorage(Frame* frame) const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index fd91bad99c716d7dc5c4f1597a6e6349cec561df..4be7c9bed26f5091a9ff3ea624f4a2edf0247d76 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageAreaProxy_h
 #define StorageAreaProxy_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageArea.h"
 
 namespace WebKit { class WebStorageArea; }
@@ -61,6 +59,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageAreaProxy_h
index fec9fbf5d55f430281fde7a23ee79a997df07edc..2f604f5db43cb65a6c4415e63131c7dbdd07d449 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "StorageEventDispatcher.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "SecurityOrigin.h"
 #include "StorageArea.h"
 
@@ -52,5 +50,3 @@ void StorageEventDispatcher::dispatch(const String& key, const String& oldValue,
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index dd0b3fe5c2ed5dcb5b006fc5b7be216609f4da68..7ee3eb2b181792248bc537b79b445af52f0a4bcb 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "StorageEventDispatcherImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "DOMWindow.h"
 #include "Document.h"
 #include "EventNames.h"
@@ -81,5 +79,3 @@ void StorageEventDispatcherImpl::dispatchStorageEvent(const String& key, const S
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index 4c2db7c3f90ca9bd5f1208a3e0800cf34d8178ef..d3433851f4584eead7edfdaaba95d482e6b78b55 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef StorageEventDispatcherImpl_h
 #define StorageEventDispatcherImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "PlatformString.h"
 #include "StorageArea.h"
 
@@ -56,6 +54,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageEventDispatcherImpl_h
index 4d6ab5528d2eb43c6bfa3beae0faf1590aa3a0be..f36e2f12f92d740f9a0b2c01048d1fbe8103b9e8 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "StorageNamespaceProxy.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "Chrome.h"
 #include "ChromeClientImpl.h"
 #include "Page.h"
@@ -108,5 +106,3 @@ void StorageNamespaceProxy::sync()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(DOM_STORAGE)
index 938853120ddc50df17b894df049f24de189680fc..f7f716e47898b680b427f9dec8ed3a697ea8fb37 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef StorageNamespaceProxy_h
 #define StorageNamespaceProxy_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageArea.h"
 #include "StorageNamespace.h"
 
@@ -56,6 +54,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // StorageNamespaceProxy_h
index 6d4fe4ecc7d40134a1951ebf949bd223b2f2383f..0de607470016e09436dec42b309daabb325a39e2 100644 (file)
@@ -58,36 +58,28 @@ bool WebRuntimeFeatures::isDatabaseEnabled()
 #endif
 }
 
+// FIXME: Remove the ability to enable this feature at runtime.
 void WebRuntimeFeatures::enableLocalStorage(bool enable)
 {
-#if ENABLE(DOM_STORAGE)
     RuntimeEnabledFeatures::setLocalStorageEnabled(enable);
-#endif
 }
 
+// FIXME: Remove the ability to enable this feature at runtime.
 bool WebRuntimeFeatures::isLocalStorageEnabled()
 {
-#if ENABLE(DOM_STORAGE)
     return RuntimeEnabledFeatures::localStorageEnabled();
-#else
-    return false;
-#endif
 }
 
+// FIXME: Remove the ability to enable this feature at runtime.
 void WebRuntimeFeatures::enableSessionStorage(bool enable)
 {
-#if ENABLE(DOM_STORAGE)
     RuntimeEnabledFeatures::setSessionStorageEnabled(enable);
-#endif
 }
 
+// FIXME: Remove the ability to enable this feature at runtime.
 bool WebRuntimeFeatures::isSessionStorageEnabled()
 {
-#if ENABLE(DOM_STORAGE)
     return RuntimeEnabledFeatures::sessionStorageEnabled();
-#else
-    return false;
-#endif
 }
 
 void WebRuntimeFeatures::enableMediaPlayer(bool enable)
index da8208f9073bbc50aae43ca62c83cc52d4a3aa72..25b21bc3ee7c73f5b2d2d889c4cfce3144ebbae8 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "WebStorageAreaImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "ExceptionCode.h"
 
 #include "WebString.h"
@@ -93,5 +91,3 @@ void WebStorageAreaImpl::clear(const WebURL& url, bool& somethingCleared)
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(DOM_STORAGE)
index 71f98b2886f3acaee8db48fbcbf3b49fc8b21814..b973188b888fc967ac6a875bfdcd4b1c9c3391a9 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef WebStorageAreaImpl_h
 #define WebStorageAreaImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageAreaImpl.h"
 #include "WebStorageArea.h"
 
@@ -78,6 +76,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // WebStorageAreaImpl_h
index 25a8603bb75ed428489c4bb0049ba2832f032458..23a49082cfb11b01e1f3dec9f85dedc8065ebc9a 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "WebStorageEventDispatcherImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "KURL.h"
 #include "SecurityOrigin.h"
 
@@ -69,5 +67,3 @@ void WebStorageEventDispatcherImpl::dispatchStorageEvent(const WebString& key, c
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(DOM_STORAGE)
index 6848b999c742c63ffbf4290f8a23b4ca59b373df..748963639226bda4da3846ec43683a23eddca57c 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef WebStorageEventDispatcherImpl_h
 #define WebStorageEventDispatcherImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageEventDispatcherImpl.h"
 #include "WebStorageEventDispatcher.h"
 #include <wtf/OwnPtr.h>
@@ -53,6 +51,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // WebStorageEventDispatcherImpl_h
index 7791941568e517ec4f2ce2af32d1559d69d82a1e..7470a7bcab514591a37c447717c14c2fb24b6c35 100644 (file)
 #include "config.h"
 #include "WebStorageNamespaceImpl.h"
 
-#if ENABLE(DOM_STORAGE)
-
 #include "SecurityOrigin.h"
-
 #include "WebStorageAreaImpl.h"
 #include "WebString.h"
 
@@ -76,5 +73,3 @@ void WebStorageNamespaceImpl::close()
 }
 
 } // namespace WebKit
-
-#endif // ENABLE(DOM_STORAGE)
index 4e82c2166cad1f33ba806a88f02662c9c771d1ad..10406c12785830ed74446d329e8d008ace678040 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef WebStorageNamespaceImpl_h
 #define WebStorageNamespaceImpl_h
 
-#if ENABLE(DOM_STORAGE)
-
 #include "StorageNamespaceImpl.h"
 #include "WebStorageNamespace.h"
 
@@ -52,6 +50,4 @@ private:
 
 } // namespace WebKit
 
-#endif // ENABLE(DOM_STORAGE)
-
 #endif // WebStorageNamespaceImpl_h
index ea2fa93363ce064cc7f2a904b9c33423aeb64f11..504b0126316d34a85b5af355d98c23227422df9d 100644 (file)
@@ -1,3 +1,19 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * Storage/WebStorageManager.mm:
+        * Storage/WebStorageManagerInternal.h:
+        * Storage/WebStorageTrackerClient.h:
+        * Storage/WebStorageTrackerClient.mm:
+        (WebStorageTrackerClient::dispatchDidModifyOrigin):
+        * WebView/WebView.mm:
+        (-[WebView _commonInitializationWithFrameName:groupName:]):
+
 2011-10-14  David Kilzer  <ddkilzer@apple.com>
 
         <http://webkit.org/b/70158> Fix clang compiler warnings
index fcf6052c245a2425b4ae9cff9ecd50bc0b583447..4137deb6ae384d895cebd64f3abebd7bacfc1e67 100644 (file)
@@ -79,7 +79,6 @@ ENABLE_DATA_TRANSFER_ITEMS = ;
 ENABLE_DETAILS = ENABLE_DETAILS;
 ENABLE_DEVICE_ORIENTATION = ;
 ENABLE_DIRECTORY_UPLOAD = ;
-ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE;
 ENABLE_FILE_SYSTEM = ;
 ENABLE_FULLSCREEN_API = ENABLE_FULLSCREEN_API;
 ENABLE_GAMEPAD = ;
@@ -115,4 +114,4 @@ ENABLE_WORKERS = ENABLE_WORKERS;
 ENABLE_XPATH = ENABLE_XPATH;
 ENABLE_XSLT = ENABLE_XSLT;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM_STORAGE) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
index 56a3d9956a66f80982b3285c5f6c4adfec1192a9..bb24b3ed6c8d0ad025fa397b4bd8bba1c9c4749a 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if ENABLE(DOM_STORAGE)
-
 #import "WebSecurityOriginInternal.h"
 #import "WebStorageManagerPrivate.h"
 #import "WebStorageManagerInternal.h"
@@ -123,5 +121,3 @@ void WebKitInitializeStorageIfNecessary()
 }
 
 @end
-
-#endif
index d3d360494a3badb630077f89e6aa21a4575aba20..688b4bc73c01ee6ea7c4adcb1d2e1338ae1b562b 100644 (file)
@@ -23,8 +23,4 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#if ENABLE(DOM_STORAGE)
-
 void WebKitInitializeStorageIfNecessary();
-
-#endif
index d3c190ceaa3e19f9c8835a4796060e9c9fe4b30b..25dd9410bc36537fae8d619275a6d7734049da94 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#if ENABLE(DOM_STORAGE)
-
 #import <WebCore/SecurityOrigin.h>
 #import <WebCore/StorageTrackerClient.h>
 
@@ -41,5 +39,3 @@ public:
 private:
     WebStorageTrackerClient();
 };
-
-#endif
index 01bb981d5dbdd5de136f566147994736b92eb6b2..61b2d179bf6a480125259c137ffd31ab4e0873cb 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if ENABLE(DOM_STORAGE)
-
 #import "WebStorageTrackerClient.h"
 
 #import "WebSecurityOriginInternal.h"
@@ -78,5 +76,3 @@ void WebStorageTrackerClient::dispatchDidModifyOrigin(const String& originIdenti
 
     dispatchDidModifyOrigin(origin);
 }
-
-#endif
index 424a3c37fc5b40b463586f08c53210262ae488bd..b0c055f45fb9a1fd9a4720a0d6acc212f4dd0afc 100644 (file)
@@ -706,9 +706,7 @@ static NSString *leakOutlookQuirksUserScriptContents()
         WebKitInitializeDatabasesIfNecessary();
 #endif
 
-#if ENABLE(DOM_STORAGE)
         WebKitInitializeStorageIfNecessary();
-#endif
         WebKitInitializeApplicationCachePathIfNecessary();
         patchMailRemoveAttributesMethod();
         
index 36ce86b47ba34e91d08167802bd28850f3a3debd..edeb7dc3114fd9f03a7540c4f2d629482fc2ea65 100644 (file)
@@ -1,3 +1,16 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::updatePreferences):
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::initializeWebProcess):
+
 2011-10-15  Adam Barth  <abarth@webkit.org>
 
         Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
index fcf6052c245a2425b4ae9cff9ecd50bc0b583447..4137deb6ae384d895cebd64f3abebd7bacfc1e67 100644 (file)
@@ -79,7 +79,6 @@ ENABLE_DATA_TRANSFER_ITEMS = ;
 ENABLE_DETAILS = ENABLE_DETAILS;
 ENABLE_DEVICE_ORIENTATION = ;
 ENABLE_DIRECTORY_UPLOAD = ;
-ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE;
 ENABLE_FILE_SYSTEM = ;
 ENABLE_FULLSCREEN_API = ENABLE_FULLSCREEN_API;
 ENABLE_GAMEPAD = ;
@@ -115,4 +114,4 @@ ENABLE_WORKERS = ENABLE_WORKERS;
 ENABLE_XPATH = ENABLE_XPATH;
 ENABLE_XSLT = ENABLE_XSLT;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM_STORAGE) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ANIMATION_API) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_CSS3_FLEXBOX) $(ENABLE_CSS_FILTERS) $(ENABLE_DATABASE) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_FILE_SYSTEM) $(ENABLE_FILTERS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_COLOR) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_TAG) $(ENABLE_MUTATION_OBSERVERS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_QUOTA) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XPATH) $(ENABLE_XSLT);
index 7c6c0b5b0de3f0e351585f3bbe66d3430acff38c..f78e1e753ef792cb4990ebb1a6b570dccf23ec97 100644 (file)
@@ -1696,9 +1696,7 @@ void WebPage::updatePreferences(const WebPreferencesStore& store)
     settings->setFullScreenEnabled(store.getBoolValueForKey(WebPreferencesKey::fullScreenEnabledKey()));
 #endif
 
-#if ENABLE(DOM_STORAGE)
     settings->setLocalStorageDatabasePath(WebProcess::shared().localStorageDirectory());
-#endif
 
 #if USE(AVFOUNDATION)
     settings->setAVFoundationEnabled(store.getBoolValueForKey(WebPreferencesKey::isAVFoundationEnabledKey()));
index 074bfe6611b666d64099427c7628a9d4915870a6..e8aa7ada4b6e5e6af16a47383f92c407b2868a5f 100644 (file)
@@ -200,10 +200,8 @@ void WebProcess::initializeWebProcess(const WebProcessCreationParameters& parame
     m_iconDatabaseProxy.setEnabled(parameters.iconDatabaseEnabled);
 #endif
 
-#if ENABLE(DOM_STORAGE)
     StorageTracker::initializeTracker(parameters.localStorageDirectory, 0);
     m_localStorageDirectory = parameters.localStorageDirectory;
-#endif
 
     if (!parameters.applicationCacheDirectory.isEmpty())
         cacheStorage().setCacheDirectory(parameters.applicationCacheDirectory);
index d045a4136b018883e91e113ad0a540a13e68e0f5..1d7beebe11c957017d3e87f49e63f09722ee13d8 100644 (file)
@@ -66,7 +66,6 @@ WEBKIT_FEATURE(ENABLE_DATAGRID "Enable datagrid" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_DATALIST "Enable datalist" DEFAULT ON HTML)
 WEBKIT_FEATURE(ENABLE_DATA_TRANSFER_ITEMS "Enable data transfer items" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_DEVICE_ORIENTATION "Enable device orientation" DEFAULT OFF)
-WEBKIT_FEATURE(ENABLE_DOM_STORAGE "Enable DOM storage" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_FAST_MALLOC "Enable TCmalloc instead of system's allocator" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_FAST_MOBILE_SCROLLING "Enable fast mobile scrolling" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_FILTERS "Enable SVG filters" DEFAULT ON SVG)
index 1c8c6aa6b1632b4019608e62502987815c5c6018..60c77f9b26371f606113681729459c2be8803679 100644 (file)
@@ -25,7 +25,6 @@ WEBKIT_FEATURE(ENABLE_SQL_DATABASE "Enable SQL database" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_DATAGRID "Enable datagrid" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_DATALIST "Enable datalist" DEFAULT OFF HTML)
 WEBKIT_FEATURE(ENABLE_DATA_TRANSFER_ITEMS "Enable data transfer items" DEFAULT OFF)
-WEBKIT_FEATURE(ENABLE_DOM_STORAGE "Enable DOM storage" DEFAULT OFF)
 WEBKIT_FEATURE(ENABLE_FAST_MOBILE_SCROLLING "Enable fast mobile scrolling" DEFAULT ON)
 WEBKIT_FEATURE(ENABLE_FILTERS "Enable SVG filters" DEFAULT OFF SVG)
 WEBKIT_FEATURE(ENABLE_FTPDIR "Enable FTP directory support" DEFAULT OFF)
index e8deaae4c1dc6bcdf14e6fe7f2fde78f7766db62..811037d6f9dc99d2e45a715436b1ef09fb902b65 100644 (file)
@@ -13,7 +13,6 @@
 #cmakedefine01 ENABLE_DATALIST
 #cmakedefine01 ENABLE_DATA_TRANSFER_ITEMS
 #cmakedefine01 ENABLE_DEVICE_ORIENTATION
-#cmakedefine01 ENABLE_DOM_STORAGE
 #cmakedefine01 ENABLE_FAST_MOBILE_SCROLLING
 #cmakedefine01 ENABLE_FILTERS
 #cmakedefine01 ENABLE_FTPDIR
index c5a8652238c4d49657dfe59f3c41f9aaeffba32a..161bafdcc16e8ccafe58e3c7c6ba218e31096790 100644 (file)
@@ -1,3 +1,13 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * Scripts/build-webkit:
+        * waf/build/settings.py:
+
 2011-10-15  Adam Barth  <abarth@webkit.org>
 
         Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
index 9c79dcafad8c5b7bad6c87b478fd8d222a5c0967..4e3b2af4895961d2a23ce33d832bc574d9960c6d 100755 (executable)
@@ -81,7 +81,6 @@ my (
     $detailsSupport,
     $deviceOrientationSupport,
     $directoryUploadSupport,
-    $domStorageSupport,
     $fileSystemSupport,
     $filtersSupport,
     $fullscreenAPISupport,
@@ -188,9 +187,6 @@ my @features = (
     { option => "mutation-observers", desc => "Toggle DOM mutation observer support",
       define => "ENABLE_MUTATION_OBSERVERS", default => 0, value => \$mutationObserversSupport },
 
-    { option => "dom-storage", desc => "Toggle DOM Storage Support",
-      define => "ENABLE_DOM_STORAGE", default => 1, value => \$domStorageSupport },
-
     { option => "file-system", desc => "Toggle FileSystem support",
       define => "ENABLE_FILE_SYSTEM", default => 0, value => \$fileSystemSupport },
 
index 63123abee732dce4c491d7b11faedae905fff28a..f9bc36962c1cf57cb09e664a95258993e557a4b5 100644 (file)
@@ -238,7 +238,7 @@ def common_configure(conf):
 
     feature_defines = ['ENABLE_DATABASE', 'ENABLE_XSLT', 'ENABLE_JAVASCRIPT_DEBUGGER',
                     'ENABLE_SVG', 'ENABLE_FILTERS', 'ENABLE_SVG_FONTS',
-                    'ENABLE_DOM_STORAGE', 'BUILDING_%s' % build_port.upper()]
+                    'BUILDING_%s' % build_port.upper()]
 
     conf.env["FEATURE_DEFINES"] = ' '.join(feature_defines)
 
index 540d2e4340fb38420c80fb781ca92f8982e12a08..6c5de2bb67adde435ab00c5d7c4822a0b1c1fe2a 100644 (file)
@@ -1,3 +1,13 @@
+2011-10-16  Adam Barth  <abarth@webkit.org>
+
+        Always enable ENABLE(DOM_STORAGE)
+        https://bugs.webkit.org/show_bug.cgi?id=70189
+
+        Reviewed by Eric Seidel.
+
+        * win/tools/vsprops/FeatureDefines.vsprops:
+        * win/tools/vsprops/FeatureDefinesCairo.vsprops:
+
 2011-10-14  Dan Bernstein  <mitz@apple.com>
 
         REGRESSION (Safari 5.1 - 5.1.1): CSS nesw-resize cursor shows up as a sw-resize cursor
index 689d5293ad6d652b01ac358393e3e0a1268fc15c..0c5a61a697ae0b3768acb9f6caedb06ff29caede 100644 (file)
@@ -9,7 +9,7 @@
        >
   <Tool
                Name="VCCLCompilerTool"
-               PreprocessorDefinitions="$(ENABLE_REQUEST_ANIMATION_FRAME);$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_DOM_STORAGE);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MICRODATA);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XPATH);$(ENABLE_XSLT)"
+               PreprocessorDefinitions="$(ENABLE_REQUEST_ANIMATION_FRAME);$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MICRODATA);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XPATH);$(ENABLE_XSLT)"
        />
   <UserMacro
                Name="ENABLE_REQUEST_ANIMATION_FRAME"
         Value=""
         PerformEnvironmentSet="true"
     />
-  <UserMacro
-               Name="ENABLE_DOM_STORAGE"
-               Value="ENABLE_DOM_STORAGE"
-               PerformEnvironmentSet="true"
-       />
   <UserMacro
                Name="ENABLE_FILTERS"
                Value="ENABLE_FILTERS"
index f65679e7bb0599738ac8c6fd00d3460002c1672f..dcc707ab72f195a2fe35e4ab8fbf27da3f4281d9 100644 (file)
@@ -9,7 +9,7 @@
        >
   <Tool
                Name="VCCLCompilerTool"
-               PreprocessorDefinitions="$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_DOM_STORAGE);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MICRODATA);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XPATH);$(ENABLE_XSLT)"
+               PreprocessorDefinitions="$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MICRODATA);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XPATH);$(ENABLE_XSLT)"
        />
   <UserMacro
                Name="ENABLE_3D_CANVAS"
         Value=""
         PerformEnvironmentSet="true"
     />
-  <UserMacro
-               Name="ENABLE_DOM_STORAGE"
-               Value="ENABLE_DOM_STORAGE"
-               PerformEnvironmentSet="true"
-       />
   <UserMacro
                Name="ENABLE_FILTERS"
                Value="ENABLE_FILTERS"
index 478a1b3eba4527a99c5d6cbe5e52732beaebc4a4..c3251be3d675ff00f530569055cfe37900710052 100644 (file)
@@ -1154,7 +1154,6 @@ AM_CONDITIONAL([ENABLE_GAMEPAD],[test "$enable_gamepad" = "yes"])
 AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"])
 AM_CONDITIONAL([ENABLE_DATAGRID],[test "$enable_datagrid" = "yes"])
 AM_CONDITIONAL([ENABLE_DATA_TRANSFER_ITEMS],[test "$enable_data_transfer_items" = "yes"])
-AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
 AM_CONDITIONAL([ENABLE_SQL_DATABASE],[test "$enable_sql_database" = "yes"])
 AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"])
 AM_CONDITIONAL([ENABLE_DETAILS],[test "$enable_details" = "yes"])