Hmm, [here](https://searchfox.org/mozilla-central/rev/a944f46809e54030cdac4600af2bc827aca2a432/dom/html/TextControlState.cpp#2500) ensures that `<textarea>` has always initialized its `TextEditor` here. However, looks like [it may have not been so yet](https://searchfox.org/mozilla-central/search?q=symbol:_ZN7mozilla16TextControlState13PrepareEditorEPK12nsTSubstringIDsE&redirect=false).
Bug 1897255 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hmm, [here](https://searchfox.org/mozilla-central/rev/a944f46809e54030cdac4600af2bc827aca2a432/dom/html/TextControlState.cpp#2500) assumes that `<textarea>` has always initialized its `TextEditor` here. However, looks like [it may have not been so yet](https://searchfox.org/mozilla-central/search?q=symbol:_ZN7mozilla16TextControlState13PrepareEditorEPK12nsTSubstringIDsE&redirect=false).
Hmm, [here](https://searchfox.org/mozilla-central/rev/a944f46809e54030cdac4600af2bc827aca2a432/dom/html/TextControlState.cpp#2500) assumes that `<textarea>` has already initialized its `TextEditor`. However, looks like [it may have not been so yet](https://searchfox.org/mozilla-central/search?q=symbol:_ZN7mozilla16TextControlState13PrepareEditorEPK12nsTSubstringIDsE&redirect=false).