TianBo Yang created CB-4744:
-------------------------------
Summary: wp8,Cordova3.0,InvalidOperationException occur in run
Cordova-API-Spec- run-local-XHR-test
Key: CB-4744
URL: https://issues.apache.org/jira/browse/CB-4744
Project: Apache Cordova
Issue Type: Bug
Components: WP8
Environment: win8+vs2012+wp8
Reporter: TianBo Yang
Assignee: Jesse MacFadyen
create cordova wp8 project, run the Cordova API Spec--->auto test--->run local
xhr test.
this is the exception message:
This operation is not supported for a relative URI.
there is the stackTrace:
at System.Uri.get_AbsolutePath()
at WPCordovaClassLib.CordovaLib.XHRHelper.HandleCommand(String commandStr)
at WPCordovaClassLib.CordovaView.CordovaBrowser_ScriptNotify(Object sender,
NotifyEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.Phone.Controls.WebBrowser.FireScriptNotifyEvent(String value)
at
Microsoft.Phone.Controls.WebBrowserInterop.ReversePInvokeThunk.OnScriptNotify(Int32
webBrowserControlId, String value)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira