在使用 xulrunner 執行程式時,遇到奇怪的問題
程式如下:
代碼:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
id="test-window"
title="Find Files"
width="480"
height="800"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<iframe src="http://tw.yahoo.com" width="400" height="600"/>
</window>
當我使用 xulrunner 來執行時,卻變成下面的畫面
頁面中的 noscript 標籤變成顯示原始碼了
有人知道是為什麼嗎?
下面是我的簡易原始碼:
xulIframeTest.tar.gz
解開後,執行 xulrunner application.ini
ps: 我的 xulrunner 是Mozilla XULRunner 1.9.0.5 - 2008121621