mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
NOT PART OF THE BUILD.
This commit is contained in:
parent
1ccc1a5f01
commit
a6bebf95dd
6
mailnews/base/resources/content/dbviewtest.js
Normal file
6
mailnews/base/resources/content/dbviewtest.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
function doit()
|
||||||
|
{
|
||||||
|
var dbview = Components.classes["@mozilla.org/messenger/msgdbview;1?type=threaded"].createInstance(Components.interfaces.nsIMsgDBView);
|
||||||
|
dump("dbview = " + dbview + "\n");
|
||||||
|
}
|
10
mailnews/base/resources/content/dbviewtest.xul
Normal file
10
mailnews/base/resources/content/dbviewtest.xul
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<window xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
|
||||||
|
<script language="JavaScript" src="chrome://messenger/content/dbviewtest.js"/>
|
||||||
|
|
||||||
|
<button value="Hit Me" onclick="doit()"/>
|
||||||
|
|
||||||
|
</window>
|
Loading…
Reference in New Issue
Block a user