jony
jony

Reputation: 43

Microsoft Edge not displaying <iframe>

I have a button that creates a new tab and loads some simple HTML and an iframe with a data URI passed into it. The new tab opens and I can see that this is all displayed in the DOM using the navigation tools (F12). However the Iframe does not display in Edge browser. I receive the errorHTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).

Below image shows the DOM and that everything is loading as expected.

enter image description here

Upvotes: 2

Views: 4243

Answers (1)

ChrisD
ChrisD

Reputation: 3518

This might be your issue: MSDN data Protocol.

For security reasons, data URIs are restricted to downloaded resources. Data URIs cannot be used for navigation, for scripting, or to populate frame or iframe elements.

Upvotes: 2

Related Questions