Changeset 50754 in webkit
- Timestamp:
- Nov 10, 2009 12:52:57 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50753 r50754 1 2009-11-09 Jeremy Orlow <jorlow@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Remove session storage setting 6 https://bugs.webkit.org/show_bug.cgi?id=31279 7 8 Remove session storage from Settings. It was added temporarily so we could 9 disable it by default at runtime in Chromium. We now disable these things in a 10 different way, so it's time to remove it. Qt also depended on this setting for 11 a short period of time, but after talking to them we agreed that it should be 12 removed. 13 14 This bug is the second half of https://bugs.webkit.org/show_bug.cgi?id=30602 15 16 * page/DOMWindow.cpp: 17 (WebCore::DOMWindow::sessionStorage): 18 * page/Settings.cpp: 19 (WebCore::Settings::Settings): 20 * page/Settings.h: 21 1 22 2009-11-10 Dan Bernstein <mitz@apple.com> 2 23 -
trunk/WebCore/page/DOMWindow.cpp
r50575 r50754 575 575 return 0; 576 576 577 if (!page->settings()->sessionStorageEnabled())578 return 0;579 580 577 RefPtr<StorageArea> storageArea = page->sessionStorage()->storageArea(document->securityOrigin()); 581 578 #if ENABLE(INSPECTOR) -
trunk/WebCore/page/Settings.cpp
r50575 r50754 73 73 , m_databasesEnabled(false) 74 74 , m_localStorageEnabled(false) 75 , m_sessionStorageEnabled(true)76 75 , m_isJavaScriptEnabled(false) 77 76 , m_isWebSecurityEnabled(true) … … 257 256 } 258 257 259 void Settings::setSessionStorageEnabled(bool sessionStorageEnabled)260 {261 m_sessionStorageEnabled = sessionStorageEnabled;262 }263 264 258 void Settings::setLocalStorageQuota(unsigned localStorageQuota) 265 259 { -
trunk/WebCore/page/Settings.h
r50575 r50754 125 125 void setLocalStorageEnabled(bool); 126 126 bool localStorageEnabled() const { return m_localStorageEnabled; } 127 128 void setSessionStorageEnabled(bool);129 bool sessionStorageEnabled() const { return m_sessionStorageEnabled; }130 127 131 128 void setLocalStorageQuota(unsigned); … … 308 305 bool m_databasesEnabled : 1; 309 306 bool m_localStorageEnabled : 1; 310 bool m_sessionStorageEnabled : 1;311 307 bool m_isJavaScriptEnabled : 1; 312 308 bool m_isWebSecurityEnabled : 1;
Note: See TracChangeset
for help on using the changeset viewer.