mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15: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
|
@ -220,6 +220,7 @@ var rasterizeAnnotationLayer = (function rasterizeAnnotationLayerClosure() {
|
|||
linkService: new pdfjsViewer.SimpleLinkService(),
|
||||
imageResourcesPath,
|
||||
renderInteractiveForms,
|
||||
annotationStorage: new pdfjsLib.AnnotationStorage(),
|
||||
};
|
||||
pdfjsLib.AnnotationLayer.render(parameters);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue