10.1.9.2rc3 message handling race condition

Bug reports and enhancement requests
Post Reply
skriptimaahinen
Senior Member
Posts: 144
Joined: Wed Jan 10, 2018 7:37 am

10.1.9.2rc3 message handling race condition

Post by skriptimaahinen » Thu Sep 06, 2018 1:03 am

content.js:

Code: Select all

if (!childPolicy) {
  debug(`No answer to fetchChildPolicy message. Still initializing?`);
  setTimeout(notifyPage, 300);
  return;
}
That's just going to cause a loop. The real problem is that Message.js:dispatch still does not prevent wrong onMessage listener from answering first.

I still think my previous suggestion (https://forums.informaction.com/viewtop ... 125#p98358) is the right way to go.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Post Reply