Backed out 3 changesets (bug 1644658, bug 1574487, bug 1644656) for causing mochitest failures on browser_staticPartition_saveAs.js CLOSED TREE

Backed out changeset ccd076f67748 (bug 1574487)
Backed out changeset 2235323f0cf9 (bug 1644656)
Backed out changeset 7fe2c7526246 (bug 1644658)
This commit is contained in:
Norisz Fay
2022-10-25 02:22:37 +03:00
parent b93f350932
commit aef5919fa4
9 changed files with 94 additions and 70 deletions

View File

@@ -94,7 +94,7 @@ async function testWindowSizePositive(width, height) {
let reader = new FileReader();
reader.onloadend = function() {
let screenshot = new Image();
screenshot.onload = function() {
screenshot.onloadend = function() {
is(
screenshot.width,
width,
@@ -131,7 +131,7 @@ async function testGreen(url, path) {
let reader = new FileReader();
reader.onloadend = function() {
let screenshot = new Image();
screenshot.onload = function() {
screenshot.onloadend = function() {
resolve(screenshot);
};
screenshot.src = reader.result;