Add alternative to padStart for test in Fx45

This commit is contained in:
Dan Stillman 2017-06-01 16:44:11 -04:00
parent 53842adefc
commit 898a1dc679

View file

@ -1037,7 +1037,12 @@ describe("Zotero.Sync.Runner", function () {
win = yield loadZoteroPane();
var doc = win.document;
if (Zotero.platformMajorVersion >= 48) {
var text = "".padStart(256, "a");
}
else {
var text = Array(256).fill("a").join("");
}
var item = yield createDataObject('item', { itemType: 'note', note: text });
setResponse('keyInfo.fullAccess');