Index: Source/core/workers/AbstractWorker.cpp |
diff --git a/Source/core/workers/AbstractWorker.cpp b/Source/core/workers/AbstractWorker.cpp |
index 9250d47d9e44d2a28b1336e48388f7ba9ab274cc..301cdf9289c0855915af2aae3ec82890fa77c3c2 100644 |
--- a/Source/core/workers/AbstractWorker.cpp |
+++ b/Source/core/workers/AbstractWorker.cpp |
@@ -51,11 +51,6 @@ AbstractWorker::~AbstractWorker() |
KURL AbstractWorker::resolveURL(const String& url, ExceptionState& exceptionState) |
{ |
- if (url.isEmpty()) { |
- exceptionState.throwDOMException(SyntaxError, "Failed to create a worker: an empty URL was provided."); |
- return KURL(); |
- } |
- |
// FIXME: This should use the dynamic global scope (bug #27887) |
KURL scriptURL = executionContext()->completeURL(url); |
if (!scriptURL.isValid()) { |