Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel a=test-only
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 04 Apr 2016 16:28:12 -0400
changeset 323795 cf0db787870b9d1fa5e956d96484c21239f63379
parent 323794 109b867538bb32189a2c8125df2a8bf04e769278
child 323796 89da35a833637bbf8cb82fb47eecb4584cdf31c9
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel, test-only
bugs1261158
milestone47.0a2
Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel a=test-only MozReview-Commit-ID: IIJT4178POO
image/test/mochitest/chrome.ini
image/test/mochitest/mochitest.ini
image/test/mochitest/test_svg_animatedGIF.html
--- a/image/test/mochitest/chrome.ini
+++ b/image/test/mochitest/chrome.ini
@@ -1,16 +1,15 @@
 [DEFAULT]
 skip-if = buildapp == 'b2g' || os == 'android'
 support-files =
   animated-gif-finalframe.gif
   animated-gif.gif
   animated1.gif
   animated2.gif
-  animation.svg
   animationPolling.js
   filter-final.svg
   filter.svg
   iframe.html
   imgutils.js
   ref-iframe.html
   bug1132427.html
   bug1132427.gif
@@ -18,15 +17,14 @@ support-files =
 [test_animation.html]
 disabled = bug 1100497
 [test_animation2.html]
 disabled = bug 1101415
 [test_bug415761.html]
 skip-if = os != "win" || os_version == "6.2"
 support-files =
   bug415761.ico
-[test_svg_animatedGIF.html]
 [test_svg_filter_animation.html]
 [test_synchronized_animation.html]
 [test_undisplayed_iframe.html]
 disabled = bug 1060869
 [test_xultree_animation.xhtml]
 [test_bug1132427.html]
--- a/image/test/mochitest/mochitest.ini
+++ b/image/test/mochitest/mochitest.ini
@@ -1,15 +1,16 @@
 [DEFAULT]
 support-files =
   INT32_MIN.bmp
   animated-gif.gif
   animated-gif2.gif
   animated-gif_trailing-garbage.gif
   animated-gif-finalframe.gif
+  animation.svg
   animationPolling.js
   bad.jpg
   big.png
   blue.png
   bug399925.gif
   bug468160.sjs
   bug478398_ONLY.png
   bug490949-iframe.html
@@ -130,8 +131,10 @@ skip-if = buildapp == 'b2g' || os == 'an
 [test_net_failedtoprocess.html]
 skip-if = buildapp == 'b2g' || os == 'android'
 [test_removal_ondecode.html]
 skip-if = buildapp == 'b2g' || os == 'android'
 [test_removal_onload.html]
 skip-if = buildapp == 'b2g' || os == 'android'
 [test_staticClone.html]
 skip-if = buildapp == 'b2g' || os == 'android'
+[test_svg_animatedGIF.html]
+skip-if = buildapp == 'b2g' || os == 'android'
--- a/image/test/mochitest/test_svg_animatedGIF.html
+++ b/image/test/mochitest/test_svg_animatedGIF.html
@@ -1,20 +1,20 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=666446
 -->
 <head>
   <title>Test for Bug 666446 - Animated Raster Images inside of SVG Frames</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
+  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
+  <script type="application/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
   <script type="application/javascript" src="imgutils.js"></script>
   <script type="application/javascript" src="animationPolling.js"></script>
-  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
+  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
 </head>
 
 <!--  Make sure embed element is snapped to an exact pixel. -->
 <div class="bug-header" style="height: 100px;">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=666446">
   Mozilla Bug 666446: lots of animated gifs swamp us with paint events
   </a>
 </div>