It would be nice to be able to open IE in it's different browser modes.
I was hoping to find a find a command line option to do that, but there is not. In lieu of that is it possible to dynamically set the following header in the static html pages?
<meta http-equiv="X-UA-Compatible" content="IE=[VERSION]">
Is this possible? or desired?
Anybody willing to give it a try ?
Or we could set HTTP header.
How about this?
Laucher can pass URL params (it currently does id). It can pass "ie" param (such as ie=edge).
The web server, when serving index.html, will check that and set correct headers.
Then, you can configure multiple custom launchers - starting for instance multiple instances of IE11, each in different compatibility mode.
Http header would be much preferable to a meta tag. Switching via query string is a great idea. Presumably the default value would be edge?
@WickyNilliams yep, do would you like to give it a shot?
I'm not a node dev but I'm sure I could give it a go. Could you point at me files I should focus on? How generic do you think it should be? Should I be able to specify any HTTP headers to be sent?
I think this consist of two things:
feat(web-server): run karma using multiple emulation modes
Closes #936, #631
Closes karma-runner/karma#936, karma-runner/karma#631
feat: allow multiple IE versions in emulation modes
This was already fixed via b9a2930 and karma-runner/karma-ie-launcher@052cf5c