Bug 1269209 - Port test_bug1250010.html from chrome to plain; r?masayuki draft
authorAryeh Gregor <ayg@aryeh.name>
Mon, 22 Aug 2016 21:23:13 +0300
changeset 430288 254aaf69f76cc26ac403313865c89cbee09b0392
parent 430287 d064d374f7f620fcec587375cdce21a26d943f55
child 430289 dad11cdedbbaab32312fa7095481c3e3a13b8773
push id33793
push userayg@aryeh.name
push dateThu, 27 Oct 2016 13:30:40 +0000
reviewersmasayuki
bugs1269209, 1250010
milestone52.0a1
Bug 1269209 - Port test_bug1250010.html from chrome to plain; r?masayuki MozReview-Commit-ID: AerXvBRSmqN
editor/libeditor/tests/chrome.ini
editor/libeditor/tests/mochitest.ini
editor/libeditor/tests/test_bug1250010.html
--- a/editor/libeditor/tests/chrome.ini
+++ b/editor/libeditor/tests/chrome.ini
@@ -17,17 +17,16 @@ skip-if = buildapp == 'mulet'
 [test_bug1102906.html]
 [test_bug1101392.html]
 subsuite = clipboard
 [test_bug1140617.xul]
 subsuite = clipboard
 [test_bug1153237.html]
 [test_bug1248128.html]
 [test_bug1248185.html]
-[test_bug1250010.html]
 [test_bug1257363.html]
 [test_composition_event_created_in_chrome.html]
 [test_contenteditable_text_input_handling.html]
 [test_dragdrop.html]
 skip-if = buildapp == 'mulet'
 [test_htmleditor_keyevent_handling.html]
 [test_selection_move_commands.xul]
 [test_set_document_title_transaction.html]
--- a/editor/libeditor/tests/mochitest.ini
+++ b/editor/libeditor/tests/mochitest.ini
@@ -169,16 +169,17 @@ skip-if = os != "win"
 [test_bug998188.html]
 [test_bug1026397.html]
 [test_bug1053048.html]
 [test_bug1067255.html]
 [test_bug1094000.html]
 [test_bug1100966.html]
 [test_bug1140105.html]
 [test_bug1154791.html]
+[test_bug1250010.html]
 [test_CF_HTML_clipboard.html]
 subsuite = clipboard
 [test_contenteditable_focus.html]
 [test_dom_input_event_on_htmleditor.html]
 skip-if = toolkit == 'android' # bug 1054087
 [test_dom_input_event_on_texteditor.html]
 [test_keypress_untrusted_event.html]
 [test_root_element_replacement.html]
--- a/editor/libeditor/tests/test_bug1250010.html
+++ b/editor/libeditor/tests/test_bug1250010.html
@@ -1,18 +1,18 @@
 <!DOCTYPE>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1250010
 -->
 <head>
   <title>Test for Bug 1250010</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
+  <script src="/tests/SimpleTest/SimpleTest.js"></script>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css">
+  <script src="/tests/SimpleTest/EventUtils.js"></script>
 </head>
 <body>
 <div id="display">
 </div>
 
 <div id="test1" contenteditable><p><b><font color="red">1234567890</font></b></p></div>
 <div id="test2" contenteditable><p><tt>xyz</tt></p><p><tt><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAIAAABvrngfAAAAFklEQVQImWMwjWhCQwxECoW3oCHihAB0LyYv5/oAHwAAAABJRU5ErkJggg=="></tt></p></div>