mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Use meaningful error message in URLSearchParams::Constructor
This commit is contained in:
parent
0b794697e3
commit
a86de13c47
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue