webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.15k stars 165 forks source link

[WCJS] Error with SurveyMonkey script and webcomponentsjs on the same page #61

Open MarcelMalik opened 6 years ago

MarcelMalik commented 6 years ago

Hi,

with Firefox 62 (Windows and macOS) SurveyMonkey script raise an error "TypeError: e is undefined" and don't load with webcomponents.js on the same page.

I create a sample to reproduce the error (occurs only in FireFox): https://codepen.io/marcelmalik/pen/XPOOpB?editors=1000

Thanks for help!

TimvdLippe commented 6 years ago

This is probably an issue where SurveyMonkey are not compatible with shadow dom. Sadly, we are unable to debug their code. Would you be able to create a smaller reproduction case that we can inspect?

ghost commented 6 years ago

Here are a few options in case they help. These will repro the error in chrome as well (forced polyfills).

TimvdLippe commented 6 years ago

Thanks @katejeffreys for the repros. However, that still includes the full SurveyMonkey bundle. To be able to debug, we would need to extract the problematic code from that bundle into a separate repro. E.g. create a repro that contains the problematic code, but not the full SurveyMonkey script.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.