Bug 481720 - Don't load remote images in mochitests, r=davidb
authorMarco Zehe <marco.zehe@googlemail.com>
Tue, 09 Jun 2009 18:46:08 +0200
changeset 25919 57cab9f9262df59da0cd455b428501b7ca717237
parent 25918 f308c18a0a75b319757f1e00ceb99df6950ac496
child 25920 c1a7081602682ef4e631355439992bde010d374e
push id1671
push usermzehe@mozilla.com
push dateTue, 09 Jun 2009 17:24:59 +0000
reviewersdavidb
bugs481720
milestone1.9.1pre
Bug 481720 - Don't load remote images in mochitests, r=davidb
accessible/tests/mochitest/Makefile.in
accessible/tests/mochitest/letters.gif
accessible/tests/mochitest/test_nsIAccessibleHyperLink.html
accessible/tests/mochitest/test_nsIAccessibleHyperText.html
--- a/accessible/tests/mochitest/Makefile.in
+++ b/accessible/tests/mochitest/Makefile.in
@@ -41,16 +41,17 @@ topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 relativesrcdir  = accessible
 
 include $(DEPTH)/config/autoconf.mk
 include $(topsrcdir)/config/rules.mk
 
 _TEST_FILES =\
+		letters.gif \
 		moz.png \
 		$(topsrcdir)/content/media/video/test/bug461281.ogg \
 		longdesc_src.html \
 		actions.js \
 		attributes.js \
 		common.js \
 		events.js \
 		layout.js \
@@ -86,19 +87,19 @@ include $(topsrcdir)/config/rules.mk
 		test_nsIAccessible_name_button.html \
 		test_nsIAccessible_name_link.html \
 		$(warning test_nsIAccessible_name.xul temporarily disabled) \
  		test_nsIAccessible_selects.html \
 		test_nsIAccessible_states.html \
 		test_nsIAccessible_focus.html \
 		test_nsIAccessibleDocument.html \
 		test_nsIAccessibleEditableText.html \
-		$(warning test_nsIAccessibleHyperLink.html temporarily disabled) \
+		test_nsIAccessibleHyperLink.html \
 		$(warning test_nsIAccessibleHyperLink.xul temporarily disabled) \
-		$(warning test_nsIAccessibleHyperText.html temporarily disabled) \
+		test_nsIAccessibleHyperText.html \
 		test_nsIAccessibleImage.html \
 		test_nsIAccessibleTable_1.html \
 		test_nsIAccessibleTable_2.html \
 		test_nsIAccessibleTable_3.html \
 		test_nsIAccessibleTable_4.html \
 		$(warning test_nsIAccessibleTable_listboxes.xul temporarily disabled) \
 		test_nsIAccessNode_utils.html \
 		test_nsOuterDocAccessible.html \
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..299b91784a884d37ea429ecc445db742b26c4740
GIT binary patch
literal 5596
zc$^i}dpy&N<HzxhZJ*C)clTk~+;VU3D%IRYm<UmtTjo}qTjbJa7!h+ls2B-dP7Nt_
zRCB*XO(K<Q=%U;CjymU5r{nz2@BRP#uh--0wa3$GThu)`0ru_??7zX`a0LYgMMXsf
z0)a##Q79Au03ZlL5QIjfF&GRMi^bt^cs!m!AP|W}B_$<gWn~o=6;)MLH8nMLb#)C5
z4HAi@si~=@rKPQ{O(v6dbaZreb@lZ0C=?2nO4ZlbH!v_TG&D3aGBP$c-m+zjiHV7+
zsi~QnnYp>Sg@uKsrKOdX)z+<BX*8O(wY80njjgS%ot>S%y}g5jgQKIPlatf7ZQHhQ
z-@aqV4rgcQojZ5#+O=!<?%i}c-NnVl)z#I_&CT82-NVDf)6>(-%gfu_d(WOdK0ZFa
zzP@|+?)CHY^Y`};2nb*>7=eL-`}XY%3JMAi4&J|ie@IA3XlQ6ySlEFB2g1X{BO)RW
z9z1yH(4ol4$is&ZGnve&sHo`Z=$M$8*x1;(xVR%nj>N~uvskQzgoMPz#H6I8<mBX(
zl$4`Kj~+XAjLl|qIGohf)U>p;^z`(MjEv08%;U$8XJut&XJ?-{aUv%tCpR}YFE1}Y
zKmX*(lUy#B$Kw?g6!7`{!otF$qN3vBVu3(VQc_Y{T6*f#sj{-N^78W2r%zW@R8&@0
z3WdU|s;cVh>YAFG+S=N>y1M%M`d@zerJ<prv9YnKsp-s_GiT49J$LS0b8~Y`ON&S(
zYHe+8Yim1y{(O6T`-KY^IyyQ!J3G6&x-MS4c<Ium%a<=-xpL*#Uw^%N_3E{2*TiCR
zcXxMBPfu@e@Ad1~`}+EB+_-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_rF}6I92j<^?KQou~$G$GnpjxK7mwRI63hIau6%8xxjYh?)Xm<v;
p)*7tT&SmzM?H;oQRwGn?{R1c>LJf5ENi0szB>a@<!r`zT{|9dMEnfft
--- a/accessible/tests/mochitest/test_nsIAccessibleHyperLink.html
+++ b/accessible/tests/mochitest/test_nsIAccessibleHyperLink.html
@@ -447,17 +447,17 @@ https://bugzilla.mozilla.org/show_bug.cg
     <area href="http://www.bbc.co.uk/radio4/atoz/index.shtml#a"
           coords="0,0,13,14"
           alt="a"
           shape="rect"></area>
   </map>
   <img width="447" id="imgmap"
        height="15"
        usemap="#atoz_map"
-       src="http://www.bbc.co.uk/radio4/images/letters.gif"></img>
+       src="letters.gif"></img>
 
   <br>Empty link:<br>
   <a id="emptyLink" href=""><img src=""></img></a>
 
   <br>Link with embedded span<br>
   <a id="LinkWithSpan" href="http://www.heise.de/"><span lang="de">Heise Online</span></a>
 
   <br>Named anchor, must not have "linked" state for it to be exposed correctly:<br>
--- a/accessible/tests/mochitest/test_nsIAccessibleHyperText.html
+++ b/accessible/tests/mochitest/test_nsIAccessibleHyperText.html
@@ -97,17 +97,17 @@ https://bugzilla.mozilla.org/show_bug.cg
       <area href="http://www.bbc.co.uk/radio4/atoz/index.shtml#a"
             coords="0,0,13,14"
             alt="a"
             shape="rect"></area>
     </map>
     <img width="447" id="imgmap"
          height="15"
          usemap="#atoz_map"
-         src="http://www.bbc.co.uk/radio4/images/letters.gif"></img>
+         src="letters.gif"></img>
     <br>Empty link:<br>
     <a id="emptyLink" href=""><img src=""></img></a>
     <br>Link with embedded span<br>
     <a id="LinkWithSpan" href="http://www.heise.de/"><span lang="de">Heise Online</span></a>
     <br>Named anchor, must not have "linked" state for it to be exposed correctly:<br>
     <a id="namedAnchor" name="named_anchor">This should never be of state_linked</a>
   </p>
 </body>