Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 08:23, 6 June 2008.

エミュレータ上でwidget.openURLメソッドを使用した時のWRTの不具合

From Forum Nokia Wiki


原文(英語): Bug in WRT when using widget.openURL in emulator

Image:KB_Developer.gif

ID 非公式情報のため、IDは割当てられず 作成日時 2007年12月11日
プラットフォーム S60 3rd Edition FP2 Beta 対象となる端末 エミュレータ
カテゴリ Web Runtime

解説

S60 3rd Edition FP2エミュレータの起動時にwidget.openURLメソッドを呼ぶと、Web Runtimeがクラッシュします。

この現象は、リリースノートにもドキュメントとして記されています。

実は、エミュレータ上でブラウザインスタンスとWidgetインスタンスを同時に持つことはできません。その順番に関係なく、2番目のアプリケーションの起動開始に失敗します。

現象を再現するサンプルコードは、下記の通りです。

<!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>
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX