Vineet Reynolds commented on Bug JDF-277

The possible source of the JavaScript error when executing jQuery Mobile in the Midori browser (through the WebKit WebInpsector installed via the webkitgtk-devel package). The following error was reported:

jquery.mobile-1.1.0.js:2791 TypeError: Result of expression 'toPage.data( "page" )' [undefined] is not an object.

Strangely, this error is reported only when JavaScript debugging is disabled.

The above is likely to be the cause of the error in BrowserSim. Unfortunately, this (enabling JavaScript debugging) would have to be ruled out as a possible workaround until JavaScript debugging is available and enabled by default in BrowserSim.

Additionally, delays were found in loading the resources through the use of the yepnope JavaScript library. The app always waits for a duration (specified by the yepnope.errorTimeout value) before it loads the specified resources. This may need to be investigated further, especially if it contributes to the JavaScript error. But it definitely leads to a delay of ~10s (at the very least in Midori) before the app is rendered.

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