| Index: Source/core/loader/appcache/ApplicationCache.cpp
|
| diff --git a/Source/core/loader/appcache/ApplicationCache.cpp b/Source/core/loader/appcache/ApplicationCache.cpp
|
| index 489e10f63ecc0ee7dc585e8352fde9153861546d..862f37a668e460742cffd79acda41e48d46ee93e 100644
|
| --- a/Source/core/loader/appcache/ApplicationCache.cpp
|
| +++ b/Source/core/loader/appcache/ApplicationCache.cpp
|
| @@ -26,7 +26,6 @@
|
| #include "config.h"
|
| #include "core/loader/appcache/ApplicationCache.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -72,14 +71,14 @@ void ApplicationCache::update(ExceptionState& exceptionState)
|
| {
|
| ApplicationCacheHost* cacheHost = applicationCacheHost();
|
| if (!cacheHost || !cacheHost->update())
|
| - exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("update", "ApplicationCache", "there is no application cache to update."));
|
| + exceptionState.throwDOMException(InvalidStateError, "there is no application cache to update.");
|
| }
|
|
|
| void ApplicationCache::swapCache(ExceptionState& exceptionState)
|
| {
|
| ApplicationCacheHost* cacheHost = applicationCacheHost();
|
| if (!cacheHost || !cacheHost->swapCache())
|
| - exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("swapCache", "ApplicationCache", "there is no newer application cache to swap to."));
|
| + exceptionState.throwDOMException(InvalidStateError, "there is no newer application cache to swap to.");
|
| }
|
|
|
| void ApplicationCache::abort()
|
|
|