Skip to content

Improve experience in Internet Explorer + tweak Edge message #542

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 16, 2019

Conversation

DanTup
Copy link
Contributor

@DanTup DanTup commented Apr 16, 2019

There's some JS that checks whether ES6 classes are supported (I think it's a pre-req for latest dart2js, and IE doesn't support that), and redirects to a really bare-bones "unsupported page".

Untitled

Also tweaked the message shown in Edge since it categorises Edge as IE and the message is a bit confusing. It's now just called "an supported browser".

edge

Fixes #66.

Copy link
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one nit.

@@ -14,9 +14,13 @@ void main() {
final PerfToolFramework framework = PerfToolFramework();

if (!browser.isChrome) {
final browserName =
// Edge shows up as IE, so we replace it's name too to avoid confusion.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove 'too'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, must be a bug in my keyboard 😄

Thanks!

@kenzieschmoll
Copy link
Member

Landing this so it will make the 0.0.15 release.

@kenzieschmoll kenzieschmoll merged commit 786cb33 into flutter:master Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P1: Display a warning message if an unsupported browser is used.
2 participants