WP8.1 InvokeScript Error
问题 I am working on a Windows Phone 8.1 App. I have a problem with the InvokeScript method of the WebBrowser class. I have this in my XAML: And when I run this code: myWebBrowser.Loaded += (object sender, RoutedEventArgs e) => { webBrowser.IsScriptEnabled = true; webBrowser.InvokeScript("eval", "alert('foo')"); }; I get a System.SystemException on the line with InvokeScript that tells me this: An unknown error has occurred. Error: 80020006. When I run the same code for Windows Phone 8 (not 8.1) I