зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1479935 - Enable async clipboard readText and writeText APIs by default, r=nika
MozReview-Commit-ID: LpdRgQCnMNN Differential Revision: https://phabricator.services.mozilla.com/D2858 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d20f605a33
Коммит
b502cdad85
|
@ -207,6 +207,8 @@ var interfaceNamesInGlobalScope =
|
|||
{name: "CharacterData", insecureContext: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ChromeNodeList", insecureContext: true, xbl: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "Clipboard"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "ClipboardEvent", insecureContext: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
|
|
@ -5895,8 +5895,9 @@ pref("browser.fastblock.enabled", false);
|
|||
// after this timeout will be canceled.
|
||||
pref("browser.fastblock.timeout", 5000);
|
||||
|
||||
// Disables clipboard reads and writes by default.
|
||||
pref("dom.events.asyncClipboard", false);
|
||||
// Enable clipboard readText() and writeText() by default
|
||||
pref("dom.events.asyncClipboard", true);
|
||||
// Disable clipboard read() and write() by default
|
||||
pref("dom.events.asyncClipboard.dataTransfer", false);
|
||||
// Should only be enabled in tests
|
||||
pref("dom.events.testing.asyncClipboard", false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче