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
@ -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…
x
Reference in New Issue
Block a user