browser(firefox): dispatch console messages even if there are workers (#16068)
This commit is contained in:
Родитель
7d306bbc66
Коммит
d33455dcca
|
@ -1,2 +1,2 @@
|
|||
1337
|
||||
Changed: yurys@chromium.org Thu Jul 28 13:35:27 PDT 2022
|
||||
1338
|
||||
Changed: yurys@chromium.org Fri Jul 29 16:52:50 PDT 2022
|
||||
|
|
|
@ -123,7 +123,7 @@ class PageHandler {
|
|||
pageWorkerDestroyed: this._onWorkerDestroyed.bind(this),
|
||||
runtimeConsole: params => {
|
||||
const consoleMessageHash = hashConsoleMessage(params);
|
||||
for (const worker of this._workers) {
|
||||
for (const worker of this._workers.values()) {
|
||||
if (worker._workerConsoleMessages.has(consoleMessageHash)) {
|
||||
worker._workerConsoleMessages.delete(consoleMessageHash);
|
||||
return;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
1338
|
||||
Changed: lushnikov@chromium.org Fri 29 Jul 2022 05:20:32 AM PDT
|
||||
1339
|
||||
Changed: yurys@chromium.org Fri Jul 29 16:50:33 PDT 2022
|
||||
|
|
|
@ -123,7 +123,7 @@ class PageHandler {
|
|||
pageWorkerDestroyed: this._onWorkerDestroyed.bind(this),
|
||||
runtimeConsole: params => {
|
||||
const consoleMessageHash = hashConsoleMessage(params);
|
||||
for (const worker of this._workers) {
|
||||
for (const worker of this._workers.values()) {
|
||||
if (worker._workerConsoleMessages.has(consoleMessageHash)) {
|
||||
worker._workerConsoleMessages.delete(consoleMessageHash);
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче