From 43b91bbb86a77738f9f03308386b246e1ef92e14 Mon Sep 17 00:00:00 2001 From: Marco Zehe Date: Fri, 13 Mar 2009 15:33:33 +0100 Subject: [PATCH] bug 481720 - Don't load remote images in mochitests, r=davidb --- accessible/tests/mochitest/Makefile.in | 5 +++-- accessible/tests/mochitest/letters.gif | Bin 0 -> 5596 bytes .../mochitest/test_nsIAccessibleHyperLink.html | 2 +- .../mochitest/test_nsIAccessibleHyperText.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 accessible/tests/mochitest/letters.gif diff --git a/accessible/tests/mochitest/Makefile.in b/accessible/tests/mochitest/Makefile.in index 57b80e0f3006..738277b08b49 100644 --- a/accessible/tests/mochitest/Makefile.in +++ b/accessible/tests/mochitest/Makefile.in @@ -46,6 +46,7 @@ include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk _TEST_FILES =\ + letters.gif \ moz.png \ longdesc_src.html \ attributes.js \ @@ -90,9 +91,9 @@ _TEST_FILES =\ test_nsIAccessible_focus.html \ test_nsIAccessibleDocument.html \ test_nsIAccessibleEditableText.html \ - $(warning test_nsIAccessibleHyperLink.html temporarily disabled) \ + test_nsIAccessibleHyperLink.html \ test_nsIAccessibleHyperLink.xul \ - $(warning test_nsIAccessibleHyperText.html temporarily disabled) \ + test_nsIAccessibleHyperText.html \ test_nsIAccessibleImage.html \ $(warning test_nsIAccessibleTable_listboxes.xul temporarily disabled) \ test_nsIAccessNode_utils.html \ diff --git a/accessible/tests/mochitest/letters.gif b/accessible/tests/mochitest/letters.gif new file mode 100644 index 0000000000000000000000000000000000000000..299b91784a884d37ea429ecc445db742b26c4740 GIT binary patch literal 5596 zcmWmDdpy&NSg@uKsrKOdX)z+S%y}g5jgQKIPlatf7ZQHhQ z-@aqV4rgcQojZ5#+O=!(-%gfu_d(WOdK0ZFa zzP@|+?)CHY^Y`};2nb*>7=eL-`}XY%3JMAi4&J|ie@IA3XlQ6ySlEFB2g1X{BO)RW z9z1yH(4ol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$a{a?rR{PG?ixKHLly2mg33Blc$7if(HHbKHe$dXev$}^JHay8KBqYV zbKf@~2D0rhEx!dX+_cP<0Rceu{xE2k3 zQ#kgv5F_TIn}yH_3VL4(=13xVG++JL;=I+Uwj=K1XF!kH<%-r6`*qZ>Mj&6NT;}W6 zM8OPAg+z_-6jAZ7Xt)_Ec3O;SlmhNl(h&wKmTg2IMrF$_T~L~~98Wfk#2-XWp9iv~ zyKFlhSmEf46wD16_MsgAO?dVK++}$)RCkj>ka5w~a=RKIl|<_;aYEEQRf>qwH;Gqx)c5k%iIu z5%|X<+$*}@un5y5Mqic;v^nkqAV9uE&vGNrCQPeYYs=P%T||6?+U!zXLK3b_tHjvf`_+7$;Q+^49mx2+UyTiBRuGI9|NT-tE4 zpQZL$q=11_pw%8HSkv%sC-|XPkZQ`T-*@j-#4DQrPj5Khl-#ft8OB>!#e&S zp$-bVhmIMRU_YtjHC#ruK!TjTzdZ*3M#MV|$GunRzeI!l%0a#y01zNo7T@i(S=N_T z_IIPI#pn2rXMpbTo+dfeO~F2A-Yy_-J(|vY$HnzCpkLC}lVQLie&{hSz-o<3mORX! z_jM&tTq&6?&a$_YxbC3arn> z*P@P{(+M8(LWC>`s-7s`$WGi-9L+_Bvysgqs3a~>N5{;_an$%b73a2lrsCepa4*=n z0phXQstf7t`fGvaz19G~3YFxiQdMP~Dn;ePJU%{;V%h_ph9p;W?YnFCEVfR1bVr3U z5JSN%)5!IO`#3)z zQV3HoXP|$TV6Mn8qr$oK1M>&{v{uE9EmH72g2j6A zW|24>uCq1e`pdv)HkX*_D%vi>lQXM{wb!~)DSl6cq$lz2fcmBuKq8e|n}5a{sN1eQ zwRSz@m!_@;aEZ_rF}6I92j<^?KQou~$G$GnpjxK7mwRI63hIau6%8xxjYh?)XmLJf5ENi0szB>a@ + src="letters.gif">
Empty link:
diff --git a/accessible/tests/mochitest/test_nsIAccessibleHyperText.html b/accessible/tests/mochitest/test_nsIAccessibleHyperText.html index c7cc26f6b3ec..16635dcd3163 100644 --- a/accessible/tests/mochitest/test_nsIAccessibleHyperText.html +++ b/accessible/tests/mochitest/test_nsIAccessibleHyperText.html @@ -98,7 +98,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=428248 + src="letters.gif">
Empty link:

Link with embedded span