Bug 1224873 - Part 1: Remove unused xlink:href attributes. r=dholbert, a=test-only
authorNathan Froyd <froydnj@mozilla.com>
Thu, 29 Sep 2016 17:56:33 -0400
changeset 350473 14f096b1e6a5031256d0c3e71bb91f830bc20a6b
parent 350472 01908230207066c3d650d963774b4d803a9516d3
child 350474 2c2ffdd3774f2c3c158a9cd52e7369f2bf47ffbd
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert, test-only
bugs1224873
milestone50.0
Bug 1224873 - Part 1: Remove unused xlink:href attributes. r=dholbert, a=test-only Nothing in the tests uses them, and having them makes the tests spew unnecessary warnings. Let's remove them.
dom/base/test/file_use_counter_svg_currentScale.svg
dom/base/test/file_use_counter_svg_getElementById.svg
--- a/dom/base/test/file_use_counter_svg_currentScale.svg
+++ b/dom/base/test/file_use_counter_svg_currentScale.svg
@@ -6,13 +6,12 @@
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">
   <desc>Test graphic for hitting currentScale
   </desc>
   <script type="text/javascript"> <![CDATA[
     document.documentElement.currentScale = document.documentElement.currentScale;
     ]]>
   </script>
-  <image id="i1" x="200" y="200" width="100px" height="80px"
-         xlink:href="no-such-scheme:nothing">
+  <image id="i1" x="200" y="200" width="100px" height="80px">
   </image>
   <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/>
 </svg>
--- a/dom/base/test/file_use_counter_svg_getElementById.svg
+++ b/dom/base/test/file_use_counter_svg_getElementById.svg
@@ -2,18 +2,17 @@
 
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
   "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
 <svg width="4in" height="3in" version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink">
   <desc>Test graphic for hitting getElementById
   </desc>
-  <image id="i1" x="200" y="200" width="100px" height="80px"
-         xlink:href="no-such-scheme:nothing">
+  <image id="i1" x="200" y="200" width="100px" height="80px">
   </image>
   <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/>
   <script type="text/javascript"> <![CDATA[
     var image = document.documentElement.getElementById("i1");
     image.addEventListener("load",
                            function() {
                             document.documentElement.removeAttribute("class");
                            },