X-UA-Compatible in parent is IE=8, page in IFRAME is IE=edge,chrome=1

4k views Asked by At

I have a add-on for a webapplication. The addon has the X-UA-Compatible set to "IE=edge,chrome=1" in order to get the JSON, DOMParser and XMLSerializer objects in javascript.

Add-on is running in a IFRAME. The problem seemes to be that the top windows with the IFRAME is using IE=8 as X-UA-Compatible and that setting seems to override the setting in the page for the addon.

Is there any way around this? Will the parent page control the X-UA-Compatible for the page in IFRAME?

1

There are 1 answers

1
rocky On

No there is not. The view mode will always be set according to the topmost frame/window.