https://bugzilla.wikimedia.org/show_bug.cgi?id=56649
Web browser: ---
Bug ID: 56649
Summary: VisualEditor: Exception when undoing foreign image
insertion
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentEditable
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
1. Insert an image from Commons
2. Press Ctrl+Z quickly
When you undo the image insertion, there's still an API request pending. When
it comes back, ve.ce.GeneratedContentNode.prototype.doneGenerating crashes
because the node is now detached.
GCNode should protect against being detached, and should abort any pending
requests when it's detached (the latter alone is not enough: GCNode promises
aren't guaranteed to be abortable).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l