Twitter crashes while typing Korean (likely due to a DraftJS bug)
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | affected |
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod, webcompat:site-wait)
Attachments
(2 files)
- Access twitter.com
- Type "가" and press enter key.
- Tap Control+Shift+Home to select all texts including newline.
- Type "가" again and press space key.
Expected: "가"
Actual: Twitter crashes - "Something went wrong, but don’t fret — it’s not your fault."
This also causes a bug on Chrome but it doesn't crash. I guess we need to contact Twitter.
Comment 1•3 years ago
|
||
Twitter crashes or some child process of Firefox crashes?
(I don't know what "Twitter crashes" means :) )
Maybe this is a tech evangelism bug?
Reporter | ||
Comment 2•3 years ago
•
|
||
It's Twitter that crashes, not the Firefox tab itself. Seemingly an exception occurs from a mutation observer callback.
exports (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
registerMutation (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
registerMutations (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
e (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
e (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
onCompositionStart (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
onCompositionStart (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
_buildHandler (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#1)
ta (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
unstable_runWithPriority (https://abs.twimg.com/responsive-web/web/main.82ef4e44.js#10)
ta (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
unstable_flushControlled (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
_buildHandler (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#1)
exports (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#9)
_buildHandler (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#1)
ta (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
unstable_runWithPriority (https://abs.twimg.com/responsive-web/web/main.82ef4e44.js#10)
ta (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
unstable_flushControlled (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
_buildHandler (https://abs.twimg.com/responsive-web/web/bundle.RichTextCompose.3bbd68a4.js#1)
a (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
p (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
O (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
O (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
C (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
P (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
R (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
kn (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
Ia (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
ze (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
Cn (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
En (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
pr (https://abs.twimg.com/responsive-web/web/vendors~main.e0482f54.js#65)
Reporter | ||
Updated•3 years ago
|
Comment 4•3 years ago
•
|
||
Non-ascii text + selection reminds me of Bug 1625475... I'll email Twitter today.
Comment 5•3 years ago
|
||
Here's a screenshot of what this looks like. Note: I had to install the Korean IME to get this to reproduce, it's not enough to merely copy and paste the chars.
Comment 6•3 years ago
|
||
I sent an email to our mozilla-twitter mailing list.
Comment 7•3 years ago
|
||
Can you test on https://draftjs.org/ ? Look for any errors in the console. We generally just use that as our editor without too many frills on top, so any issues are likely with that editor itself. We're a minor version behind, so it's possible upgrading might help.
Comment 8•3 years ago
|
||
OK, yeah. I think Twitter is off the hook, this manages to nuke the entire DraftJS page. :)
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Comment 10•1 year ago
|
||
Masayuki, is this another variant of bug 1739489?
Updated•1 year ago
|
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #10)
Masayuki, is this another variant of bug 1739489?
Could be, but not directly same thing since Windows does not use the new path for inputting commit string without composition events.
Reporter | ||
Comment 13•1 year ago
|
||
Yes, but it does not crash anymore but instead cleans all the text away unexpectedly.
Description
•