8

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?

Per Ghosh
  • 449
  • 5
  • 10
  • Possible duplicate of: [Trying to use IE=edge X-UA-Compatible in an iframe on a page using IE=EmulateIE7][1] [1]: http://stackoverflow.com/questions/12641511/trying-to-use-ie-edge-x-ua-compatible-in-an-iframe-on-a-page-using-ie-emulateie7 – Pedro Matos Mar 14 '13 at 13:08

1 Answers1

5

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

rocky
  • 7,506
  • 3
  • 33
  • 48
  • I can confirm this answer is correct. I've tried headers in the iframe, a meta tag and both, but nothing helped. – Nick Mar 09 '15 at 08:50