replacing non-existent page content with empty one
This commit is contained in:
parent
cf00831a00
commit
982ea98c44
@ -196,6 +196,9 @@ var Page = (function PageClosure() {
|
||||
for (i = 0; i < n; ++i)
|
||||
content[i] = xref.fetchIfRef(content[i]);
|
||||
content = new StreamsSequenceStream(content);
|
||||
} else if (!content) {
|
||||
// replacing non-existent page content with empty one
|
||||
content = new Stream(new Uint8Array(0));
|
||||
}
|
||||
|
||||
var pe = this.pe = new PartialEvaluator(
|
||||
|
Loading…
Reference in New Issue
Block a user