Bug 1440321 - Follow up linting fix in Memory tool tests. r=me

MozReview-Commit-ID: Jr8Mic4whwl
This commit is contained in:
J. Ryan Stinnett 2018-03-12 19:53:43 -05:00
Родитель de5b0bf154
Коммит 2434b5b7b1
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -11,7 +11,7 @@ const D3_SCRIPT = '<script type="application/javascript" ' +
'src="chrome://devtools/content/shared/vendor/d3.js>'; 'src="chrome://devtools/content/shared/vendor/d3.js>';
const TEST_URL = `data:text/html,<html><body>${D3_SCRIPT}</body></html>`; const TEST_URL = `data:text/html,<html><body>${D3_SCRIPT}</body></html>`;
this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { this.test = makeMemoryTest(TEST_URL, async function({ tab, panel }) {
const document = panel.panelWin.document; const document = panel.panelWin.document;
const window = panel.panelWin; const window = panel.panelWin;
const div = document.createElement("div"); const div = document.createElement("div");

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

@ -14,7 +14,7 @@ const PIXEL_SCROLL_MODE = 0;
const PIXEL_DELTA = 10; const PIXEL_DELTA = 10;
const MAX_RAF_LOOP = 1000; const MAX_RAF_LOOP = 1000;
this.test = makeMemoryTest(TEST_URL, async function ({ tab, panel }) { this.test = makeMemoryTest(TEST_URL, async function({ tab, panel }) {
const panelWin = panel.panelWin; const panelWin = panel.panelWin;
const panelDoc = panelWin.document; const panelDoc = panelWin.document;
const div = panelDoc.createElement("div"); const div = panelDoc.createElement("div");