Bug 1756164: part 2) Document the order of the external clipboard formats and remove...
commit35b7a1cfc408efc40f494a78ac1a585b7d5bbddb
authorMirko Brodesser <mbrodesser@mozilla.com>
Thu, 24 Feb 2022 10:29:25 +0000 (24 10:29 +0000)
committerMirko Brodesser <mbrodesser@mozilla.com>
Thu, 24 Feb 2022 10:29:25 +0000 (24 10:29 +0000)
tree12308e21b4f7ab1bc70e6b003bbb2a9704c462f5
parent36caf98c21e9ec6d5603fd73f6e8268375e4985b
Bug 1756164: part 2) Document the order of the external clipboard formats and remove code redundancy. r=mccr8

Helps to reason about the code and prevents future bugs.

Differential Revision: https://phabricator.services.mozilla.com/D139114
dom/events/DataTransfer.cpp