Closed chadokruse closed 4 years ago
When cross-browser testing via Browserstack, observed profiles are not showing results from Algolia, only the SEO-placeholder-results table.
Low priority: Affects <2.0% of visitors and there is a solid backup in place
The Edge console shows the offending code is: https://github.com/grantmakers/profiles/blob/source/assets/js/search.js#L415
SCRIPT1028: SCRIPT1028: Expected identifier, string, or number search.js (418,13)
SCRIPT1028: SCRIPT1028: Expected identifier, string, or number
search.js (418,13)
Code is taken directly from Algolia docs (link) Able to reproduce error via BrowserStack Microsoft Edge v18 (latest)
Analysis: Spread operator is not supported in Edge (browser compatibility)
Also appears to be a second issue, which appears in BugSnag as Rejection reason was not an Error. See "Promise" tab for more detail.
Rejection reason was not an Error. See "Promise" tab for more detail.
Seems related to Autocomplete.js
Spread operator now supported in latest versions of Edge.
When cross-browser testing via Browserstack, observed profiles are not showing results from Algolia, only the SEO-placeholder-results table.
Low priority: Affects <2.0% of visitors and there is a solid backup in place
The Edge console shows the offending code is: https://github.com/grantmakers/profiles/blob/source/assets/js/search.js#L415
SCRIPT1028: SCRIPT1028: Expected identifier, string, or number
search.js (418,13)
Code is taken directly from Algolia docs (link) Able to reproduce error via BrowserStack Microsoft Edge v18 (latest)
Analysis: Spread operator is not supported in Edge (browser compatibility)
Also appears to be a second issue, which appears in BugSnag as
Rejection reason was not an Error. See "Promise" tab for more detail.
Seems related to Autocomplete.js