mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
fix reftests after #12107
The f1040-annotations reftest started hanging after #12107. We traced this to `TypeError: can't access property "getOrCreateValue", storage is undefined`. We essentially need to add `annotationStorage` to the parameters in test/driver.js.
This commit is contained in:
parent
eb4d6a0652
commit
7bb65bab7f
2 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,7 @@ import {
|
|||
VerbosityLevel,
|
||||
} from "./shared/util.js";
|
||||
import { AnnotationLayer } from "./display/annotation_layer.js";
|
||||
import { AnnotationStorage } from "./display/annotation_storage.js";
|
||||
import { apiCompatibilityParams } from "./display/api_compatibility.js";
|
||||
import { GlobalWorkerOptions } from "./display/worker_options.js";
|
||||
import { renderTextLayer } from "./display/text_layer.js";
|
||||
|
@ -156,6 +157,8 @@ export {
|
|||
VerbosityLevel,
|
||||
// From "./display/annotation_layer.js":
|
||||
AnnotationLayer,
|
||||
// From "./display/annotation_storage.js":
|
||||
AnnotationStorage,
|
||||
// From "./display/api_compatibility.js":
|
||||
apiCompatibilityParams,
|
||||
// From "./display/worker_options.js":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue