Bind Location access checks and borrowed methods to the owning LocalWindow origin, including domain changes and retained popup objects. Refresh Location on every popup document commit and keep native URL synchronization independent of checked public getters.
Cover nested origin layouts, child-owned popups, and navigation lifetimes. Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (20,091 passed, 16 skipped). Navigation and Location WPT comparisons show no regressions across 192 cases.
Use native Window receiver and same-origin checks before reading protected
attributes, replacing properties, converting strings, or creating storage
and Trusted Types objects. Share event and viewport getter callbacks across
runtime and template bindings. Materialize caches in the receiver realm and
stop name mutations when string conversion throws.
Cover cross-realm exception constructors, author Proxies and forged
receivers, replaceable attributes, and nested current-event restoration.
Keep each live window's Location identity while rechecking protected access and cached members against Window origin policy. Use native receiver brands and caller-realm cross-origin descriptors while preserving href and replace navigation.
Cover both document.domain transition directions, cross-origin reflection and native Proxy identity. Record five newly passing WPT pages.
Validation: cargo fmt, strict workspace clippy, and full nextest (19,506 passed; 13 skipped). Related WPT: 48/50 passed, with the remaining failure and timeout unchanged from baseline.
Move getter/setter name formatting into the derive macro and reuse the
getter name suffix as the property key, avoiding a third stored name.
Keep shared installation and V8 callback mappings. Cover static names
and Unicode property keys in the existing tests.
Extend metadata installation to consecutive statically named accessors
without callback data. Preserve run boundaries, receiver checks and
getter/setter names and lengths, with native callback mappings resolved
during installation. Cover mixed method/accessor order and generic getters.
This step passes focused WebIDL clippy and 98 binding/derive tests.
Validation on the unchanged final source tree: cargo fmt --all;
cargo clippy --workspace --all-targets --all-features -- -D warnings;
cargo nextest run --no-fail-fast (20,505 passed, 18 existing skips).
Batch consecutive statically named template methods without callback data
through constant metadata and a shared installer. Resolve native callback
mappings during installation, preserving aliases, ordering, descriptors
and the original JavaScript callback path.
Keep generic callback data, nested entries, return values and exception
identity covered by the binding regression tests.
This step passes focused WebIDL clippy and 98 binding/derive tests.
Validation on the unchanged final source tree: cargo fmt --all;
cargo clippy --workspace --all-targets --all-features -- -D warnings;
cargo nextest run --no-fail-fast (20,505 passed, 18 existing skips).
Share object method and accessor construction through a concrete runtime helper.
Preserve callback data, receiver checks and installation order while using
V8's original per-callback adaptation.
This step passes focused WebIDL clippy and 96 binding/derive tests.
Validation on the unchanged final source tree: cargo fmt --all;
cargo clippy --workspace --all-targets --all-features -- -D warnings;
cargo nextest run --no-fail-fast (20,505 passed, 18 existing skips).
Add declarative V8 receiver access checks and Window brand validation. Authorize SameObject getters before cache reads, preserve captured objects for retired Realms, and materialize child proxies for the actual accessing context with isolated facade tokens.
Generate stateless method and accessor tables with receiver checks and native
value callbacks. Cache FunctionTemplates per isolate and use V8's per-context
function instances, without retaining target Windows or observer realms.
Cover function identity, realm prototypes, descriptors, receiver validation,
exception and termination propagation, and context collection.