diff options
author | JustOff <Off.Just.Off@gmail.com> | 2019-03-14 14:14:45 +0200 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2019-03-14 14:14:45 +0200 |
commit | 523de109cc37aa93c84e1885c5c603d40b4e1dd0 (patch) | |
tree | bd5d8534cdb9b7afd2a846406828236653eda417 /dom/url | |
parent | ad845b6f93bcde3309bf6b4205f69a4d46327aeb (diff) | |
download | aura-central-523de109cc37aa93c84e1885c5c603d40b4e1dd0.tar.gz |
Use meaningful error message in URLSearchParams::Constructor
Diffstat (limited to 'dom/url')
-rw-r--r-- | dom/url/URLSearchParams.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/url/URLSearchParams.cpp b/dom/url/URLSearchParams.cpp index ad23460f3..f762299f8 100644 --- a/dom/url/URLSearchParams.cpp +++ b/dom/url/URLSearchParams.cpp @@ -358,7 +358,7 @@ URLSearchParams::Constructor(const GlobalObject& aGlobal, sp->Append(entry.mKey, entry.mValue); } } else { - MOZ_CRASH("This should not happen."); + MOZ_CRASH("URLSearchParams: Invalid string"); } return sp.forget(); |