From: Taguchi T. <ta...@to...> - 2003-12-01 04:22:57
|
Hi, all. I've try to excute following tclet using FreeBSD version plugin and Activestate's Tcl DevKit. this tclet is stored in localhost, so I've accessed as follwing URL: http://localhost/test/test.html. test.html contains <embed> tag which link to this tclet. BEGIN>--8<CUT HERE>8--- #!/usr/local/bin/wish8.4 policy javascript text .text -wrap char .text insert end [::browser::getURL http://localhost:80/index.html] pack .text END>---8<CUT HERE>8--- Offcause, config/plugin.cfg has following lines: section trustedJavascriptURLs ... snip ... allow http://localhost:80/* ... snip ... But I've got following error from both plugins. BEGIB>---8<CUT HERE>8--- An error occured during execution of this Tclet: error Stack trace: error invoked from within "ReturnError $res" (procedure "::safe::InterpInvokeAlias" line 31) invoked from within "::browser::getURL http://localhost:80/index.html" invoked from within ".text insert end [::browser::getURL http://localhost:80/index.html]" ("uplevel" body line 4) invoked from within "uplevel #0 {#!/usr/local/bin/wish8.4 policy javascript text .text -wrap char .text insert end [::browser::getURL http://localhost:80/index.html] pack..." END>---8<CUT HERE>8--- What sould I do? Thanks. --- T.Taguchi. |