mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
7673a39878
GeneratedContentNode didn't track concurrent updates at all, so a race condition was possible: if the node was updated a second time before the first update had been rendered, the second update might render first and then be overwritten by the other one. To prevent this, we track the promise associated with the current render. If a new update is launched while a previous one is still pending we attempt to abort the old one by calling .abort() on it, and ignore any future resolution or rejection from it. Also allow rerenders based on non-model data by calling .update( { config object } ); Change-Id: I8feefd9e8fb6c41d06b8b20131e3be5e37954e83 |
||
---|---|---|
.. | ||
ve.dm.AlienNode.js | ||
ve.dm.BreakNode.js | ||
ve.dm.CenterNode.js | ||
ve.dm.DefinitionListItemNode.js | ||
ve.dm.DefinitionListNode.js | ||
ve.dm.DivNode.js | ||
ve.dm.DocumentNode.js | ||
ve.dm.GeneratedContentNode.js | ||
ve.dm.HeadingNode.js | ||
ve.dm.ImageNode.js | ||
ve.dm.InternalItemNode.js | ||
ve.dm.InternalListNode.js | ||
ve.dm.ListItemNode.js | ||
ve.dm.ListNode.js | ||
ve.dm.ParagraphNode.js | ||
ve.dm.PreformattedNode.js | ||
ve.dm.TableCaptionNode.js | ||
ve.dm.TableCellNode.js | ||
ve.dm.TableNode.js | ||
ve.dm.TableRowNode.js | ||
ve.dm.TableSectionNode.js | ||
ve.dm.TextNode.js |