DataCloneError: Failed to execute 'postMessage' on 'Worker'
See original GitHub issueAttach (recommended) or Link to PDF file here:
Configuration:
- Web browser and its version: Electron 2.0.3
- Operating system and its version: Windows 10
- PDF.js version: 2.0.489
- Is a browser extension: no
Steps to reproduce the problem: Create Ellectron app with angular 6 + pdfjs
What is the expected behavior? (add screenshot) PDF gets displayed
What went wrong? (add screenshot)
ERROR Error: Uncaught (in promise): DataCloneError: Failed to execute 'postMessage' on 'Worker': TypeError: https.request is not a function could not be cloned.
Error: Failed to execute 'postMessage' on 'Worker': TypeError: https.request is not a function could not be cloned.
In Google Chrome everything works fine.
VadimDez/ng2-pdf-viewer#326
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Failed to execute 'postMessage' on 'Window': An object ...
It turns out the object I passed had methods, which is why the error message said An object could not be cloned ....
Read more >Failed to execute 'postMessage' on 'Worker : r/reactjs
Web-worker issue: Uncaught DOMException: Failed to execute 'postMessage' on 'Worker. Hi,. I have a barchart made with chartjs in a React app ...
Read more >postMessage throws DataCloneError: The object could not ...
Actual results: An error is returned : DataCloneError: The object could not be cloned. Expected results: The object should have been transferred without...
Read more >DOMException: Failed to execute 'postMessage' on 'Window'
When using `Editable boards for not registered users`, when I click on “Create Board”, I am getting an alert message saying “miro.com says ......
Read more ><Promise> could not be cloned. | Velo by ...
Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': #<Promise> could not be cloned. Hello i am trying to generate a csv file ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@giridharkannan I have same issue but I don’t know how to move Http report to both PDFNodeStreamFullReader and PDFNodeStreamRangeReader.
@Farbod29 If it’s not a overkill, please do share your code snippet to my mail id. And the code snippet that I gave is not be added on pdf.js’s code base, rather on your code.