+27
−0
+3
−0
Loading
Native clipboard writes can spin a nested event loop or pump the native message queue. A clipboard write dispatched during that period re-enters the platform's backend and mutates state the suspended commit is still using. This exposed a case where the clipboard cache gets out-of-sync due to re-entrant SetData. The older write would win the cache but the native clipboard holds the newer write's contents. Re-entrant requests are now rejected (neither interleaved nor queued). Original Revision: https://phabricator.services.mozilla.com/D326255 Differential Revision: https://phabricator.services.mozilla.com/D328681