Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Shared Webworker doesnt want to be shared.

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 17 wyświetleń
  • Ostatnia odpowiedź od 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

Wszystkie odpowiedzi (2)

more options

Here is what I see when debugging

more options