Skip to content

Conversation

@bartvde
Copy link
Member

@bartvde bartvde commented Nov 23, 2015

A lot of test cases currently fail in Internet Explorer.

This is a WIP on fixing them. Will update the description once I'm done.

@ahocevar
Copy link
Member

Are you also testing the examples manually to see if there is something in the library that needs to be fixed? Do you want me to help? I think we should fully support IE10+.

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

Not as yet @ahocevar but that might make sense to do as well after I finish up the unit tests.
Have we discarded IE9 as supported? I thought we still supported IE9?

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

do you remember what was the case with ol.source.Raster and IE? IIRC this is unsupported / can't be made to work in IE?

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

on second runs strange things happen, like pixelworks error for ol.source.TileJSON, maybe due to test cleanup?

screen shot 2015-11-23 at 11 04 44

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

if I take out the ol.source.Raster test spec, all is fine now on all runs, so something is going on there or with pixelworks ext

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

ol.format.MVT uses ArrayBuffer so needs IE10+

@ahocevar
Copy link
Member

I'm looking into the raster issue now.

Copy link
Member

Choose a reason for hiding this comment

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

Now last is not a good name any more. feature?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's still the last feature, I just made the file smaller because it was very slow parsing in IE

Copy link
Member

Choose a reason for hiding this comment

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

Ah ok. You didn't push the data change.

Copy link
Member Author

Choose a reason for hiding this comment

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

I did, it's here: test/spec/ol/format/esrijson/ksfields.json just on top of this (I pretty printed it in the process)

Copy link
Member

Choose a reason for hiding this comment

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

Oh sorry, you did. It's just collapsed in the diff.

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

The example template has a minor issue in IE11, the select combo option only shows up on hover, not by default. Seems to be caused by color: inherit from the bootstrap css.

screen shot 2015-11-23 at 17 34 48
screen shot 2015-11-23 at 17 34 43
screen shot 2015-11-23 at 17 34 32

@bartvde
Copy link
Member Author

bartvde commented Nov 23, 2015

Also the logo is stretched in IE, and I think we saw this before?

screen shot 2015-11-23 at 17 37 23

#2862
planetfederal/wps-gui#173

@tschaub
Copy link
Member

tschaub commented Nov 24, 2015

The raster source uses the ImageData constructor. I'd suggest not running the raster tests in IE for now. A workaround for the lack of an ImageData constructor in IE could go in the pixelworks lib.

@bartvde
Copy link
Member Author

bartvde commented Nov 24, 2015

@ahocevar your fix worked perfectly, and is in line with what @tschaub said. I applied the same fix for ol.format.MVT and IE9.

@bartvde
Copy link
Member Author

bartvde commented Nov 24, 2015

All tests now pass in IE9, IE10 and IE11

@ahocevar
Copy link
Member

Some commit messages do not comply with the rules, you may want to split them into title and description. Looks good otherwise.

Bart van den Eijnden and others added 5 commits November 24, 2015 14:35
bartvde added a commit that referenced this pull request Nov 24, 2015
Fix up failing tests in Internet Explorer
@bartvde bartvde merged commit ef54ddd into openlayers:master Nov 24, 2015
@bartvde bartvde deleted the ie-test-failures branch November 24, 2015 13:53
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.

3 participants