зеркало из https://github.com/mozilla/gecko-dev.git
fixed call to eval()
This commit is contained in:
Родитель
ae6d2cf34b
Коммит
5f1e01d35f
|
@ -112,7 +112,7 @@ public class TrivialApplet extends Applet {
|
||||||
JSObject window = JSObject.getWindow(TrivialApplet.this);
|
JSObject window = JSObject.getWindow(TrivialApplet.this);
|
||||||
if (window != null) {
|
if (window != null) {
|
||||||
//window.eval("alert('going to location " + location + "');");
|
//window.eval("alert('going to location " + location + "');");
|
||||||
window.eval("println(" + location + ")");
|
window.eval("println('" + location + "')");
|
||||||
}
|
}
|
||||||
getAppletContext().showDocument(location, "_new");
|
getAppletContext().showDocument(location, "_new");
|
||||||
} catch (MalformedURLException mfue) {
|
} catch (MalformedURLException mfue) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче