author | Joel Maher <jmaher@mozilla.com> |
Sun, 19 Jun 2011 11:56:44 -0400 | |
changeset 71297 | d8b8e75bc4ab7a5bb88a226e530d16df5fb03dc7 |
parent 71296 | 027aeee65fdb72416266d896c86e8273791a2e79 |
child 71298 | 058a584ea7d36ac40d6f93ed5a0cbb1f18f9b3ee |
push id | 20526 |
push user | jmaher@mozilla.com |
push date | Sun, 19 Jun 2011 15:58:36 +0000 |
treeherder | mozilla-central@058a584ea7d3 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | masayuki, test-only |
bugs | 664165 |
milestone | 7.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/editor/libeditor/html/tests/Makefile.in +++ b/editor/libeditor/html/tests/Makefile.in @@ -70,31 +70,31 @@ include $(topsrcdir)/config/rules.mk test_bug611182.html \ test_bug612447.html \ test_bug620906.html \ test_bug622371.html \ test_bug629845.html \ test_bug640321.html \ test_CF_HTML_clipboard.html \ test_contenteditable_focus.html \ - test_contenteditable_text_input_handling.html \ test_htmleditor_keyevent_handling.html \ test_select_all_without_body.html \ file_select_all_without_body.html \ test_root_element_replacement.html \ $(NULL) _DATA_FILES = \ data/cfhtml-chromium.txt \ data/cfhtml-firefox.txt \ data/cfhtml-ie.txt \ data/cfhtml-ooo.txt \ $(NULL) _CHROME_TEST_FILES = \ + test_contenteditable_text_input_handling.html \ test_bug490879.xul \ test_bug607584.xul \ test_bug616590.xul \ test_bug635636.html \ green.png \ $(NULL) libs:: $(_TEST_FILES)
--- a/editor/libeditor/html/tests/test_contenteditable_text_input_handling.html +++ b/editor/libeditor/html/tests/test_contenteditable_text_input_handling.html @@ -1,19 +1,19 @@ <html> <head> <title>Test for text input event handling on contenteditable editor</title> <script type="text/javascript" - src="/MochiKit/packed.js"></script> + src="chrome://mochikit/content/MochiKit/packed.js"></script> <script type="text/javascript" - src="/tests/SimpleTest/SimpleTest.js"></script> + src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> <script type="text/javascript" - src="/tests/SimpleTest/EventUtils.js"></script> + src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> <link rel="stylesheet" type="text/css" - href="/tests/SimpleTest/test.css" /> + href="chrome://mochikit/content/tests/SimpleTest/test.css" /> </head> <body> <div id="display"> <p id="static">static content<input id="inputInStatic"><textarea id="textareaInStatic"></textarea></p> <p id="editor"contenteditable="true">content editable<input id="inputInEditor"><textarea id="textareaInEditor"></textarea></p> </div> <div id="content" style="display: none"> @@ -23,17 +23,16 @@ <script class="testbody" type="application/javascript"> SimpleTest.waitForExplicitFinish(); SimpleTest.waitForFocus(runTests); function runTests() { - netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var fm = Components.classes["@mozilla.org/focus-manager;1"]. getService(Components.interfaces.nsIFocusManager); var listener = { handleEvent: function _hv(aEvent) { aEvent.preventDefault(); // prevent the browser default behavior }