зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1848125 - Make MessageEvent a ProbablyShortLivingWrapper. r=smaug
It is expected that those objects are not held unto, this allows minor GCs to usually collect the wrapper. Differential Revision: https://phabricator.services.mozilla.com/D186435
This commit is contained in:
Родитель
a135136166
Коммит
f484fbf7d6
|
@ -7,7 +7,7 @@
|
|||
* https://html.spec.whatwg.org/#messageevent
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker,AudioWorklet)]
|
||||
[Exposed=(Window,Worker,AudioWorklet), ProbablyShortLivingWrapper]
|
||||
interface MessageEvent : Event {
|
||||
constructor(DOMString type, optional MessageEventInit eventInitDict = {});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче