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

Unified Diff: Source/core/workers/WorkerContext.cpp

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 8 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/core/page/DOMWindow.idl ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerContext.cpp
diff --git a/Source/core/workers/WorkerContext.cpp b/Source/core/workers/WorkerContext.cpp
index 79269066ec7a2859f9bb5d6f27b839230021d51b..a4e6dd6f80ed6b1143c4f612cafb8c67a800e481 100644
--- a/Source/core/workers/WorkerContext.cpp
+++ b/Source/core/workers/WorkerContext.cpp
@@ -53,7 +53,6 @@
#include "core/workers/WorkerObjectProxy.h"
#include "core/workers/WorkerScriptLoader.h"
#include "core/workers/WorkerThread.h"
-#include "core/xml/XMLHttpRequestException.h"
#include <wtf/RefPtr.h>
#include <wtf/UnusedParam.h>
@@ -245,7 +244,7 @@ void WorkerContext::importScripts(const Vector<String>& urls, ExceptionCode& ec)
// If the fetching attempt failed, throw a NETWORK_ERR exception and abort all these steps.
if (scriptLoader->failed()) {
- ec = XMLHttpRequestException::NETWORK_ERR;
+ ec = NETWORK_ERR;
return;
}
« no previous file with comments | « Source/core/page/DOMWindow.idl ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698