Bug 1589361 - Wrong use of ConsoleStructuredCloneData in Console on workers, r=smaug
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 17 Oct 2019 13:28:00 +0000
changeset 559349 ae97896004707ce6cdcba5827056e620247fee9b
parent 559348 821fdad0dbb2eac515637141a872ff6870108f3c
child 559350 add4a5be7b9311965496e8b79bc26ac096083e98
push id12177
push usercsabou@mozilla.com
push dateMon, 21 Oct 2019 14:52:16 +0000
treeherdermozilla-beta@1918a9cd33bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1589361
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1589361 - Wrong use of ConsoleStructuredCloneData in Console on workers, r=smaug Differential Revision: https://phabricator.services.mozilla.com/D49598
dom/console/Console.cpp
--- a/dom/console/Console.cpp
+++ b/dom/console/Console.cpp
@@ -708,18 +708,16 @@ class ConsoleWorkerRunnable : public Wor
 
   // This method is called in the owning thread of the Console object.
   virtual void ReleaseData() = 0;
 
   bool ForMessaging() const override { return true; }
 
   // This must be released on the worker thread.
   RefPtr<Console> mConsole;
-
-  ConsoleStructuredCloneData mClonedData;
 };
 
 // This runnable appends a CallData object into the Console queue running on
 // the main-thread.
 class ConsoleCallDataWorkerRunnable final : public ConsoleWorkerRunnable {
  public:
   ConsoleCallDataWorkerRunnable(Console* aConsole, ConsoleCallData* aCallData)
       : ConsoleWorkerRunnable(aConsole), mCallData(aCallData) {