Skip to content

WritingDate unrecorded1 min readObservation#浏览器#内存#待复现

表单聚焦后的内存观察

An observation of detached nodes after focusing a form control.

Copy this article link manually.

This one hasn't been translated yet — here's the Chinese original.

The original note has no browser version, reproduction, or heap snapshot; it remains an unverified observation.

结论: 浏览器表单聚焦后垃圾回收无效,会造成游离节点内存泄漏问题。 但多个表单元素聚焦后,只有最后一个表单元素会造成内存泄漏,其他会被正常回收。

Back to the index