Use a zip instead of an xpi file to test document states in order to avoid the permission prompt (
bug 1004061). r=tbsaunde
MozReview-Commit-ID: CBH4J1eita0
--- a/accessible/tests/mochitest/a11y.ini
+++ b/accessible/tests/mochitest/a11y.ini
@@ -1,12 +1,12 @@
[DEFAULT]
support-files =
../../../dom/media/test/bug461281.ogg
- dumbfile.xpi
+ dumbfile.zip
formimage.png
letters.gif
moz.png
longdesc_src.html
*.js
treeview.css
[test_aria_token_attrs.html]
rename from accessible/tests/mochitest/dumbfile.xpi
rename to accessible/tests/mochitest/dumbfile.zip
--- a/accessible/tests/mochitest/states/a11y.ini
+++ b/accessible/tests/mochitest/states/a11y.ini
@@ -1,17 +1,17 @@
[DEFAULT]
support-files =
z_frames.html
z_frames_article.html
z_frames_checkbox.html
z_frames_textbox.html
z_frames_update.html
!/accessible/tests/mochitest/*.js
- !/accessible/tests/mochitest/dumbfile.xpi
+ !/accessible/tests/mochitest/dumbfile.zip
!/accessible/tests/mochitest/formimage.png
!/accessible/tests/mochitest/treeview.css
[test_aria.html]
[test_aria.xul]
[test_aria_imgmap.html]
[test_aria_widgetitems.html]
[test_buttons.html]
--- a/accessible/tests/mochitest/states/test_doc_busy.html
+++ b/accessible/tests/mochitest/states/test_doc_busy.html
@@ -69,11 +69,11 @@
title="Missing busy state change event when downloading files"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=446469">Bug 446469</a>
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test">
</pre>
- <a id="link" href="http://example.com/a11y/accessible/tests/mochitest/dumbfile.xpi">a file</a>
+ <a id="link" href="http://example.com/a11y/accessible/tests/mochitest/dumbfile.zip">a file</a>
</body>
</html>