mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

As explained in the comment of TextEditor::InsertWithQuotationsAsSubAction(), it excepts that TextEditRules::WillDoAction() won't handle it. So, the MOZ_ASSERT() should check |!handled|, not |handled|. Caused this regression means that we do not have test to paste text into <textarea>. Therefore, this patch adds the tests. MozReview-Commit-ID: 2UUSVrmmNVK --HG-- extra : rebase_source : 912d5428aeed83a7a46ec7e4a49c73c33dd7b295