Repository navigation
Conversation
added 13 commits
October 1, 2026 06:42
…orced-polyfill Chromium run - tests.yml: Node 24.5, actions v4, install Playwright browsers, drop the Saucelabs job - scoped-custom-element-registry: test:forced runs the tests in Chromium with the polyfill forced (FORCE_POLYFILL), and npm test depends on it - test/wtr.firefox.config.js: run the tests locally in a Firefox-engine browser without native support
A rewrite. Start with the "How it works" overview at the top of src/scoped-custom-element-registry.ts, then read the file rather than the line diff.
behavior.test.js and parsing.test.html(.js) are new; tests of polyfill-only behavior, and of spec behavior Chromium gets wrong, use itWithPolyfill so the suite also runs against native implementations.
sorvell
force-pushed
the
scoped-registry-cross-realm
branch
from
October 6, 2026 14:14
df13638 to
1fdb795
Compare
added 10 commits
October 7, 2026 07:12
sorvell
force-pushed
the
scoped-registry-cross-realm
branch
from
October 7, 2026 15:36
cb4afb9 to
44bd74b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds WPT tests and fixes corner case related cross realm issues.
npm testalso runs the web platform tests for custom element registries,vendored in
test/wpt/, in Chromium, Firefox and WebKit with the polyfillforced (
npm run test:wpt).See README.md for info