Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
5658304
Update to sport revamped proposal in https://github.com/whatwg/html/i…
Dec 19, 2024
3813889
handle connection and add more tests
Dec 20, 2024
974ce1a
update to latest proposed spec
Feb 27, 2025
dba8e99
Merge branch 'master' into revamped
Feb 27, 2025
2332065
amended changelog
Feb 27, 2025
c8c5724
update package-lock
Feb 27, 2025
0dd39fa
update to current spec property `customElementRegistry`
Sep 16, 2025
6debe16
Update changelog
Sep 16, 2025
f4f20f4
Update packages/scoped-custom-element-registry/src/types.d.ts
sorvell Sep 20, 2025
a115843
Update packages/scoped-custom-element-registry/src/types.d.ts
sorvell Sep 20, 2025
057092f
Update packages/scoped-custom-element-registry/src/types.d.ts
sorvell Sep 20, 2025
9995a9e
Update packages/scoped-custom-element-registry/src/types.d.ts
sorvell Sep 20, 2025
436c5a7
Add comments with spec links
Sep 20, 2025
d2a52ce
Update packages/scoped-custom-element-registry/src/types.d.ts
sorvell Sep 20, 2025
6671d59
Address feedback: remove unneeded fallback
Sep 20, 2025
41b0496
Change to an actual polyfill
Sep 28, 2025
e5eb55a
sync with spec and improve compatibility with partial platform support
Mar 10, 2026
52a5abb
Merge branch 'master' into revamped
Mar 10, 2026
0ac54ee
Update browsers before testing
Mar 11, 2026
db15dc9
format
Mar 11, 2026
9a3a1c0
update node
Mar 11, 2026
90fdc22
update node again
Mar 11, 2026
7d9952e
install deps for Firefox.
Mar 11, 2026
8da9f35
updating deps again
Mar 12, 2026
31cb234
update playwright to get firefox installed
Mar 12, 2026
ff4c0e7
claude assisted test config updates.
Mar 12, 2026
3268dff
install playwright within packages where needed
Mar 12, 2026
57ead23
update deps
Mar 12, 2026
bbacceb
ensure a recent ubuntu to get most recent browsers
Mar 13, 2026
f386038
revert version change
Mar 13, 2026
585d6fa
temporary test logging
Mar 13, 2026
8f5406c
logging try2
Mar 13, 2026
40b276b
isolate failure
Mar 13, 2026
49591b7
more test debugging
Mar 13, 2026
681c07a
debugging: add first dsd
Mar 13, 2026
6fd6963
debugging: define early
Mar 13, 2026
3eaf560
debugging: add first test
Mar 13, 2026
609a4ab
debugging: only without native null
Mar 13, 2026
7db7ff7
add force option and use in DSD testing
Mar 13, 2026
7daedee
update node, remove sauce.
Mar 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# automatically (see https://github.com/webcomponents/polyfills). To
# diff with the base branch, we need to fetch that too (and we only
# need its latest commit).
git fetch origin ${GITHUB_BASE_REF} --depth=1
git fetch origin ${{ github.base_ref }} --depth=1
if [[ $(git diff --name-only FETCH_HEAD | grep CHANGELOG) ]]
then
echo "A CHANGELOG was modified. Looks good!"
Expand Down
45 changes: 11 additions & 34 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 24.5

- name: NPM install
run: npm ci
Expand All @@ -25,47 +25,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 24.5

- name: NPM install
run: npm ci

- name: Lerna bootstrap
run: npm run bootstrap

- name: Build
run: npm run build

- name: Test
run: npm test

sauce:
# Skip if this is from a forked repository because we can't access Sauce
# secrets.
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16

- name: NPM install
run: npm ci

- name: Lerna bootstrap
run: npm run bootstrap
- name: Install playwright browsers (+ deps)
run: |
cd packages/tests && npx playwright install --with-deps
cd $GITHUB_WORKSPACE/packages/scoped-custom-element-registry && npx playwright install --with-deps

- name: Build
run: npm run build

- name: Test
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm run test-sauce
run: npm test
11 changes: 11 additions & 0 deletions packages/scoped-custom-element-registry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed

- Updated to latest [proposed spec](https://github.com/whatwg/html/issues/10854)

### Added

- customElements.initialize: sets registry on a DOM tree
- document.createElement(NS): takes options with {customElementRegistry}
- document.importNode: takes options with {selfOnly, customElementRegistry}
- Node.customElementRegistry set to creating registry

### Fixed

- Fixes [issue](https://github.com/webcomponents/polyfills/issues/613) with setting `shadowRoot.customElements` on Safari's native implementation
Expand Down
Loading
Loading