{"id":16011049,"url":"https://github.com/nikku/custom-elements-not-workin","last_synced_at":"2026-05-20T14:40:02.307Z","repository":{"id":66099754,"uuid":"63849253","full_name":"nikku/custom-elements-not-workin","owner":"nikku","description":"A test project verifying that custom elements are not production ready (yet)","archived":false,"fork":false,"pushed_at":"2016-07-21T11:46:30.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T06:28:09.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["nikku"]}},"created_at":"2016-07-21T07:59:37.000Z","updated_at":"2016-07-21T08:48:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"af191bbb-d9c3-4107-b169-d833e5182959","html_url":"https://github.com/nikku/custom-elements-not-workin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikku/custom-elements-not-workin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fcustom-elements-not-workin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fcustom-elements-not-workin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fcustom-elements-not-workin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fcustom-elements-not-workin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikku","download_url":"https://codeload.github.com/nikku/custom-elements-not-workin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikku%2Fcustom-elements-not-workin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603874,"owners_count":23487211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T13:22:57.208Z","updated_at":"2026-05-20T14:40:02.216Z","avatar_url":"https://github.com/nikku.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nikku"],"categories":[],"sub_categories":[],"readme":"# Custom Elements (not working)\n\nAn example that verifies that [Custom Elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements) (part of [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components)) are actually __not working reliably cross-browser__.\n\nEspecially some quirks will never be reliably shimmed (such as the `instanceof` behavior).\n\n\n### What is not working\n\n* Callbacks are only called asynchronously\n* Elements need explicit upgrade after domification\n* `e instanceof CustomElement`\n\n\n### Tests\n\nCheckout [the test suite](https://github.com/nikku/custom-elements-not-workin/blob/master/test/spec/app/web-components-spec.js#L64) for the cases covered.\n\n\n```\nnpm test\n\n# or in watch mode\nnpm run test:watch\n```\n\n\n### Expected Results\n\n* __36 test cases fail in total on PhantomJS and Firefox__\n* No test cases fail on Chrome\n\n```\nPhantomJS 2.1.1 (...): Executed 40 of 40 (18 FAILED) ...\nChrome 51.0.2704 ...: Executed 40 of 40 SUCCESS ...\nFirefox 47.0.0 ...: Executed 40 of 40 (18 FAILED) ...\nIE 11.0.0 (Windows 7 0.0.0): Executed 40 of 40 (18 FAILED) ...\n```\n\n\n### Notes\n\n* Custom Elements can be [manually enabled in Firefox](https://stackoverflow.com/questions/25220821/enable-custom-elements-in-firefox). When enabled, all tests pass.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fcustom-elements-not-workin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikku%2Fcustom-elements-not-workin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikku%2Fcustom-elements-not-workin/lists"}