Sets the value of a key.
- Safari Desktop 5.0+
- Safari Extensions JS
The key whose value is being set.
The value being set.
The behavior of this method is undefined if
value cannot be serialized to a JSON value.
On success, this method dispatches a
Safari event describing the change.