Bug 1636855 - Enable `editor.truncate_user_pastes` even in Nightly channel r=emilio

Mozilla consider that we should protect even Nightly testers from the behavior
change of bug 1320229.

And I forgot to modify the new mochitest for bug 1635224 which is a regression
of bug1320229.

Differential Revision: https://phabricator.services.mozilla.com/D78841
This commit is contained in:
Masayuki Nakano 2020-06-09 08:47:31 +00:00
Родитель 0ce303cbe3
Коммит 8954e9663b
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -34,7 +34,8 @@
const str = "aaaaa";
function afterLoad() {
SimpleTest.waitForFocus(function () {
SimpleTest.waitForFocus(async function () {
await SpecialPowers.pushPrefEnv({"set": [["editor.truncate_user_pastes", false]]});
var iframeDoc = $("test-frame").contentDocument;
var src = iframeDoc.getElementById("src");

Просмотреть файл

@ -3305,7 +3305,7 @@
# Whether user pastes should be truncated.
- name: editor.truncate_user_pastes
type: bool
value: @IS_NOT_EARLY_BETA_OR_EARLIER@
value: true
mirror: always
# How line breakers are treated in single line editor: