Bug 1224873 - part 1 - remove unused xlink:href attributes; r=dholbert
authorNathan Froyd <froydnj@mozilla.com>
Thu, 29 Sep 2016 17:56:33 -0400
changeset 315839 19a1bd113a836e589c65acad8e677e0e0ed36ec1
parent 315838 67993d2f24d25612149b50f1c0a4dc17a84eb641
child 315840 fe97a239ab5a2c8111712ca86a9ed3fdb5f4e942
push id20634
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:10:13 +0000
treeherderfx-team@afe79b010d13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1224873
milestone52.0a1
Bug 1224873 - part 1 - remove unused xlink:href attributes; r=dholbert 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");
                            },