| ID | Known issue. Documented in SDK's release notes. | Creation Date | Dec 11, 2007 |
| Platform | S60 3rd Edition FP2 Beta | Devices | emulator |
| Category | Web Runtime |
A widget that calls widget.openURL crashes the web run-time, when running in the FP2 emulator.
This is also documented in the release notes.
Actually I noticed that you can't have a browser instance and widget instance running at the same time on the emulator. Regardless of the order in which they are launched the 2nd to start will fail.
Sample code that reproduces the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>openURL bug</title>
<script type="text/javascript">
function handleOnload() {
widget.openURL('http://www.yahoo.com');
}
</script>
</head>
<body onload="handleOnload();">
<p> This will try to open an URL </p>
</body>
</html>
No related wiki articles found