Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@ferhatb
Copy link
Contributor

@ferhatb ferhatb commented Nov 20, 2019

Fixes Edge crash on app startup due -moz-selection insertion in dom_renderer.
Fixes: flutter/flutter#45162


switch (browserEngine) {
case BrowserEngine.blink:
case BrowserEngine.edge:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this always true?

Copy link
Contributor

Choose a reason for hiding this comment

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

I checked it.
(1) if the Browser is Edge and OS is IOS then the engine is Webkit. (Otherwise always blink)
(2) If browser is older than earlier 2019 it is not blink.

Copy link
Contributor

@nturgut nturgut left a comment

Choose a reason for hiding this comment

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

Thanks Ferhat. I added a comment for the switch statement. In my opinion we might also want to check the OS. So that if anyone uses Edge on IOS they can still use text editing. We have a major branch in the code for OS=IOS Engine=Webkit

@ferhatb ferhatb merged commit ff448c3 into flutter:master Nov 20, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 21, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 21, 2019
git@github.com:flutter/engine.git/compare/176f56329631...6bf311f

git log 176f563..6bf311f --no-merges --oneline
2019-11-20 bkonyi@google.com Roll src/third_party/dart b188632458..867a6e0e52 (4 commits) (flutter/engine#13948)
2019-11-20 gw280@google.com Ensure we use the base CompositorContext's AcquireFrame method when screenshotting (flutter/engine#13934)
2019-11-20 chinmaygarde@google.com Update SwiftShader to 5d1e854. (flutter/engine#13945)
2019-11-20 ianloic@google.com [flutter_runner] fix a11y tests (flutter/engine#13947)
2019-11-20 bkonyi@google.com Roll src/third_party/dart 8342ec2c71..b188632458 (2 commits) (flutter/engine#13942)
2019-11-20 ferhat@gmail.com Fix edge detection for correct dom_renderer reset (flutter/engine#13940)
2019-11-20 bkonyi@google.com Roll src/third_party/dart 1f933abcee..8342ec2c71 (12 commits) (flutter/engine#13941)
2019-11-20 50856934+nturgut@users.noreply.github.com [web] Flutter for web autocorrect support (flutter/engine#13922)
2019-11-20 skia-flutter-autoroll@skia.org Roll src/third_party/skia e678b79c489d..935a35d972e5 (13 commits) (flutter/engine#13927)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
@ferhatb ferhatb deleted the edge_fix branch January 9, 2020 22:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[web] not working on Microsoft Edge and Internet Explorer

3 participants