mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1842573 - Remove the unused eventBusDispatchToDOM
preference from various tests. r=pdfjs-reviewers,perftest-reviewers,marco,sparky
This preference was removed over three years ago, please see the upstream patch in https://github.com/mozilla/pdf.js/pull/11655 Differential Revision: https://phabricator.services.mozilla.com/D183153
This commit is contained in:
parent
e5eebb2202
commit
0216b121fc
@ -6,9 +6,6 @@ const TEST_PATH = getRootDirectory(gTestPath).replace(
|
||||
);
|
||||
|
||||
add_task(async function () {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["pdfjs.eventBusDispatchToDOM", true]],
|
||||
});
|
||||
await BrowserTestUtils.withNewTab(
|
||||
TEST_PATH + "file_pdfjs_not_subject_to_csp.html",
|
||||
async function (browser) {
|
||||
|
@ -3446,7 +3446,6 @@ For the sample commands found below, note that the capitalization used is import
|
||||
* reporting: time from *performance.timing.navigationStart* to *pagerendered* event in ms (lower is better)
|
||||
* data: load a PDF 20 times
|
||||
* pdfpaint: True
|
||||
* preferences: {'pdfjs.eventBusDispatchToDOM': True}
|
||||
* timeout: 600
|
||||
* tpmanifest: ${talos}/tests/pdfpaint/pdfpaint.manifest
|
||||
* tppagecycles: 20
|
||||
|
@ -422,7 +422,6 @@ class pdfpaint(PageloaderTest):
|
||||
timeout = 600
|
||||
pdfpaint = True
|
||||
unit = "ms"
|
||||
preferences = {"pdfjs.eventBusDispatchToDOM": True}
|
||||
|
||||
|
||||
@register_test()
|
||||
|
@ -19,12 +19,6 @@ class PrintHelper {
|
||||
info("withTestPage: " + pageUrl);
|
||||
let isPdf = pageUrl.endsWith(".pdf");
|
||||
|
||||
if (isPdf) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["pdfjs.eventBusDispatchToDOM", true]],
|
||||
});
|
||||
}
|
||||
|
||||
let taskReturn = await BrowserTestUtils.withNewTab(
|
||||
isPdf ? "about:blank" : pageUrl,
|
||||
async function (browser) {
|
||||
|
@ -35,9 +35,6 @@ function waitForAcceptButtonToGetEnabled(doc) {
|
||||
}
|
||||
|
||||
async function waitForPdfJS(browser, url) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["pdfjs.eventBusDispatchToDOM", true]],
|
||||
});
|
||||
// Runs tests after all "load" event handlers have fired off
|
||||
let loadPromise = BrowserTestUtils.waitForContentEvent(
|
||||
browser,
|
||||
|
Loading…
Reference in New Issue
Block a user