Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen 99e4c1d99c Bug 1755863 - Part 3-2: Use async nsClipboard API to implement clipboard.read(); r=NeilDeakin,nika
Async clipboard API used to have same capability as DataTransfer for clipobard
read operation. But after this patch, we intent to use the nsIClipboard service
directly in async clipboard, which also includes some changes on mime types support
for read operation. Now async clipboard read supports only built-in types, i.e.
text/plain, text/html and image/png. This also align with other browsers.

Depends on D150164

Differential Revision: https://phabricator.services.mozilla.com/D145379
2022-08-15 20:27:27 +00:00
Edgar Chen 122eb1bdf1 Bug 1755863 - Part 3-1: Make ItemEntry a reference counted object; r=nika
In D145379, ItemEntry will be used in lambda capture, it is much safer to make
it a reference counted object to ensue the captured object lives long enough.

Depends on D152516

Differential Revision: https://phabricator.services.mozilla.com/D150164
2022-08-15 20:27:26 +00:00
Tom Schuster 0f69816f22 Bug 1688279 - Support strings as data in ClipboardItem r=nika
Differential Revision: https://phabricator.services.mozilla.com/D102791
2021-01-29 22:33:55 +00:00
Tom Schuster b73057479f Bug 1619947 - Implement ClipboardItem skeleton code r=nika
Differential Revision: https://phabricator.services.mozilla.com/D97854
2021-01-24 12:35:46 +00:00