Skip to content

Conversation

@Andrew8xx8
Copy link
Contributor

React does not work correctly on Windows 8 app. This platform has security restrictions and in some cases it throws this error:

0x800c001c - JavaScript runtime error: Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property to add script or malformed HTML will generate this exception. Use the toStaticHTML method to filter dynamic content, or explicitly create elements and attributes with a method such as createElement. For more information, see http://go.microsoft.com/fwlink/?LinkID=247104.

The bug is related to #441 and have a similar reason but with insertBefore call. It can be fixed in the same way.

@jimfb
Copy link
Contributor

jimfb commented Feb 18, 2016

Sure, looks legit, thanks!

jimfb added a commit that referenced this pull request Feb 18, 2016
Wrap insertBefore in Windows 8 apps
@jimfb jimfb merged commit 5879c9e into facebook:master Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants