Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃毃 Error: Cannot read property 'set' of undefined #28058

Closed
ampprojectbot opened this issue Apr 27, 2020 · 2 comments 路 Fixed by #28086
Closed

馃毃 Error: Cannot read property 'set' of undefined #28058

ampprojectbot opened this issue Apr 27, 2020 · 2 comments 路 Fixed by #28086
Assignees
Labels
Type: Error Report An error reported by AMP Error Reporting WG: runtime

Comments

@ampprojectbot
Copy link
Member

Details

Error report: link
First seen: Apr 8, 2020
Frequency: ~ 2,464/day

Stacktrace

Error: Cannot read property 'set' of undefined
    at innerHTMLDesc (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/polyfills/custom-elements.js:687:26)
    at installPatches (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/polyfills/custom-elements.js:517:4)
    at observe_ (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/polyfills/custom-elements.js:343:4)
    at define (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/polyfills/custom-elements.js:150:4)
    at win (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/service/custom-element-registry.js:144:2)
    at registerElement (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/service/custom-element-registry.js:117:4)
    at stubElementIfNotKnown (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/service/extensions-impl.js:615:4)
    at LEGACY_ELEMENTS (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/service/extensions-impl.js:614:2)
    at stubLegacyElements (https://raw.githubusercontent.com/ampproject/amphtml/2004172112280/src/runtime.js:96:2)

Notes

@jridgewell modified src/polyfills/custom-elements.js:687-687 in #17205 (Aug 3, 2018)
@jridgewell modified src/polyfills/custom-elements.js:516-519 in #19305 (Nov 15, 2018)
@jridgewell modified src/polyfills/custom-elements.js:332-343 in #17205 (Aug 3, 2018)
@jridgewell modified src/polyfills/custom-elements.js:140-196 in #17205 (Aug 3, 2018)
@jridgewell modified src/service/custom-element-registry.js:144-144 in #25141 (Oct 19, 2019)
@dvoytenko modified src/service/extensions-impl.js:615-616 in #7312 (Feb 17, 2017)
@renovate-bot modified src/service/extensions-impl.js:614-614 in #27350 (Mar 30, 2020)

Possible assignees: @jridgewell, @jridgewell

@ampprojectbot ampprojectbot added the Type: Error Report An error reported by AMP Error Reporting label Apr 27, 2020
@caroqliu
Copy link
Contributor

cc @jridgewell

@jridgewell jridgewell self-assigned this Apr 27, 2020
@jridgewell
Copy link
Contributor

Looking at this, it's happening a lot with YaBrowser and YandexSearch (both Yandex browser in Russia). In fact, I'm reasonably certain all of the iOS UAs are being spoofed, because the error stack format is Chrome's (not Safari's). I don't have a Ya browser to test on, and I'm unwilling to install it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Error Report An error reported by AMP Error Reporting WG: runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants