mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Adds Streams API support for networking task of PDF.js project.
network.js file moved to main thread and `PDFNetworkStream` implemented at worker thread, that is used to ask for data whenever worker needs.
This commit is contained in:
parent
bd8c12119a
commit
109106794d
9 changed files with 481 additions and 238 deletions
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { PDFNetworkStream } from '../../src/core/network';
|
||||
import { PDFNetworkStream } from '../../src/display/network';
|
||||
|
||||
describe('network', function() {
|
||||
var pdf1 = new URL('../pdfs/tracemonkey.pdf', window.location).href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue