Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Shared Webworker doesnt want to be shared.

  • 2 отговора
  • 1 има този проблем
  • 4 изгледи
  • Последен отговор от cor-el

more options

I got a problem, having my Shared Worker ([0]) shared between my tabs with the same origin. I have reproduced the problem with the example ([1]) given in the API documentation. In [2] I can see a Shared Worker opening for each new tab. Trying the same with Google Chrome, only one Shared Worker is started ([3]).

[0] https://developer.mozilla.org/en/docs/Web/API/SharedWorker [1] http://mdn.github.io/simple-shared-worker/ [2] about:debugging#workers [3] chrome://inspect/#workers

I got a problem, having my Shared Worker ([0]) shared between my tabs with the same origin. I have reproduced the problem with the example ([1]) given in the API documentation. In [2] I can see a Shared Worker opening for each new tab. Trying the same with Google Chrome, only one Shared Worker is started ([3]). [0] https://developer.mozilla.org/en/docs/Web/API/SharedWorker [1] http://mdn.github.io/simple-shared-worker/ [2] about:debugging#workers [3] chrome://inspect/#workers

Всички отговори (2)

more options

Here is what I see when debugging

more options