Skip to content

Commit

Permalink
Bug 1393920 - Fix intermittent failure in test_chrome_ext_contentscri…
Browse files Browse the repository at this point in the history
…pt_telemetry.html r=mixedpuppy

Differential Revision: https://phabricator.services.mozilla.com/D131694
  • Loading branch information
Rob--W committed Nov 22, 2021
1 parent 8a6ceb0 commit c1024b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion toolkit/components/extensions/test/mochitest/chrome.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ tags = webextensions in-process-webextensions

[test_chrome_ext_contentscript_data_uri.html]
[test_chrome_ext_contentscript_telemetry.html]
skip-if = (os == 'linux' && bits == 64) #Bug 1393920
[test_chrome_ext_contentscript_unrecognizedprop_warning.html]
[test_chrome_ext_downloads_open.html]
[test_chrome_ext_downloads_saveAs.html]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
background,
};

let win = window.open("http://example.com/");
let tab = await AppTestDelegate.openNewForegroundTab(
window,
"http://example.com",
true
);

let extension = ExtensionTestUtils.loadExtension(extensionData);

Expand All @@ -59,7 +63,7 @@
ok(histogramSum > 0,
`Data recorded for first extension for histogram: ${HISTOGRAM}.`);

win.close();
await AppTestDelegate.removeTab(window, tab);
await extension.unload();
});
</script>
Expand Down

0 comments on commit c1024b7

Please sign in to comment.