summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/tabs/browser_long_data_url_label_truncation.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/tabs/browser_long_data_url_label_truncation.js')
-rw-r--r--browser/base/content/test/tabs/browser_long_data_url_label_truncation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/base/content/test/tabs/browser_long_data_url_label_truncation.js b/browser/base/content/test/tabs/browser_long_data_url_label_truncation.js
index db0571a2c0..89952b6c4d 100644
--- a/browser/base/content/test/tabs/browser_long_data_url_label_truncation.js
+++ b/browser/base/content/test/tabs/browser_long_data_url_label_truncation.js
@@ -33,7 +33,7 @@ add_task(async function test_ensure_truncation() {
let fileReader = new FileReader();
const DATA_URL = await new Promise(resolve => {
- fileReader.addEventListener("load", e => resolve(fileReader.result));
+ fileReader.addEventListener("load", () => resolve(fileReader.result));
fileReader.readAsDataURL(new Blob([MOBY], { type: "text/html" }));
});
// Substring the full URL to avoid log clutter because Assert will print