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

Unified Diff: Source/web/SharedWorkerRepository.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/modules/webmidi/MIDIOutput.cpp ('k') | Source/web/StorageAreaProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/SharedWorkerRepository.cpp
diff --git a/Source/web/SharedWorkerRepository.cpp b/Source/web/SharedWorkerRepository.cpp
index 589b42081f722765954bf3aa3699f1fdd7286484..d295a9f7271cf4c2f6db7101ae6f125139ca265f 100644
--- a/Source/web/SharedWorkerRepository.cpp
+++ b/Source/web/SharedWorkerRepository.cpp
@@ -235,7 +235,7 @@ void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr
if (!webWorker) {
// Existing worker does not match this url, so return an error back to the caller.
- es.throwDOMException(URLMismatchError);
+ es.throwUninformativeAndGenericDOMException(URLMismatchError);
return;
}
« no previous file with comments | « Source/modules/webmidi/MIDIOutput.cpp ('k') | Source/web/StorageAreaProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698