mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fbcbbd7ae3
`Window`'s `self` property and `DedicatedWorkerGlobalScope`'s `name` property are defined as Web IDL read-only attributes with the `[Replaceable]` extended attribute, meaning that their setter will redefine the property as a data property with the set value, rather than changing some internal state. Deno currently defines them as read-only data properties instead. Given that Web IDL requires all attributes to be accessor properties rather than data properties, but Deno exposes almost all of those properties as either read-only or writable data properties, it makes sense to expose `[Replaceable]` properties as writable as well – as is already the case with `WindowOrWorkerGlobalScope`'s `performance` property.
4 lines
114 B
Text
4 lines
114 B
Text
load event (event listener)
|
|
load event (event handler)
|
|
unload event (event listener)
|
|
unload event (event handler)
|