webcomponents / webcomponents/polyfills
Setting ShadyDOM settings via `ShadyDOM` object and URL flags are incompatible.
Open
Focus Area: Standards & Polyfills
Package: shadydom
Type: Bug
wontfix
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Loading the polyfill bundle with URL flags is not compatible with using the object syntax to force ShadyDOM on.
In particular, if you do `ShadyDOM = {force: true, noPatch: true}` and then load the page with `?wc-shadydom=true` then `noPatch` is set to off because it's read off the URL in this case. It should fall back to its current value.
Contributor guide
Assessment
This issue has not been assessed yet.