Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2381)

Unified Diff: Source/web/StorageAreaProxy.cpp

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/SharedWorkerRepository.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/StorageAreaProxy.cpp
diff --git a/Source/web/StorageAreaProxy.cpp b/Source/web/StorageAreaProxy.cpp
index ce55f47d1cc1ec417b852c1c879b1efa75ddd8b9..799fad166ffcdea0e2f77fbbe50f6949ee2b93e8 100644
--- a/Source/web/StorageAreaProxy.cpp
+++ b/Source/web/StorageAreaProxy.cpp
@@ -99,7 +99,7 @@ void StorageAreaProxy::setItem(const String& key, const String& value, Exception
WebKit::WebStorageArea::Result result = WebKit::WebStorageArea::ResultOK;
m_storageArea->setItem(key, value, frame->document()->url(), result);
if (result != WebKit::WebStorageArea::ResultOK)
- es.throwDOMException(QuotaExceededError);
+ es.throwUninformativeAndGenericDOMException(QuotaExceededError);
}
void StorageAreaProxy::removeItem(const String& key, ExceptionState& es, Frame* frame)
« no previous file with comments | « Source/web/SharedWorkerRepository.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698