Closed guest271314 closed 4 years ago
Looks like the same root cause as #524. Thanks for reporting. I'm still trying to figure out what to do with this one.
I'm still trying to figure out what to do with this one.
One solution is to provide the means to disable the console feature entirely, as #524 requests.
The errors are piling up.
const parser = new WebMFileParser(url, function(data) {
console.log(data);
});
console.log(parser);
yields
previewer.73d846dc7be809aebf0c.js:1 Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Window': function(data) {
console.log(data);
} could not be cloned.
at sendMessage (https://cdn.plnkr.co/build/v1.0.0-222-g99f69ad/previewer.73d846dc7be809aebf0c.js:1:158386)
at t.sendMessage (https://cdn.plnkr.co/build/v1.0.0-222-g99f69ad/previewer.73d846dc7be809aebf0c.js:1:70702)
at t.value (https://cdn.plnkr.co/build/v1.0.0-222-g99f69ad/previewer.73d846dc7be809aebf0c.js:1:71333)
at Object.n.<computed> [as onConsole] (https://cdn.plnkr.co/build/v1.0.0-222-g99f69ad/previewer.73d846dc7be809aebf0c.js:1:71636)
at https://cdn.plnkr.co/build/v1.0.0-222-g99f69ad/previewer.73d846dc7be809aebf0c.js:1:158085
Why is the code attempting to transfer objects that are not transferable?
@guest271314 I've temporarily disabled the console. Can you verify that this has fixed the issues you're seeing?
@ggoodman Yes.
Describe the bug Multiple errors thrown when using
MediaStream
,MediaRecorder
andondataavailable
BlobEvent
To Reproduce Steps to reproduce the behavior:
Pass a live
MediaStream
toMediaRecorder
, attachondataavailable
event and handler toMediaRecorder
, executeMediaRecorder.start()
, record the stream for several seconds then executeMediaRecorder.stop()
.Errors / logs in developer tools
Expected behavior No errors to be thrown for a console feature that is not being used.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Appears to be related to the new console feature as evidenced by the logs at
[as onConsole]
trying to clone objects that cannot be cloned?It would be useful if the console feature could be disabled, as it is impacting the code being run, even when not being opened or used in the plnkr editor preview page.