dosubot[bot] commented on issue #38212: URL: https://github.com/apache/superset/issues/38212#issuecomment-3950110564
<!-- Greeting --> Hi @free312! I'm [Dosu](https://go.dosu.dev/dosubot) and Iām helping the superset team. <!-- Answer --> This is a known issue introduced in Superset 5.0.0. The error occurs because [PR #35265](https://github.com/apache/superset/pull/35265) added `Set.prototype.difference()` and `Set.prototype.union()` methods in the [dashboard state reducer](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/reducers/dashboardState.js#L211-L224) to manage active/inactive tab states. These are ES2025 features that require Chrome 122+ and aren't supported in older browsers like QQ Browser. This issue is tracked in [#35583](https://github.com/apache/superset/issues/35583). **Workarounds:** 1. **Upgrade browser** to Chrome 122+ or a modern browser that supports `Set.prototype.difference` 2. **Use a different browser** (Chrome, Firefox, Edge) for accessing dashboards with tabs The root cause is that despite Superset having polyfill infrastructure with core-js, these Set methods aren't being polyfilled because the [browserslist only targets the last 3 versions of modern browsers](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/package.json#L78-L83). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dba98bb7-bc77-4046-b4fb-b356237185e9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=This%20is%20a%20known%20issue%20introduced%20in%20Superset%205.0.0.%20The%20error%20occurs%20because%20%5BPR%20%2335265%5D%28https%3A//github.com/apache/superset/pull/35265%29%20added%20%60Set.prototype.difference%28%29%60%20and%20%60Set.prototype.union%28%29%60%20methods%20in%20the%20%5Bdashboard%20state%20reducer%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/reducers/dashboardState.js%23L211-L224%29%20to%20manage%20active/inactive%20tab%20states.%20These%20are%20ES2025%20features%20that%20require%20Chrome%20122%2B%20and%20aren%27t%20supported%20in%20older%20browsers%20like%20QQ%20Browser.%0A%0AThis%20issue%20is%20tracked%20in%20%5B%2335583%5D%28https%3A//github.com/apache/s uperset/issues/35583%29.%0A%0A%2A%2AWorkarounds%3A%2A%2A%0A1.%20%2A%2AUpgrade%20browser%2A%2A%20to%20Chrome%20122%2B%20or%20a%20modern%20browser%20that%20supports%20%60Set.prototype.difference%60%0A2.%20%2A%2AUse%20a%20different%20browser%2A%2A%20%28Chrome%2C%20Firefox%2C%20Edge%29%20for%20accessing%20dashboards%20with%20tabs%0A%0AThe%20root%20cause%20is%20that%20despite%20Superset%20having%20polyfill%20infrastructure%20with%20core-js%2C%20these%20Set%20methods%20aren%27t%20being%20polyfilled%20because%20the%20%5Bbrowserslist%20only%20targets%20the%20last%203%20versions%20of%20modern%20browsers%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/package.json%23L78-L83%29.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me %20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/38212) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
