Catch exception for goHome(), add (better) exception comments to loadURI() and loadURIWithFlags(). r=timeless, sr=ben

This commit is contained in:
disttsc%bart.nl 2001-03-28 11:22:16 +00:00
Родитель fc607f8500
Коммит 9c6b86c629
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -97,6 +97,7 @@
</body>
</method>
<!-- throws exception for unknown schemes -->
<method name="loadURI">
<parameter name="aURI"/>
<body>
@ -108,10 +109,10 @@
</body>
</method>
<!-- throws exception for unknown schemes -->
<method name="loadURIWithFlags">
<parameter name="aURI"/>
<parameter name="aFlags"/>
<!-- throws exception if loadURI fails -->
<body>
<![CDATA[
if (!aURI)
@ -125,7 +126,11 @@
<method name="goHome">
<body>
<![CDATA[
try {
this.loadURI(this.homePage);
}
catch (e) {
}
]]>
</body>
</method>