Backed out test of changeset fe4514c84e7a (bug 169521 / bug 1438833) to build Thunderbird 60.5.0. a=jorgk THUNDERBIRD_60_VERBRANCH
authorJorg K <jorgk@jorgk.com>
Tue, 01 Jan 2019 20:30:13 +0100
branchTHUNDERBIRD_60_VERBRANCH
changeset 450655 7bd4edb13f5e
parent 450654 3786ba0b991a
child 450827 248ca5c585f8
push id282
push usermozilla@jorgk.com
push dateTue, 01 Jan 2019 19:39:53 +0000
treeherdermozilla-esr60@7bd4edb13f5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs169521, 1438833
milestone60.4.1
Backed out test of changeset fe4514c84e7a (bug 169521 / bug 1438833) to build Thunderbird 60.5.0. a=jorgk
testing/web-platform/tests/domparsing/XMLSerializer-serializeToString.html
--- a/testing/web-platform/tests/domparsing/XMLSerializer-serializeToString.html
+++ b/testing/web-platform/tests/domparsing/XMLSerializer-serializeToString.html
@@ -35,26 +35,11 @@ test(function() {
 
 test(function() {
   var input = '<root xmlns="urn:bar"><outer xmlns=""><inner>value1</inner></outer></root>';
   var root = (new DOMParser()).parseFromString(input, 'text/xml').documentElement;
   var xmlString = (new XMLSerializer()).serializeToString(root);
   assert_equals(xmlString, '<root xmlns="urn:bar"><outer xmlns=""><inner>value1</inner></outer></root>');
 }, 'Check if there is no redundant empty namespace declaration.');
 
-test(function() {
-  var serializer = new XMLSerializer();
-  var parser = new DOMParser();
-  var root = parser.parseFromString('<root />', 'text/xml').documentElement;
-  root.setAttribute('attr', '\t');
-  assert_in_array(serializer.serializeToString(root), [
-    '<root attr="&#9;"/>', '<root attr="&#x9;"/>']);
-  root.setAttribute('attr', '\n');
-  assert_in_array(serializer.serializeToString(root), [
-    '<root attr="&#xA;"/>', '<root attr="&#10;"/>']);
-  root.setAttribute('attr', '\r');
-  assert_in_array(serializer.serializeToString(root), [
-    '<root attr="&#xD;"/>', '<root attr="&#13;"/>']);
-}, 'check XMLSerializer.serializeToString escapes attribute values for roundtripping');
-
 </script>
  </body>
 </html>