Files
react-native-devtools-frontend/front_end
Patrick Brosset 8e5cecab9e Guard against null event.data from worker in the script formatter
The FormatterWorkerPool._onWorkerMessage method can call its current
task's callback with null as its parameter.
This happen when the formatter work doesn't send event data back.

When this happens, it creates exceptions in the ScriptFormatter class.
So, this change simply guards against this.

Bug: 1132284
Change-Id: I9a995a2b81b5e211ae1690caad7bf56a4772c354
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2431404
Reviewed-by: Jose Leal <joselea@microsoft.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Patrick Brosset <patrick.brosset@microsoft.com>
2020-10-01 13:10:14 +00:00
..
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-10-01 09:25:04 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-10-01 10:56:06 +00:00
2020-09-08 15:44:09 +00:00
2020-10-01 11:22:09 +00:00
2020-09-30 07:32:47 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-04-14 05:35:23 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-09-29 10:52:39 +00:00
2020-09-08 15:44:09 +00:00
2020-04-14 05:35:23 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-09-09 11:41:39 +00:00
2020-09-08 15:44:09 +00:00
2020-10-01 00:00:57 +00:00
2020-09-25 05:33:26 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-09-08 15:44:09 +00:00
2020-09-08 15:44:09 +00:00
2020-09-30 13:40:38 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-09-09 11:41:39 +00:00
2020-09-08 15:44:09 +00:00
2020-09-29 10:52:39 +00:00
2020-03-18 12:19:29 +00:00