Skip to content

Improve experience in Internet Explorer + tweak Edge message - #542

Merged
kenzieschmoll merged 3 commits into
flutter:masterfrom
DanTup:browser-rejection
Apr 16, 2019
Merged

kenzieschmoll merged 3 commits into
flutter:masterfrom
DanTup:browser-rejection

Conversation

@DanTup

@DanTup DanTup commented Apr 16, 2019

Copy link
Copy Markdown
Contributor

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.

@kenzieschmoll kenzieschmoll left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with one nit.

Comment thread packages/devtools/web/main.dart Outdated

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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