mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says
This commit is contained in:
parent
7233825bfe
commit
8547419267
3 changed files with 41 additions and 11 deletions
|
|
@ -317,7 +317,7 @@ void
|
|||
InternalHeaders::Fill(const Record<nsCString, nsCString>& aInit, ErrorResult& aRv)
|
||||
{
|
||||
for (auto& entry : aInit.Entries()) {
|
||||
Append(NS_ConvertUTF16toUTF8(entry.mKey), entry.mValue, aRv);
|
||||
Append(entry.mKey, entry.mValue, aRv);
|
||||
if (aRv.Failed()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue