forked from mirrors/gecko-dev
Bug 1561435 - Fix linting errors for image/, r=standard8
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D35907 --HG-- extra : source : 4afb2077349b1340b37a41ad90f885d28db2bc34 extra : intermediate-source : 84fc068f13a4e4442d39e7c04e5c8c534b3aaf73
This commit is contained in:
parent
06e7696b74
commit
2ecd1b8386
3 changed files with 4 additions and 0 deletions
|
|
@ -1064,6 +1064,7 @@ function makeDataURL(encoder, mimetype) {
|
||||||
|
|
||||||
/* Convert data (an array of integers) to a Base64 string. */
|
/* Convert data (an array of integers) to a Base64 string. */
|
||||||
const toBase64Table =
|
const toBase64Table =
|
||||||
|
// eslint-disable-next-line no-useless-concat
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789+/";
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789+/";
|
||||||
const base64Pad = "=";
|
const base64Pad = "=";
|
||||||
function toBase64(data) {
|
function toBase64(data) {
|
||||||
|
|
|
||||||
|
|
@ -350,6 +350,7 @@ function makeDataURLFromAsync(encoder, mimetype, expected) {
|
||||||
|
|
||||||
/* Convert data (an array of integers) to a Base64 string. */
|
/* Convert data (an array of integers) to a Base64 string. */
|
||||||
const toBase64Table =
|
const toBase64Table =
|
||||||
|
// eslint-disable-next-line no-useless-concat
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789+/";
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789+/";
|
||||||
const base64Pad = "=";
|
const base64Pad = "=";
|
||||||
function toBase64(data) {
|
function toBase64(data) {
|
||||||
|
|
|
||||||
|
|
@ -367,6 +367,7 @@ function run_test() {
|
||||||
/* ========== 12 ========== */
|
/* ========== 12 ========== */
|
||||||
testnum++;
|
testnum++;
|
||||||
testdesc =
|
testdesc =
|
||||||
|
// eslint-disable-next-line no-useless-concat
|
||||||
"test encoding a scaled ICO with format options " + "(format=bmp;bpp=32)";
|
"test encoding a scaled ICO with format options " + "(format=bmp;bpp=32)";
|
||||||
|
|
||||||
// we'll reuse the container from the previous test
|
// we'll reuse the container from the previous test
|
||||||
|
|
@ -416,6 +417,7 @@ function run_test() {
|
||||||
/* ========== 14 ========== */
|
/* ========== 14 ========== */
|
||||||
testnum++;
|
testnum++;
|
||||||
testdesc =
|
testdesc =
|
||||||
|
// eslint-disable-next-line no-useless-concat
|
||||||
"test encoding a scaled ICO with format options " + "(format=bmp;bpp=24)";
|
"test encoding a scaled ICO with format options " + "(format=bmp;bpp=24)";
|
||||||
|
|
||||||
// we'll reuse the container from the previous test
|
// we'll reuse the container from the previous test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue