GoogleCloudPlatform / GoogleCloudPlatform/stackdriver-errors-js

Support for web environments with limited 'window' object i.e: chrome extension service workers API

Aperta
#124 3 commenti 0 reazioni 1 assegnatario Rivendicata da @daniel-sanche Vedi su GitHub
Lingua principale
JavaScript
Stelle
360
Fork
54
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi! I am using this great library in a chrome extension project which is going to support the chrome extension api manifest V3 soon as google is kinda enforcing it on all extension developers.
One of the main changes there is that instead of the current background service which runs in the background constantly and has access to the browser's `window` object, it is being replaced by a service worker API which has a limited window object (kinda like the `window` object but with less capabilities).
I think it would be great to think of other use cases in which you might consider limiting or somehow changing the use of `window` object.

Btw: I think that I might have a way to make it work and even kinda make it somewhat generic so it won't affect anyone who wants to use it as it is now.

Let me know if you would like me to open a PR with my idea 😀
Thanks!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.