mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
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:
parent
a135136166
commit
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 = {});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user