Files
rust_browser/tests/js_modules.rs
Zachary D. Rowitsch 460cb75f2a Implement window.location and document.currentScript Web APIs
Add Location host object with URL component properties (href, protocol,
host, hostname, port, pathname, search, hash, origin) backed by the
document's base URL. Add document.currentScript support by threading
script element NodeIds through the extraction/scheduling/execution
pipeline so the currently executing <script> element is available to JS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 00:15:46 -04:00

14 KiB