Specifying global object (globalThis)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, ruby
- Ambito
- backend
Direzione di ricerca
Read the issue discussion and the MiniRacer context around how JavaScript environments are created. The request is to specify a global object so browser-style names such as location and document are available; determine the intended API and how completion should be verified with a test. The issue has had no comment for years, so check whether the work is still wanted before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm trying to create an environment for scripts that expect to be run in browsers. I can define window, but that doesn't help when the JS is looking at location or document or any other number of things. I presume things like that work because window is the global object, and they're defined there (window.location, window.document, etc.)
Is there a way to specify the global object?
- Lingua principale
- JavaScript
- Stelle
- 628
- Fork
- 100
- Merge medio
- 1g 20h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rubyjs/mini_racer
-
bug/crash platform: linux/x86
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
rubyjs/mini_racer#422 · 10 commenti ·
-
platform: darwin/x86
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
rubyjs/mini_racer#388 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
rubyjs/mini_racer#376 ·
-
Load script as moduleAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
rubyjs/mini_racer#353 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
rubyjs/mini_racer#346 · 6 commenti · 1 reazione ·
Tutte le issue di rubyjs/mini_racer
Issue simili
-
[Feature]: 建议导入源后,自动切换到新导入的源Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
lyswhut/lx-music-desktop#3026 ·
-
good first issue server
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
openstreetmap/iD#13054 ·
I maintainer di solito rispondono entro 1 giorno
-
community marketing priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TMHSDigital/Free-Game-Dev-Assets#151 ·
I maintainer di solito rispondono entro 1 giorno
-
Read a vector index's quantization back on Neo4j 2026.10, which reports vector.quantization.typeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
liberation-data/drivine#231 ·
I maintainer di solito rispondono entro 1 giorno