mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Update the postMessageTransfers
comment in createDocumentHandler
in the src/core/worker.js
file
Since the old comment mentions a now unsupported browser, let's update it such that someone won't accidentally conclude that the code in question can be removed.
This commit is contained in:
parent
871bf5c68b
commit
2fdaa3d54c
1 changed files with 2 additions and 2 deletions
|
@ -390,8 +390,8 @@ var WorkerMessageHandler = {
|
|||
var workerHandlerName = docParams.docId + '_worker';
|
||||
var handler = new MessageHandler(workerHandlerName, docId, port);
|
||||
|
||||
// Ensure that postMessage transfers are correctly enabled/disabled,
|
||||
// to prevent "DataCloneError" in older versions of IE (see issue 6957).
|
||||
// Ensure that postMessage transfers are always correctly enabled/disabled,
|
||||
// to prevent "DataCloneError" in browsers without transfers support.
|
||||
handler.postMessageTransfers = docParams.postMessageTransfers;
|
||||
|
||||
function ensureNotTerminated() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue