Backed out changeset f42e4a61d6a5 (bug 1397656) for failing modified mochitest test_bug966552.html. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 07 Sep 2017 22:59:03 +0200
changeset 379500 78ab7b444a9c125ead34fae6777021d8103571d7
parent 379499 83d8880fbf0e4301a8c600fd40cdd4a36d50a1ab
child 379501 903bd3c9bfdd2ac36a20f6601b407410508e3f44
push id94691
push userarchaeopteryx@coole-files.de
push dateThu, 07 Sep 2017 20:59:32 +0000
treeherdermozilla-inbound@78ab7b444a9c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1397656, 966552
milestone57.0a1
backs outf42e4a61d6a5e0ecd932702ebc4fe5f7e9453c30
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
Backed out changeset f42e4a61d6a5 (bug 1397656) for failing modified mochitest test_bug966552.html. r=backout
editor/libeditor/tests/browser.ini
editor/libeditor/tests/bug527935.html
editor/libeditor/tests/bug527935_2.html
editor/libeditor/tests/file_bug635636_2.html
editor/libeditor/tests/file_bug966155.html
editor/libeditor/tests/file_bug966552.html
editor/libeditor/tests/mochitest.ini
editor/libeditor/tests/test_bug635636.html
editor/libeditor/tests/test_bug966155.html
editor/libeditor/tests/test_bug966552.html
--- a/editor/libeditor/tests/browser.ini
+++ b/editor/libeditor/tests/browser.ini
@@ -1,8 +1,6 @@
 [browser_bug527935.js]
 skip-if = toolkit == 'android'
-support-files =
-  bug527935.html
-  bug527935_2.html
+support-files = bug527935.html
 [browser_bug629172.js]
 skip-if = toolkit == 'android'
 support-files = bug629172.html
--- a/editor/libeditor/tests/bug527935.html
+++ b/editor/libeditor/tests/bug527935.html
@@ -1,11 +1,11 @@
 <!DOCTYPE HTML>
 <html>
 <body>
 <div id="content">
   <iframe id="formTarget" name="formTarget"></iframe>
-  <form action="bug527935_2.html" target="formTarget">
+  <form action="data:text/html," target="formTarget">
     <input name="test" id="initValue"><input type="submit">
   </form>
 </div>
 </body>
 </html
deleted file mode 100644
--- a/editor/libeditor/tests/bug527935_2.html
+++ /dev/null
@@ -1,1 +0,0 @@
-<html><body>dummy page</body></html>
deleted file mode 100644
--- a/editor/libeditor/tests/file_bug635636_2.html
+++ /dev/null
@@ -1,1 +0,0 @@
-<html><body>2</body></html>
deleted file mode 100644
--- a/editor/libeditor/tests/file_bug966155.html
+++ /dev/null
@@ -1,1 +0,0 @@
-<input><iframe onload="contentDocument.designMode = 'on';">
deleted file mode 100644
--- a/editor/libeditor/tests/file_bug966552.html
+++ /dev/null
@@ -1,1 +0,0 @@
-<body onload="document.designMode='on'">test</body>
--- a/editor/libeditor/tests/mochitest.ini
+++ b/editor/libeditor/tests/mochitest.ini
@@ -7,22 +7,19 @@ support-files =
   data/cfhtml-nocontext.txt
   file_bug289384-1.html
   file_bug289384-2.html
   file_bug549262.html
   file_bug586662.html
   file_bug611182.html
   file_bug611182.sjs
   file_bug635636.xhtml
-  file_bug635636_2.html
   file_bug674770-1.html
   file_bug795418-2.sjs
   file_bug915962.html
-  file_bug966155.html
-  file_bug966552.html
   file_select_all_without_body.html
   green.png
   spellcheck.js
 
 [test_bug46555.html]
 [test_bug200416.html]
 [test_bug289384.html]
 skip-if = os != "mac"
--- a/editor/libeditor/tests/test_bug635636.html
+++ b/editor/libeditor/tests/test_bug635636.html
@@ -33,17 +33,17 @@ addLoadEvent(async function() {
 
   function unloadWindow(aWindow)
   {
     return new Promise(resolve => {
       aWindow.addEventListener("unload", () => {
         ok(true, "The window has been unloaded");
         SimpleTest.executeSoon(() => { resolve(0); });
       }, { once: true });
-      aWindow.location = "file_bug635636_2.html";
+      aWindow.location = "data:text/plain,2";
     });
   }
 
   let contentWindow = await openNewWindow("file_bug635636.xhtml");
 
   contentWindow.addEventListener("load", () => { ok(true, "load"); });
   contentWindow.addEventListener("pageshow", () => { ok(true, "pageshow"); });
 
--- a/editor/libeditor/tests/test_bug966155.html
+++ b/editor/libeditor/tests/test_bug966155.html
@@ -19,17 +19,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 SimpleTest.waitForExplicitFinish();
 
 addLoadEvent(function() {
   SpecialPowers.pushPrefEnv({"set": [
     ["security.data_uri.unique_opaque_origin", false]]}, nextTest);
 });
 
 function nextTest() {
-  var win = window.open("file_bug966155.html", "", "test-966155");
+  var win = window.open("data:text/html,<input><iframe onload=\"contentDocument.designMode = 'on';\">", "", "test-966155");
   win.addEventListener("load", function() {
     runTest(win);
   }, {once: true});
 }
 
 function runTest(win) {
   SimpleTest.waitForFocus(function() {
     var doc = win.document;
--- a/editor/libeditor/tests/test_bug966552.html
+++ b/editor/libeditor/tests/test_bug966552.html
@@ -19,17 +19,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 SimpleTest.waitForExplicitFinish();
 
 addLoadEvent(function() {
   SpecialPowers.pushPrefEnv({"set": [
     ["security.data_uri.unique_opaque_origin", false]]}, nextTest);
 });
 
 function nextTest() {
-  var win = window.open("file_bug966552.html", "", "test-966552");
+  var win = window.open("data:text/html,<body onload=\"document.designMode='on'\">test</body>", "", "test-966552");
   win.addEventListener("load", function() {
     runTest(win);
   }, {once: true});
 }
 
 function runTest(win) {
   SimpleTest.waitForFocus(function() {
     var doc = win.document;