Add value argument to URLSearchParams's has() and delete()

This commit should fix #29725.

Signed-off-by: Veronika Bušů <paricbat@email.cz>
This commit is contained in:
Veronika Bušů 2023-05-08 19:47:29 +02:00 committed by Martin Robinson
parent 419c03182f
commit e40ec79f65
4 changed files with 14 additions and 20 deletions

View file

@ -11,10 +11,10 @@ interface URLSearchParams {
[Throws] constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
readonly attribute unsigned long size;
undefined append(USVString name, USVString value);
undefined delete(USVString name);
undefined delete(USVString name, optional USVString value);
USVString? get(USVString name);
sequence<USVString> getAll(USVString name);
boolean has(USVString name);
boolean has(USVString name, optional USVString value);
undefined set(USVString name, USVString value);
undefined sort();