2 <?xml-stylesheet href=
"chrome://global/skin"
4 <?xml-stylesheet href=
"chrome://mochikit/content/tests/SimpleTest/test.css"
7 https://bugzilla.mozilla.org/show_bug.cgi?id=1386222
9 <window xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
10 title=
"Mozilla Bug 1386222" onload=
"runTest();">
11 <script src=
"chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
12 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
14 <input xmlns=
"http://www.w3.org/1999/xhtml" id=
"t"/>
15 <script class=
"testbody" type=
"application/javascript">
19 var t = document.getElementById(
"t");
23 "Editor shouldn't have undo transaction at start"
26 is(t.value,
"foo",
"value setter worked");
30 "Editor should have undo transaction after setting value"
35 SimpleTest.waitForExplicitFinish();