diff --git a/test/driver.js b/test/driver.js index 15c6c5952..34b28b22a 100644 --- a/test/driver.js +++ b/test/driver.js @@ -624,6 +624,7 @@ class Driver { } const isOffscreenCanvasSupported = task.isOffscreenCanvasSupported === false ? false : undefined; + const disableFontFace = task.disableFontFace === true; const loadingTask = getDocument({ url: new URL(task.file, window.location), @@ -637,6 +638,7 @@ class Driver { enableXfa: task.enableXfa, isOffscreenCanvasSupported, styleElement: xfaStyleElement, + disableFontFace, }); let promise = loadingTask.promise; diff --git a/test/test_manifest.json b/test/test_manifest.json index 30dffed82..17dd176ed 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -11208,5 +11208,13 @@ "md5": "497370ab55cbb9c60bb0ea4b5d9e4d08", "rounds": 1, "type": "eq" + }, + { + "id": "tracemonkey-disableFontFace-eq", + "file": "pdfs/tracemonkey.pdf", + "md5": "9a192d8b1a7dc652a19835f6f08098bd", + "rounds": 1, + "disableFontFace": true, + "type": "eq" } ]