Categories: Web Runtime (WRT) | Known Issue | S60 3rd Edition | S60 3rd Edition, Feature Pack 2, Beta
This page was last modified 20:38, 6 March 2008.
Bug in WRT when using widget.openURL in emulator
From Forum Nokia Wiki
| ID | Unofficial - No ID assigned | Creation Date | Dec 11, 2007 |
| Platform | S60 3rd Edition FP2 Beta | Devices | emulator |
| Category | Web Runtime |
Description
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>
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Missing ContentID | heemeng | General Messaging | 1 | 2003-07-24 00:32 |
| You most likely will have this bug too | killarkai | Mobile Java General | 12 | 2003-08-11 14:24 |
| CMMFCodec on 3rd edition devices for gsm6.10 codec | inguvaseshu | Symbian Media (Graphics & Sounds) | 38 | 2006-10-29 14:01 |
| 3rd Edition FP1 Emulator crashes on startup | jarkman | Symbian Tools & SDKs | 49 | 2008-05-07 16:25 |
| Series 40 emulator question | popsoft | Mobile Java General | 2 | 2002-09-19 10:03 |

