Open
Description
We currently have the following definition for writeProperty()
Promise<void> writeProperty(DOMString propertyName,
any value,
optional InteractionOptions options = null);
I wonder whether the return value should be Promise<any>
instead of Promise<void>
?
There may be different use-cases were a server might modify the value initially provided (e.g., round a number 1.2345 to 1.23 by limiting digits) and returning the actually set value would be helpful. No additional readProperty()
needed.
What are the consequences of such a change?