| Index: Source/core/workers/SharedWorker.cpp
|
| diff --git a/Source/core/workers/SharedWorker.cpp b/Source/core/workers/SharedWorker.cpp
|
| index 5667b69d6c02914ff2a98d05d6d51382bd7706f7..35dbb17ecad847ed95db97c0d7df4f9243b6aad4 100644
|
| --- a/Source/core/workers/SharedWorker.cpp
|
| +++ b/Source/core/workers/SharedWorker.cpp
|
| @@ -71,7 +71,7 @@ PassRefPtr<SharedWorker> SharedWorker::create(ExecutionContext* context, const S
|
| // We don't currently support nested workers, so workers can only be created from documents.
|
| Document* document = toDocument(context);
|
| if (!document->securityOrigin()->canAccessSharedWorkers()) {
|
| - exceptionState.throwSecurityError("Failed to create 'SharedWorker': access to shared workers is denied to origin '" + document->securityOrigin()->toString() + "'.");
|
| + exceptionState.throwSecurityError("Access to shared workers is denied to origin '" + document->securityOrigin()->toString() + "'.");
|
| return 0;
|
| }
|
|
|
|
|