Make JSWindowActor structured cloning fails error message more clear
Categories
(Core :: DOM: Content Processes, task, P3)
Tracking
()
People
(Reporter: jdai, Unassigned)
Details
+++ This bug was initially created as a clone of Bug 1613932 comment 12 +++
The error is suppressed inside GetParamsForMessage at https://searchfox.org/mozilla-central/rev/0439db3a39faddb90197a87cc184c57dcbf0a770/dom/base/nsFrameMessageManager.cpp#395 and the resulting warning misses useful information. Though even the original exception doesn't seem to have e.g. a path into the object it was passed indicating which property was unserializable. (so if I pass {foo: { bar: {docShell}}} as the data param to sendAsyncMessage, I'd like to be told something like data.foo.bar is of type nsIDocShell and is not serializable).
Edit: and, ideally, on infra that should just throw, not paper over it by using JSON serialization instead.
Comment 1•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jld, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•3 years ago
|
Description
•