Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
authorTed Shroyer <tedshroyer@gmail.com>
Fri, 20 Jul 2012 14:00:53 -0500
changeset 106355 baffbb5841f39493559b2d7ee9d389c983627d0f
parent 106354 ac1975f6837b68186ff256fbe78b6f1c57a2536e
child 106356 8cad55a9891f47982dc5aa62af4fc6798b132144
push id1490
push userakeybl@mozilla.com
push dateMon, 08 Oct 2012 18:29:50 +0000
treeherdermozilla-beta@f335e7dacdc1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs765890
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
content/xslt/tests/mochitest/test_bug427060.html
content/xslt/tests/mochitest/test_bug440974.html
content/xslt/tests/mochitest/test_bug453441.html
content/xslt/tests/mochitest/test_bug468208.html
js/src/tests/e4x/Expressions/11.1.1.js
js/src/tests/e4x/Expressions/11.1.2.js
js/src/tests/e4x/Expressions/11.1.3.js
js/src/tests/e4x/Expressions/11.1.4-01.js
js/src/tests/e4x/Expressions/11.1.4-02.js
js/src/tests/e4x/Expressions/11.1.4-03.js
js/src/tests/e4x/Expressions/11.1.4-04.js
js/src/tests/e4x/Expressions/11.1.4-05.js
js/src/tests/e4x/Expressions/11.1.4-06.js
js/src/tests/e4x/Expressions/11.1.4-07.js
js/src/tests/e4x/Expressions/11.1.4-08.js
js/src/tests/e4x/Expressions/11.1.4.js
js/src/tests/e4x/Expressions/11.1.5.js
js/src/tests/e4x/Expressions/11.2.1.js
js/src/tests/e4x/Expressions/11.2.2.js
js/src/tests/e4x/Expressions/11.2.3.js
js/src/tests/e4x/Expressions/11.2.4.js
js/src/tests/e4x/Expressions/11.3.1.js
js/src/tests/e4x/Expressions/11.3.2.js
js/src/tests/e4x/Expressions/11.4.1.js
js/src/tests/e4x/Expressions/11.5.1.js
js/src/tests/e4x/Expressions/11.6.1.js
js/src/tests/e4x/Expressions/11.6.2.js
js/src/tests/e4x/Expressions/11.6.3.js
js/src/tests/e4x/Expressions/regress-301545.js
js/src/tests/e4x/Expressions/regress-302531.js
js/src/tests/e4x/Expressions/regress-340024.js
js/src/tests/e4x/Expressions/regress-366123.js
js/src/tests/e4x/Expressions/regress-496113.js
js/src/tests/e4x/GC/regress-280844-1.js
js/src/tests/e4x/GC/regress-280844-2.js
js/src/tests/e4x/GC/regress-292455.js
js/src/tests/e4x/GC/regress-313952-01.js
js/src/tests/e4x/GC/regress-313952-02.js
js/src/tests/e4x/GC/regress-324117.js
js/src/tests/e4x/GC/regress-324278.js
js/src/tests/e4x/GC/regress-339785.js
js/src/tests/e4x/GC/regress-357063-01.js
js/src/tests/e4x/GC/regress-357063-02.js
js/src/tests/e4x/Global/13.1.2.1.js
js/src/tests/e4x/Namespace/13.2.1.js
js/src/tests/e4x/Namespace/13.2.2.js
js/src/tests/e4x/Namespace/13.2.5.js
js/src/tests/e4x/Namespace/regress-283972.js
js/src/tests/e4x/Namespace/regress-292863.js
js/src/tests/e4x/Namespace/regress-350442.js
js/src/tests/e4x/Namespace/regress-444608-02.js
js/src/tests/e4x/Namespace/regress-444608.js
js/src/tests/e4x/QName/13.3.1.js
js/src/tests/e4x/QName/13.3.2.js
js/src/tests/e4x/QName/13.3.5.js
js/src/tests/e4x/QName/regress-373595-01.js
js/src/tests/e4x/QName/regress-373595-02.js
js/src/tests/e4x/QName/regress-373595-03.js
js/src/tests/e4x/QName/regress-444608.js
js/src/tests/e4x/QName/regress-619529.js
js/src/tests/e4x/Regress/regress-257679.js
js/src/tests/e4x/Regress/regress-263934.js
js/src/tests/e4x/Regress/regress-263935.js
js/src/tests/e4x/Regress/regress-263936.js
js/src/tests/e4x/Regress/regress-264369.js
js/src/tests/e4x/Regress/regress-271545.js
js/src/tests/e4x/Regress/regress-277650.js
js/src/tests/e4x/Regress/regress-277664.js
js/src/tests/e4x/Regress/regress-277683.js
js/src/tests/e4x/Regress/regress-277779.js
js/src/tests/e4x/Regress/regress-277935.js
js/src/tests/e4x/Regress/regress-278112.js
js/src/tests/e4x/Regress/regress-283349.js
js/src/tests/e4x/Regress/regress-290056.js
js/src/tests/e4x/Regress/regress-290499.js
js/src/tests/e4x/Regress/regress-301553.js
js/src/tests/e4x/Regress/regress-301573.js
js/src/tests/e4x/Regress/regress-301596.js
js/src/tests/e4x/Regress/regress-308111.js
js/src/tests/e4x/Regress/regress-309897.js
js/src/tests/e4x/Regress/regress-311580.js
js/src/tests/e4x/Regress/regress-313799.js
js/src/tests/e4x/Regress/regress-318922.js
js/src/tests/e4x/Regress/regress-319872.js
js/src/tests/e4x/Regress/regress-322499.js
js/src/tests/e4x/Regress/regress-323338-1.js
js/src/tests/e4x/Regress/regress-323338-2.js
js/src/tests/e4x/Regress/regress-325425.js
js/src/tests/e4x/Regress/regress-327564.js
js/src/tests/e4x/Regress/regress-327691-01.js
js/src/tests/e4x/Regress/regress-327691-02.js
js/src/tests/e4x/Regress/regress-327697.js
js/src/tests/e4x/Regress/regress-328249.js
js/src/tests/e4x/Regress/regress-329257.js
js/src/tests/e4x/Regress/regress-331664.js
js/src/tests/e4x/Regress/regress-344455.js
js/src/tests/e4x/Regress/regress-347155.js
js/src/tests/e4x/Regress/regress-350206-1.js
js/src/tests/e4x/Regress/regress-350206.js
js/src/tests/e4x/Regress/regress-350238.js
js/src/tests/e4x/Regress/regress-350629.js
js/src/tests/e4x/Regress/regress-352103.js
js/src/tests/e4x/Regress/regress-352223.js
js/src/tests/e4x/Regress/regress-354145-01.js
js/src/tests/e4x/Regress/regress-354145-02.js
js/src/tests/e4x/Regress/regress-354145-03.js
js/src/tests/e4x/Regress/regress-354145-04.js
js/src/tests/e4x/Regress/regress-354145-05.js
js/src/tests/e4x/Regress/regress-354145-07.js
js/src/tests/e4x/Regress/regress-354998.js
js/src/tests/e4x/Regress/regress-355474-02.js
js/src/tests/e4x/Regress/regress-355478.js
js/src/tests/e4x/Regress/regress-355569.js
js/src/tests/e4x/Regress/regress-356238-01.js
js/src/tests/e4x/Regress/regress-356238-02.js
js/src/tests/e4x/Regress/regress-356238-03.js
js/src/tests/e4x/Regress/regress-361451.js
js/src/tests/e4x/Regress/regress-364017.js
js/src/tests/e4x/Regress/regress-369032.js
js/src/tests/e4x/Regress/regress-369536.js
js/src/tests/e4x/Regress/regress-369740.js
js/src/tests/e4x/Regress/regress-370016.js
js/src/tests/e4x/Regress/regress-370048-01.js
js/src/tests/e4x/Regress/regress-370048-02.js
js/src/tests/e4x/Regress/regress-370372.js
js/src/tests/e4x/Regress/regress-371369.js
js/src/tests/e4x/Regress/regress-372563.js
js/src/tests/e4x/Regress/regress-372564.js
js/src/tests/e4x/Regress/regress-373082.js
js/src/tests/e4x/Regress/regress-374106.js
js/src/tests/e4x/Regress/regress-374112.js
js/src/tests/e4x/Regress/regress-374116.js
js/src/tests/e4x/Regress/regress-374160.js
js/src/tests/e4x/Regress/regress-375406.js
js/src/tests/e4x/Regress/regress-378492.js
js/src/tests/e4x/Regress/regress-380833.js
js/src/tests/e4x/Regress/regress-383255.js
js/src/tests/e4x/Regress/regress-394941.js
js/src/tests/e4x/Regress/regress-407323.js
js/src/tests/e4x/Regress/regress-426520.js
js/src/tests/e4x/Regress/regress-453915.js
js/src/tests/e4x/Regress/regress-458679-01.js
js/src/tests/e4x/Regress/regress-458679-02.js
js/src/tests/e4x/Regress/regress-460180.js
js/src/tests/e4x/Regress/regress-465063.js
js/src/tests/e4x/Regress/regress-470619.js
js/src/tests/e4x/Regress/regress-473709.js
js/src/tests/e4x/Regress/regress-474319.js
js/src/tests/e4x/Regress/regress-477053.js
js/src/tests/e4x/Regress/regress-561031.js
js/src/tests/e4x/Regress/regress-587434.js
js/src/tests/e4x/Statements/12.1.js
js/src/tests/e4x/Statements/12.2.js
js/src/tests/e4x/Statements/12.3-01.js
js/src/tests/e4x/TypeConversion/10.1.1.js
js/src/tests/e4x/TypeConversion/10.1.2.js
js/src/tests/e4x/TypeConversion/10.2.1.js
js/src/tests/e4x/TypeConversion/10.3.1.js
js/src/tests/e4x/TypeConversion/10.3.js
js/src/tests/e4x/TypeConversion/10.4.1.js
js/src/tests/e4x/TypeConversion/10.4.js
js/src/tests/e4x/TypeConversion/10.5.1.js
js/src/tests/e4x/TypeConversion/10.5.js
js/src/tests/e4x/TypeConversion/10.6.1.js
js/src/tests/e4x/TypeConversion/10.6.js
js/src/tests/e4x/Types/9.1.1.1.js
js/src/tests/e4x/Types/9.1.1.10.js
js/src/tests/e4x/Types/9.1.1.11.js
js/src/tests/e4x/Types/9.1.1.12.js
js/src/tests/e4x/Types/9.1.1.13.js
js/src/tests/e4x/Types/9.1.1.2.js
js/src/tests/e4x/Types/9.1.1.3.js
js/src/tests/e4x/Types/9.1.1.4.js
js/src/tests/e4x/Types/9.1.1.5.js
js/src/tests/e4x/Types/9.1.1.6.js
js/src/tests/e4x/Types/9.1.1.7.js
js/src/tests/e4x/Types/9.1.1.8.js
js/src/tests/e4x/Types/9.1.1.9.js
js/src/tests/e4x/Types/9.2.1.1.js
js/src/tests/e4x/Types/9.2.1.10.js
js/src/tests/e4x/Types/9.2.1.2.js
js/src/tests/e4x/Types/9.2.1.3.js
js/src/tests/e4x/Types/9.2.1.4.js
js/src/tests/e4x/Types/9.2.1.5.js
js/src/tests/e4x/Types/9.2.1.6.js
js/src/tests/e4x/Types/9.2.1.7.js
js/src/tests/e4x/Types/9.2.1.8.js
js/src/tests/e4x/Types/9.2.1.9.js
js/src/tests/e4x/XML/13.4.1.js
js/src/tests/e4x/XML/13.4.2.js
js/src/tests/e4x/XML/13.4.3.10.js
js/src/tests/e4x/XML/13.4.3.js
js/src/tests/e4x/XML/13.4.4.1.js
js/src/tests/e4x/XML/13.4.4.10.js
js/src/tests/e4x/XML/13.4.4.11.js
js/src/tests/e4x/XML/13.4.4.12-1.js
js/src/tests/e4x/XML/13.4.4.12.js
js/src/tests/e4x/XML/13.4.4.13.js
js/src/tests/e4x/XML/13.4.4.14.js
js/src/tests/e4x/XML/13.4.4.15.js
js/src/tests/e4x/XML/13.4.4.16.js
js/src/tests/e4x/XML/13.4.4.17.js
js/src/tests/e4x/XML/13.4.4.18.js
js/src/tests/e4x/XML/13.4.4.19.js
js/src/tests/e4x/XML/13.4.4.2.js
js/src/tests/e4x/XML/13.4.4.20.js
js/src/tests/e4x/XML/13.4.4.21.js
js/src/tests/e4x/XML/13.4.4.22.js
js/src/tests/e4x/XML/13.4.4.23.js
js/src/tests/e4x/XML/13.4.4.24.js
js/src/tests/e4x/XML/13.4.4.25.js
js/src/tests/e4x/XML/13.4.4.26.js
js/src/tests/e4x/XML/13.4.4.27.js
js/src/tests/e4x/XML/13.4.4.28.js
js/src/tests/e4x/XML/13.4.4.29.js
js/src/tests/e4x/XML/13.4.4.3-01.js
js/src/tests/e4x/XML/13.4.4.3-02.js
js/src/tests/e4x/XML/13.4.4.3.js
js/src/tests/e4x/XML/13.4.4.30.js
js/src/tests/e4x/XML/13.4.4.31.js
js/src/tests/e4x/XML/13.4.4.32-01.js
js/src/tests/e4x/XML/13.4.4.32.js
js/src/tests/e4x/XML/13.4.4.33.js
js/src/tests/e4x/XML/13.4.4.34.js
js/src/tests/e4x/XML/13.4.4.35.js
js/src/tests/e4x/XML/13.4.4.36.js
js/src/tests/e4x/XML/13.4.4.37.js
js/src/tests/e4x/XML/13.4.4.38.js
js/src/tests/e4x/XML/13.4.4.39.js
js/src/tests/e4x/XML/13.4.4.4.js
js/src/tests/e4x/XML/13.4.4.40.js
js/src/tests/e4x/XML/13.4.4.5.js
js/src/tests/e4x/XML/13.4.4.6.js
js/src/tests/e4x/XML/13.4.4.7.js
js/src/tests/e4x/XML/13.4.4.8.js
js/src/tests/e4x/XML/13.4.4.9.js
js/src/tests/e4x/XML/regress-291930.js
js/src/tests/e4x/XML/regress-324422-1.js
js/src/tests/e4x/XML/regress-324422-2.js
js/src/tests/e4x/XML/regress-324688.js
js/src/tests/e4x/XML/regress-336921.js
js/src/tests/e4x/XML/regress-376773.js
js/src/tests/e4x/XML/regress-621464.js
js/src/tests/e4x/XML/regress-638982.js
js/src/tests/e4x/XMLList/13.5.1.js
js/src/tests/e4x/XMLList/13.5.2.js
js/src/tests/e4x/XMLList/13.5.4.10.js
js/src/tests/e4x/XMLList/13.5.4.11.js
js/src/tests/e4x/XMLList/13.5.4.12.js
js/src/tests/e4x/XMLList/13.5.4.13.js
js/src/tests/e4x/XMLList/13.5.4.14.js
js/src/tests/e4x/XMLList/13.5.4.15.js
js/src/tests/e4x/XMLList/13.5.4.16.js
js/src/tests/e4x/XMLList/13.5.4.17.js
js/src/tests/e4x/XMLList/13.5.4.18.js
js/src/tests/e4x/XMLList/13.5.4.19.js
js/src/tests/e4x/XMLList/13.5.4.2.js
js/src/tests/e4x/XMLList/13.5.4.20.js
js/src/tests/e4x/XMLList/13.5.4.21.js
js/src/tests/e4x/XMLList/13.5.4.22.js
js/src/tests/e4x/XMLList/13.5.4.3.js
js/src/tests/e4x/XMLList/13.5.4.4.js
js/src/tests/e4x/XMLList/13.5.4.5.js
js/src/tests/e4x/XMLList/13.5.4.6.js
js/src/tests/e4x/XMLList/13.5.4.7.js
js/src/tests/e4x/XMLList/13.5.4.8.js
js/src/tests/e4x/XMLList/13.5.4.9.js
js/src/tests/e4x/XMLList/regress-373072.js
js/src/tests/e4x/extensions/assign-to-xml.js
js/src/tests/e4x/extensions/extensibility.js
js/src/tests/e4x/extensions/json-stringify-dropping-xml-elements.js
js/src/tests/e4x/extensions/qualified-name-expr.js
js/src/tests/e4x/extensions/regress-305335.js
js/src/tests/e4x/extensions/regress-312196.js
js/src/tests/e4x/extensions/regress-313080.js
js/src/tests/e4x/extensions/regress-327534.js
js/src/tests/e4x/extensions/regress-327897.js
js/src/tests/e4x/extensions/regress-337226.js
js/src/tests/e4x/extensions/regress-352846-01.js
js/src/tests/e4x/extensions/regress-352846-02.js
js/src/tests/e4x/extensions/regress-352846-03.js
js/src/tests/e4x/extensions/regress-353165.js
js/src/tests/e4x/extensions/regress-354145-06.js
js/src/tests/e4x/extensions/regress-354151-01.js
js/src/tests/e4x/extensions/regress-354151-02.js
js/src/tests/e4x/extensions/regress-374025.js
js/src/tests/e4x/extensions/regress-374163.js
js/src/tests/e4x/extensions/regress-410192.js
js/src/tests/e4x/extensions/regress-450871-01.js
js/src/tests/e4x/extensions/regress-450871-02.js
js/src/tests/e4x/extensions/regress-462734-01.js
js/src/tests/e4x/extensions/regress-595207.js
js/src/tests/e4x/extensions/stringify-xml.js
js/src/tests/e4x/extensions/xml-as-proto.js
js/src/tests/ecma_5/extensions/Object-keys-and-object-ids.js
js/src/tests/js1_5/Regress/regress-309242.js
js/src/tests/js1_5/Regress/regress-407323.js
js/src/tests/js1_6/Regress/regress-301574.js
js/src/tests/js1_6/Regress/regress-314887.js
js/src/tests/js1_6/Regress/regress-378492.js
js/src/tests/js1_7/block/regress-352212.js
js/src/tests/js1_7/block/regress-352267.js
js/src/tests/js1_7/extensions/regress-351102-04.js
js/src/tests/js1_7/extensions/regress-355145.js
js/src/tests/js1_7/geniter/regress-352605.js
js/src/tests/js1_7/iterable/regress-355075-02.js
js/src/tests/js1_7/lexical/regress-336376-01.js
js/src/tests/js1_7/regress/regress-352797-02.js
js/src/tests/js1_7/regress/regress-352870-01.js
js/src/tests/js1_7/regress/regress-352870-02.js
js/src/tests/js1_7/regress/regress-352870-03.js
js/src/tests/js1_7/regress/regress-416705.js
js/src/tests/js1_7/regress/regress-428708.js
js/src/tests/js1_7/regress/regress-470388-02.js
js/src/tests/js1_7/regress/regress-470388-03.js
js/src/tests/js1_8/extensions/regress-476653.js
js/src/tests/js1_8/extensions/regress-476871-02.js
js/src/tests/js1_8/extensions/regress-482263.js
js/src/tests/js1_8/genexps/regress-667131.js
js/src/tests/js1_8/regress/regress-384412.js
js/src/tests/js1_8/regress/regress-465460-07.js
js/src/tests/js1_8/regress/regress-471373.js
js/src/tests/js1_8/regress/regress-471660.js
js/src/tests/js1_8/regress/regress-472450-01.js
js/src/tests/js1_8/regress/regress-472450-02.js
js/src/tests/js1_8/regress/regress-479353.js
js/src/tests/js1_8_1/regress/regress-452498-053.js
js/src/tests/js1_8_1/regress/regress-452498-068.js
js/src/tests/js1_8_1/regress/regress-452498-082.js
js/src/tests/js1_8_1/regress/regress-452498-117.js
js/src/tests/js1_8_1/regress/regress-452498-135.js
js/src/tests/js1_8_1/regress/regress-452498-160.js
js/src/tests/js1_8_5/regress/regress-546615.js
js/src/tests/js1_8_5/regress/regress-560101.js
js/src/tests/js1_8_5/regress/regress-566549.js
js/src/tests/js1_8_5/regress/regress-592217.js
js/src/tests/js1_8_5/regress/regress-597870.js
js/src/tests/js1_8_5/regress/regress-673070-3.js
js/src/tests/js1_8_5/regress/regress-675581.js
js/xpconnect/tests/mochitest/test_bug564330.html
js/xpconnect/tests/mochitest/test_bug618017.html
--- a/content/xslt/tests/mochitest/test_bug427060.html
+++ b/content/xslt/tests/mochitest/test_bug427060.html
@@ -15,30 +15,30 @@ https://bugzilla.mozilla.org/show_bug.cg
   
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
 /** Test for Bug 427060 **/
 
 var xmldoc, xsltdoc;
-[ xmldoc, xsltdoc ] = [ new DOMParser().parseFromString(String(xml), "text/xml") for each (xml in [ 
+[ xmldoc, xsltdoc ] = [ new DOMParser().parseFromString(xml, "text/xml") for each (xml in [ 
 
-    <opml version="1.0"><body></body></opml> ,
+    '<opml version="1.0"><body></body></opml>' ,
 
-    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-    	<xsl:template match="/opml">
-    		<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-    			<head>
-    				<base target="_blank"></base>
-    			</head>
-    			<body></body>
-    		</html>
-    	</xsl:template>
-    </xsl:stylesheet>
+    '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n\
+    	<xsl:template match="/opml">\n\
+    		<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\
+    			<head>\n\
+    				<base target="_blank"></base>\n\
+    			</head>\n\
+    			<body></body>\n\
+    		</html>\n\
+    	</xsl:template>\n\
+    </xsl:stylesheet>'
 
 ]) ];
 
 var processor = new XSLTProcessor;
 processor.importStylesheet(xsltdoc);
 try
 {
   var result = processor.transformToDocument(xmldoc);
--- a/content/xslt/tests/mochitest/test_bug440974.html
+++ b/content/xslt/tests/mochitest/test_bug440974.html
@@ -21,24 +21,24 @@ https://bugzilla.mozilla.org/show_bug.cg
 
 function isTxResult(node)
 {
   return node.namespaceURI == "http://www.mozilla.org/TransforMiix" &&
          node.localName == "result";
 }
 
 var xmldoc, xsltdoc;
-[ xmldoc, xsltdoc ] = [ new DOMParser().parseFromString(String(xml), "text/xml") for each (xml in [ 
+[ xmldoc, xsltdoc ] = [ new DOMParser().parseFromString(xml, "text/xml") for each (xml in [ 
 
-    <items><item><id>1</id></item><item><id>2</id></item><item><id>3</id></item></items> ,
+    '<items><item><id>1</id></item><item><id>2</id></item><item><id>3</id></item></items>' ,
 
-    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-        <xsl:output method="xml" />
-        <xsl:template match="item"><foo id="{id}"/></xsl:template>
-    </xsl:stylesheet>
+    '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n\
+        <xsl:output method="xml" />\n\
+        <xsl:template match="item"><foo id="{id}"/></xsl:template>\n\
+    </xsl:stylesheet>'
 
 ]) ];
 var processor = new XSLTProcessor;
 processor.importStylesheet(xsltdoc);
 var result = processor.transformToDocument(xmldoc);
 var resultElements = Array.prototype.filter.call(result.getElementsByTagName('*'), isTxResult);
 is(resultElements.length, 1, "there should be only one 'transformiix:result' element"); 
 is(resultElements[0], result.documentElement, "the 'transformiix:result' element should be the document element"); 
--- a/content/xslt/tests/mochitest/test_bug453441.html
+++ b/content/xslt/tests/mochitest/test_bug453441.html
@@ -18,40 +18,40 @@ https://bugzilla.mozilla.org/show_bug.cg
 <script class="testbody" type="text/javascript">
 
 /** Test for Bug 453441 **/
 
 function tryImportStylesheet(xml, valid)
 {
   var processor = new XSLTProcessor;
 
-  var xsltdoc = new DOMParser().parseFromString(String(xml), "text/xml");
+  var xsltdoc = new DOMParser().parseFromString(xml, "text/xml");
   try
   {
     processor.importStylesheet(xsltdoc);
     ok(valid, "should be able to parse this XSLT stylesheet");
   }
   catch (e)
   {
     ok(!valid, "should not be able to parse this XSLT stylesheet");
   }
 }
 
 tryImportStylesheet(
-  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:template match="/">
-    <html xmlns="http://www.w3.org/1999/xhtml" xsl:version="1.0" />
-  </xsl:template>
-  </xsl:stylesheet>
+  '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n\
+  <xsl:template match="/">\n\
+    <html xmlns="http://www.w3.org/1999/xhtml" xsl:version="1.0" />\n\
+  </xsl:template>\n\
+  </xsl:stylesheet>'
 , true);
 
 tryImportStylesheet(
-  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />
+  '<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />'
 , false);
 
 tryImportStylesheet(
-  <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />
+  '<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />'
 , false);
 
 </script>
 </pre>
 </body>
 </html>
--- a/content/xslt/tests/mochitest/test_bug468208.html
+++ b/content/xslt/tests/mochitest/test_bug468208.html
@@ -14,23 +14,22 @@ https://bugzilla.mozilla.org/show_bug.cg
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
 /** Test for Bug 468208 **/
-
 var xslt =
-    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-        <xsl:strip-space elements="color"/>
-    </xsl:stylesheet>
+    '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\n\
+        <xsl:strip-space elements="color"/>\n\
+    </xsl:stylesheet>'
 ;
-var xsltdoc = new DOMParser().parseFromString(String(xslt), "text/xml"); 
+var xsltdoc = new DOMParser().parseFromString(xslt, "text/xml"); 
 
 var processor = new XSLTProcessor;
 processor.importStylesheet(xsltdoc);
 ok(true, "XSLT shouldn't leak");
 </script>
 </pre>
 </body>
 </html>
--- a/js/src/tests/e4x/Expressions/11.1.1.js
+++ b/js/src/tests/e4x/Expressions/11.1.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.1.1 - Attribute Identifiers");
--- a/js/src/tests/e4x/Expressions/11.1.2.js
+++ b/js/src/tests/e4x/Expressions/11.1.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.1.2 - Qualified Identifiers");
--- a/js/src/tests/e4x/Expressions/11.1.3.js
+++ b/js/src/tests/e4x/Expressions/11.1.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.1.3 - Wildcard Identifiers");
--- a/js/src/tests/e4x/Expressions/11.1.4-01.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '11.1.4 - XML Initializer should accept single processing ' +
     'instruction';
--- a/js/src/tests/e4x/Expressions/11.1.4-02.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - XML Initializer should accept single CDATA Section";
 var BUGNUMBER = 257679;
--- a/js/src/tests/e4x/Expressions/11.1.4-03.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '11.1.4 - XML Initializer should accept single comment';
 var BUGNUMBER = 257679;
--- a/js/src/tests/e4x/Expressions/11.1.4-04.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-04.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - XML Initializer - Comment hiding parsing/scanning";
 var BUGNUMBER = 311157;
--- a/js/src/tests/e4x/Expressions/11.1.4-05.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-05.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - XML Initializer - Comment hiding parsing/scanning";
 var BUGNUMBER = 311157;
--- a/js/src/tests/e4x/Expressions/11.1.4-06.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-06.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - ]] should be allowed in CDATA Section";
 var BUGNUMBER = 313929;
--- a/js/src/tests/e4x/Expressions/11.1.4-07.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-07.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - XML Initializer - <p:{b}b>x</p:bb>";
 var BUGNUMBER = 321549;
--- a/js/src/tests/e4x/Expressions/11.1.4-08.js
+++ b/js/src/tests/e4x/Expressions/11.1.4-08.js
@@ -1,9 +1,9 @@
-// |reftest| fails
+// |reftest| pref(javascript.options.xml.content,true) fails
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.4 - XML Initializer - {} Expressions - 08";
--- a/js/src/tests/e4x/Expressions/11.1.4.js
+++ b/js/src/tests/e4x/Expressions/11.1.4.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.1.4 - XML Initializer");
--- a/js/src/tests/e4x/Expressions/11.1.5.js
+++ b/js/src/tests/e4x/Expressions/11.1.5.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.1.5 - XMLList Initializer");
--- a/js/src/tests/e4x/Expressions/11.2.1.js
+++ b/js/src/tests/e4x/Expressions/11.2.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.2.1 - Property Accessors");
--- a/js/src/tests/e4x/Expressions/11.2.2.js
+++ b/js/src/tests/e4x/Expressions/11.2.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.2.2 - Function Calls");
--- a/js/src/tests/e4x/Expressions/11.2.3.js
+++ b/js/src/tests/e4x/Expressions/11.2.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.2.3 - XML Descendant Accessor");
--- a/js/src/tests/e4x/Expressions/11.2.4.js
+++ b/js/src/tests/e4x/Expressions/11.2.4.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.2.4 - XML Filtering Predicate Operator");
--- a/js/src/tests/e4x/Expressions/11.3.1.js
+++ b/js/src/tests/e4x/Expressions/11.3.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.3.1 - Delete Operator");
--- a/js/src/tests/e4x/Expressions/11.3.2.js
+++ b/js/src/tests/e4x/Expressions/11.3.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.3.2 - Typeof Operator");
--- a/js/src/tests/e4x/Expressions/11.4.1.js
+++ b/js/src/tests/e4x/Expressions/11.4.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.4.1 - Addition Operator");
--- a/js/src/tests/e4x/Expressions/11.5.1.js
+++ b/js/src/tests/e4x/Expressions/11.5.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.5.1 - Equality Operators");
--- a/js/src/tests/e4x/Expressions/11.6.1.js
+++ b/js/src/tests/e4x/Expressions/11.6.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.6.1 - XML Assignment");
--- a/js/src/tests/e4x/Expressions/11.6.2.js
+++ b/js/src/tests/e4x/Expressions/11.6.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.6.2 - XMLList Assignment");
--- a/js/src/tests/e4x/Expressions/11.6.3.js
+++ b/js/src/tests/e4x/Expressions/11.6.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("11.6.3 - Compound Assignment");
--- a/js/src/tests/e4x/Expressions/regress-301545.js
+++ b/js/src/tests/e4x/Expressions/regress-301545.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.1 - Attribute Identifiers Do not crash when " +
     "attribute-op name collides with local var";
--- a/js/src/tests/e4x/Expressions/regress-302531.js
+++ b/js/src/tests/e4x/Expressions/regress-302531.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  * Contributor: Blake Kaplan
  */
 
 
--- a/js/src/tests/e4x/Expressions/regress-340024.js
+++ b/js/src/tests/e4x/Expressions/regress-340024.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 340024;
--- a/js/src/tests/e4x/Expressions/regress-366123.js
+++ b/js/src/tests/e4x/Expressions/regress-366123.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 366123;
--- a/js/src/tests/e4x/Expressions/regress-496113.js
+++ b/js/src/tests/e4x/Expressions/regress-496113.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 // See https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Processing_XML_with_E4X#section_7
 
--- a/js/src/tests/e4x/GC/regress-280844-1.js
+++ b/js/src/tests/e4x/GC/regress-280844-1.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android)
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Uncontrolled recursion in js_MarkXML during GC';
 var BUGNUMBER = 280844;
--- a/js/src/tests/e4x/GC/regress-280844-2.js
+++ b/js/src/tests/e4x/GC/regress-280844-2.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android)
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Uncontrolled recursion in js_MarkXML during GC';
 var BUGNUMBER = 280844;
--- a/js/src/tests/e4x/GC/regress-292455.js
+++ b/js/src/tests/e4x/GC/regress-292455.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(!xulRuntime.shell) -- does not always dismiss alert
+// |reftest| pref(javascript.options.xml.content,true) skip-if(!xulRuntime.shell) -- does not always dismiss alert
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regress - Do not crash on gc";
 var BUGNUMBER = 292455;
--- a/js/src/tests/e4x/GC/regress-313952-01.js
+++ b/js/src/tests/e4x/GC/regress-313952-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.3.5.2 - root QName.uri";
 var BUGNUMBER = 313952;
--- a/js/src/tests/e4x/GC/regress-313952-02.js
+++ b/js/src/tests/e4x/GC/regress-313952-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.3.5.2 - root QName.uri";
 var BUGNUMBER = 313952;
--- a/js/src/tests/e4x/GC/regress-324117.js
+++ b/js/src/tests/e4x/GC/regress-324117.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "GC hazard during namespace scanning";
--- a/js/src/tests/e4x/GC/regress-324278.js
+++ b/js/src/tests/e4x/GC/regress-324278.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- slow
+// |reftest| pref(javascript.options.xml.content,true) skip -- slow
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 324278;
--- a/js/src/tests/e4x/GC/regress-339785.js
+++ b/js/src/tests/e4x/GC/regress-339785.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "scanner: memory exposure to scripts";
--- a/js/src/tests/e4x/GC/regress-357063-01.js
+++ b/js/src/tests/e4x/GC/regress-357063-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 357063;
--- a/js/src/tests/e4x/GC/regress-357063-02.js
+++ b/js/src/tests/e4x/GC/regress-357063-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 357063;
--- a/js/src/tests/e4x/Global/13.1.2.1.js
+++ b/js/src/tests/e4x/Global/13.1.2.1.js
@@ -1,9 +1,9 @@
-// |reftest| fails
+// |reftest| pref(javascript.options.xml.content,true) fails
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.1.2.1 - isXMLName()");
--- a/js/src/tests/e4x/Namespace/13.2.1.js
+++ b/js/src/tests/e4x/Namespace/13.2.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.2.1 - Namespace Constructor as Function");
--- a/js/src/tests/e4x/Namespace/13.2.2.js
+++ b/js/src/tests/e4x/Namespace/13.2.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.2.2 - Namespace Constructor");
--- a/js/src/tests/e4x/Namespace/13.2.5.js
+++ b/js/src/tests/e4x/Namespace/13.2.5.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.2.5 - Properties of Namespace Instances");
--- a/js/src/tests/e4x/Namespace/regress-283972.js
+++ b/js/src/tests/e4x/Namespace/regress-283972.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'throw error when two attributes with the same local name and ' +
     'the same namespace';
--- a/js/src/tests/e4x/Namespace/regress-292863.js
+++ b/js/src/tests/e4x/Namespace/regress-292863.js
@@ -1,9 +1,9 @@
-// |reftest| fails
+// |reftest| pref(javascript.options.xml.content,true) fails
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Undeclaring namespace prefix should cause parse error";
 var BUGNUMBER = 292863;
--- a/js/src/tests/e4x/Namespace/regress-350442.js
+++ b/js/src/tests/e4x/Namespace/regress-350442.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 350442;
--- a/js/src/tests/e4x/Namespace/regress-444608-02.js
+++ b/js/src/tests/e4x/Namespace/regress-444608-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.2 Namespaces - call constructors directly';
--- a/js/src/tests/e4x/Namespace/regress-444608.js
+++ b/js/src/tests/e4x/Namespace/regress-444608.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.2 Namespaces - call constructors directly';
--- a/js/src/tests/e4x/QName/13.3.1.js
+++ b/js/src/tests/e4x/QName/13.3.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.3.1 - QName Constructor as a Function");
--- a/js/src/tests/e4x/QName/13.3.2.js
+++ b/js/src/tests/e4x/QName/13.3.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.3.2 - QName Constructor");
--- a/js/src/tests/e4x/QName/13.3.5.js
+++ b/js/src/tests/e4x/QName/13.3.5.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.3.5 - Properties of QName Instances");
--- a/js/src/tests/e4x/QName/regress-373595-01.js
+++ b/js/src/tests/e4x/QName/regress-373595-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.3 QName Objects - Do not assert: op == JSOP_ADD';
--- a/js/src/tests/e4x/QName/regress-373595-02.js
+++ b/js/src/tests/e4x/QName/regress-373595-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.3 QName Objects - Do not assert: op == JSOP_ADD';
--- a/js/src/tests/e4x/QName/regress-373595-03.js
+++ b/js/src/tests/e4x/QName/regress-373595-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.3 QName Objects - Do not assert: op == JSOP_ADD';
--- a/js/src/tests/e4x/QName/regress-444608.js
+++ b/js/src/tests/e4x/QName/regress-444608.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.3 QNames - call constructors directly';
--- a/js/src/tests/e4x/QName/regress-619529.js
+++ b/js/src/tests/e4x/QName/regress-619529.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
 var b = Proxy.create({ enumerateOwn: function () { @f; }});
 Object.freeze(this);
--- a/js/src/tests/e4x/Regress/regress-257679.js
+++ b/js/src/tests/e4x/Regress/regress-257679.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("Standalone <![CDATA[ .... ]]> should be allowed");
--- a/js/src/tests/e4x/Regress/regress-263934.js
+++ b/js/src/tests/e4x/Regress/regress-263934.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("Testing that replacing a list item with a new list that contains that item works");
--- a/js/src/tests/e4x/Regress/regress-263935.js
+++ b/js/src/tests/e4x/Regress/regress-263935.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("Qualified names specifying all names in no namespace should only match names without namespaces");
--- a/js/src/tests/e4x/Regress/regress-263936.js
+++ b/js/src/tests/e4x/Regress/regress-263936.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("Testing replacing an element with a list that contains a text node");
--- a/js/src/tests/e4x/Regress/regress-264369.js
+++ b/js/src/tests/e4x/Regress/regress-264369.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("toXMLString() should escape '>'");
--- a/js/src/tests/e4x/Regress/regress-271545.js
+++ b/js/src/tests/e4x/Regress/regress-271545.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START('XML("") should create empty text node');
--- a/js/src/tests/e4x/Regress/regress-277650.js
+++ b/js/src/tests/e4x/Regress/regress-277650.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // testcase from  Martin.Honnen@arcor.de
 
--- a/js/src/tests/e4x/Regress/regress-277664.js
+++ b/js/src/tests/e4x/Regress/regress-277664.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // testcase from  Martin.Honnen@arcor.de
 
--- a/js/src/tests/e4x/Regress/regress-277683.js
+++ b/js/src/tests/e4x/Regress/regress-277683.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // testcase from  Martin.Honnen@arcor.de
 
--- a/js/src/tests/e4x/Regress/regress-277779.js
+++ b/js/src/tests/e4x/Regress/regress-277779.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // testcase from  Martin.Honnen@arcor.de
 
--- a/js/src/tests/e4x/Regress/regress-277935.js
+++ b/js/src/tests/e4x/Regress/regress-277935.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START('XML("") should create empty text node');
--- a/js/src/tests/e4x/Regress/regress-278112.js
+++ b/js/src/tests/e4x/Regress/regress-278112.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START('setNamespace() should not affect namespaceDeclarations()');
--- a/js/src/tests/e4x/Regress/regress-283349.js
+++ b/js/src/tests/e4x/Regress/regress-283349.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.3.5.4 - [[GetNamespace]]";
 var BUGNUMBER = 283349;
--- a/js/src/tests/e4x/Regress/regress-290056.js
+++ b/js/src/tests/e4x/Regress/regress-290056.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Dont crash when serializing an XML object where the name ' +
     'of an attribute was changed with setName';
--- a/js/src/tests/e4x/Regress/regress-290499.js
+++ b/js/src/tests/e4x/Regress/regress-290499.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "11.1.5 XMLList Initialiser Don't Crash with empty Initializer";
 var BUGNUMBER = 290499;
--- a/js/src/tests/e4x/Regress/regress-301553.js
+++ b/js/src/tests/e4x/Regress/regress-301553.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "E4X - Should not repress exceptions";
 var BUGNUMBER = 301553;
--- a/js/src/tests/e4x/Regress/regress-301573.js
+++ b/js/src/tests/e4x/Regress/regress-301573.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "E4X - Entities";
 var BUGNUMBER = 301573;
--- a/js/src/tests/e4x/Regress/regress-301596.js
+++ b/js/src/tests/e4x/Regress/regress-301596.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "E4X - Do not crash with XMLList filters";
 var BUGNUMBER = 301596;
--- a/js/src/tests/e4x/Regress/regress-308111.js
+++ b/js/src/tests/e4x/Regress/regress-308111.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(!xulRuntime.shell&&isDebugBuild) slow
+// |reftest| pref(javascript.options.xml.content,true) skip-if(!xulRuntime.shell&&isDebugBuild) slow
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regression - Do not crash when searching large e4x tree";
 var BUGNUMBER = 308111;
--- a/js/src/tests/e4x/Regress/regress-309897.js
+++ b/js/src/tests/e4x/Regress/regress-309897.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regression - appending elements crashes mozilla";
 var BUGNUMBER = 309897;
--- a/js/src/tests/e4x/Regress/regress-311580.js
+++ b/js/src/tests/e4x/Regress/regress-311580.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regression - properly root stack in toXMLString";
 var BUGNUMBER = 311580;
--- a/js/src/tests/e4x/Regress/regress-313799.js
+++ b/js/src/tests/e4x/Regress/regress-313799.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash on XMLListInitializer.child(0)';
 var BUGNUMBER = 313799;
--- a/js/src/tests/e4x/Regress/regress-318922.js
+++ b/js/src/tests/e4x/Regress/regress-318922.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'E4X - Do not crash on XML initializer <b{b}>';
 var BUGNUMBER = 318922;
--- a/js/src/tests/e4x/Regress/regress-319872.js
+++ b/js/src/tests/e4x/Regress/regress-319872.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- slow
+// |reftest| pref(javascript.options.xml.content,true) skip -- slow
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 319872;
--- a/js/src/tests/e4x/Regress/regress-322499.js
+++ b/js/src/tests/e4x/Regress/regress-322499.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not define AnyName";
--- a/js/src/tests/e4x/Regress/regress-323338-1.js
+++ b/js/src/tests/e4x/Regress/regress-323338-1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash when qn->uri is null";
--- a/js/src/tests/e4x/Regress/regress-323338-2.js
+++ b/js/src/tests/e4x/Regress/regress-323338-2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash when qn->uri is null";
--- a/js/src/tests/e4x/Regress/regress-325425.js
+++ b/js/src/tests/e4x/Regress/regress-325425.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 325425;
--- a/js/src/tests/e4x/Regress/regress-327564.js
+++ b/js/src/tests/e4x/Regress/regress-327564.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 var summary = "Hang due to cycle in XML object";
 var BUGNUMBER = 327564;
--- a/js/src/tests/e4x/Regress/regress-327691-01.js
+++ b/js/src/tests/e4x/Regress/regress-327691-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash in js_IsXMLName";
--- a/js/src/tests/e4x/Regress/regress-327691-02.js
+++ b/js/src/tests/e4x/Regress/regress-327691-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash during gc()";
--- a/js/src/tests/e4x/Regress/regress-327697.js
+++ b/js/src/tests/e4x/Regress/regress-327697.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Make XPConnect refuse to wrap e4x";
--- a/js/src/tests/e4x/Regress/regress-328249.js
+++ b/js/src/tests/e4x/Regress/regress-328249.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Crash due to infinite recursion in js_IsXMLName";
--- a/js/src/tests/e4x/Regress/regress-329257.js
+++ b/js/src/tests/e4x/Regress/regress-329257.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 329257;
--- a/js/src/tests/e4x/Regress/regress-331664.js
+++ b/js/src/tests/e4x/Regress/regress-331664.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Null pointer deref crash deleting XML methods";
--- a/js/src/tests/e4x/Regress/regress-344455.js
+++ b/js/src/tests/e4x/Regress/regress-344455.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Error - tag name mismatch error message should include tag name";
--- a/js/src/tests/e4x/Regress/regress-347155.js
+++ b/js/src/tests/e4x/Regress/regress-347155.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 347155;
--- a/js/src/tests/e4x/Regress/regress-350206-1.js
+++ b/js/src/tests/e4x/Regress/regress-350206-1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER     = "350206";
--- a/js/src/tests/e4x/Regress/regress-350206.js
+++ b/js/src/tests/e4x/Regress/regress-350206.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 350206;
--- a/js/src/tests/e4x/Regress/regress-350238.js
+++ b/js/src/tests/e4x/Regress/regress-350238.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(!xulRuntime.shell) slow
+// |reftest| pref(javascript.options.xml.content,true) skip-if(!xulRuntime.shell) slow
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 350238;
--- a/js/src/tests/e4x/Regress/regress-350629.js
+++ b/js/src/tests/e4x/Regress/regress-350629.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER     = "350629";
--- a/js/src/tests/e4x/Regress/regress-352103.js
+++ b/js/src/tests/e4x/Regress/regress-352103.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER     = "352103";
--- a/js/src/tests/e4x/Regress/regress-352223.js
+++ b/js/src/tests/e4x/Regress/regress-352223.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 352223;
--- a/js/src/tests/e4x/Regress/regress-354145-01.js
+++ b/js/src/tests/e4x/Regress/regress-354145-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354145-02.js
+++ b/js/src/tests/e4x/Regress/regress-354145-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354145-03.js
+++ b/js/src/tests/e4x/Regress/regress-354145-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354145-04.js
+++ b/js/src/tests/e4x/Regress/regress-354145-04.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354145-05.js
+++ b/js/src/tests/e4x/Regress/regress-354145-05.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354145-07.js
+++ b/js/src/tests/e4x/Regress/regress-354145-07.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/Regress/regress-354998.js
+++ b/js/src/tests/e4x/Regress/regress-354998.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354998;
--- a/js/src/tests/e4x/Regress/regress-355474-02.js
+++ b/js/src/tests/e4x/Regress/regress-355474-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 355474;
--- a/js/src/tests/e4x/Regress/regress-355478.js
+++ b/js/src/tests/e4x/Regress/regress-355478.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 355478;
--- a/js/src/tests/e4x/Regress/regress-355569.js
+++ b/js/src/tests/e4x/Regress/regress-355569.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 var bug = 355569;
 var actual = '';
--- a/js/src/tests/e4x/Regress/regress-356238-01.js
+++ b/js/src/tests/e4x/Regress/regress-356238-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 356238;
--- a/js/src/tests/e4x/Regress/regress-356238-02.js
+++ b/js/src/tests/e4x/Regress/regress-356238-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 356238;
--- a/js/src/tests/e4x/Regress/regress-356238-03.js
+++ b/js/src/tests/e4x/Regress/regress-356238-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 356238;
--- a/js/src/tests/e4x/Regress/regress-361451.js
+++ b/js/src/tests/e4x/Regress/regress-361451.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 361451;
--- a/js/src/tests/e4x/Regress/regress-364017.js
+++ b/js/src/tests/e4x/Regress/regress-364017.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 364017;
--- a/js/src/tests/e4x/Regress/regress-369032.js
+++ b/js/src/tests/e4x/Regress/regress-369032.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: kid2->parent == xml || !kid2->parent';
--- a/js/src/tests/e4x/Regress/regress-369536.js
+++ b/js/src/tests/e4x/Regress/regress-369536.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("Assignment to XML property removes attributes");
--- a/js/src/tests/e4x/Regress/regress-369740.js
+++ b/js/src/tests/e4x/Regress/regress-369740.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 369740;
--- a/js/src/tests/e4x/Regress/regress-370016.js
+++ b/js/src/tests/e4x/Regress/regress-370016.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 370016;
--- a/js/src/tests/e4x/Regress/regress-370048-01.js
+++ b/js/src/tests/e4x/Regress/regress-370048-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 370048;
--- a/js/src/tests/e4x/Regress/regress-370048-02.js
+++ b/js/src/tests/e4x/Regress/regress-370048-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 370048;
--- a/js/src/tests/e4x/Regress/regress-370372.js
+++ b/js/src/tests/e4x/Regress/regress-370372.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 370372;
--- a/js/src/tests/e4x/Regress/regress-371369.js
+++ b/js/src/tests/e4x/Regress/regress-371369.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 371369;
--- a/js/src/tests/e4x/Regress/regress-372563.js
+++ b/js/src/tests/e4x/Regress/regress-372563.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 372563;
--- a/js/src/tests/e4x/Regress/regress-372564.js
+++ b/js/src/tests/e4x/Regress/regress-372564.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 372564;
--- a/js/src/tests/e4x/Regress/regress-373082.js
+++ b/js/src/tests/e4x/Regress/regress-373082.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 373082;
--- a/js/src/tests/e4x/Regress/regress-374106.js
+++ b/js/src/tests/e4x/Regress/regress-374106.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 374106;
--- a/js/src/tests/e4x/Regress/regress-374112.js
+++ b/js/src/tests/e4x/Regress/regress-374112.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 374112;
--- a/js/src/tests/e4x/Regress/regress-374116.js
+++ b/js/src/tests/e4x/Regress/regress-374116.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 374116;
--- a/js/src/tests/e4x/Regress/regress-374160.js
+++ b/js/src/tests/e4x/Regress/regress-374160.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 374160;
--- a/js/src/tests/e4x/Regress/regress-375406.js
+++ b/js/src/tests/e4x/Regress/regress-375406.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash @ PutProperty setting <a/>.attribute("")[0]';
--- a/js/src/tests/e4x/Regress/regress-378492.js
+++ b/js/src/tests/e4x/Regress/regress-378492.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 378492;
--- a/js/src/tests/e4x/Regress/regress-380833.js
+++ b/js/src/tests/e4x/Regress/regress-380833.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Crash during GC after uneval";
--- a/js/src/tests/e4x/Regress/regress-383255.js
+++ b/js/src/tests/e4x/Regress/regress-383255.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: JS_UPTRDIFF(fp->sp, fp->spbase) <= depthdiff';
--- a/js/src/tests/e4x/Regress/regress-394941.js
+++ b/js/src/tests/e4x/Regress/regress-394941.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android) silentfail
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android) silentfail
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Infinite recursion should throw catchable exception';
--- a/js/src/tests/e4x/Regress/regress-407323.js
+++ b/js/src/tests/e4x/Regress/regress-407323.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'XML, XMLList, QName are mutable, Namespace is not.';
--- a/js/src/tests/e4x/Regress/regress-426520.js
+++ b/js/src/tests/e4x/Regress/regress-426520.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash @ ParseXMLSource';
--- a/js/src/tests/e4x/Regress/regress-453915.js
+++ b/js/src/tests/e4x/Regress/regress-453915.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'XML Injection possible via default xml namespace';
--- a/js/src/tests/e4x/Regress/regress-458679-01.js
+++ b/js/src/tests/e4x/Regress/regress-458679-01.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android) silentfail
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android) silentfail
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'GetXMLEntity should not assume FastAppendChar is infallible';
--- a/js/src/tests/e4x/Regress/regress-458679-02.js
+++ b/js/src/tests/e4x/Regress/regress-458679-02.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android) silentfail
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android) silentfail
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'GetXMLEntity should not assume FastAppendChar is infallible';
--- a/js/src/tests/e4x/Regress/regress-460180.js
+++ b/js/src/tests/e4x/Regress/regress-460180.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash with if (false || false || <x/>) {}';
--- a/js/src/tests/e4x/Regress/regress-465063.js
+++ b/js/src/tests/e4x/Regress/regress-465063.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash @ TraceRecorder::hasMethod';
--- a/js/src/tests/e4x/Regress/regress-470619.js
+++ b/js/src/tests/e4x/Regress/regress-470619.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: regs.sp - 2 >= StackBase(fp)';
--- a/js/src/tests/e4x/Regress/regress-473709.js
+++ b/js/src/tests/e4x/Regress/regress-473709.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android)
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: cursor == (uint8_t *)copy->messageArgs[0] + argsCopySize';
--- a/js/src/tests/e4x/Regress/regress-474319.js
+++ b/js/src/tests/e4x/Regress/regress-474319.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android)
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash with e4x, map and concat';
--- a/js/src/tests/e4x/Regress/regress-477053.js
+++ b/js/src/tests/e4x/Regress/regress-477053.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: JSVAL_IS_STRING(v)';
--- a/js/src/tests/e4x/Regress/regress-561031.js
+++ b/js/src/tests/e4x/Regress/regress-561031.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  * Contributor: Gary Kwong
  */
 
 try {} catch(e) {}
 try {} catch(e) {}
--- a/js/src/tests/e4x/Regress/regress-587434.js
+++ b/js/src/tests/e4x/Regress/regress-587434.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
 (function() {
   function::a(eval("false"), true);
   function a({}) {}
--- a/js/src/tests/e4x/Statements/12.1.js
+++ b/js/src/tests/e4x/Statements/12.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("12.1 - Default XML Namespace");
--- a/js/src/tests/e4x/Statements/12.2.js
+++ b/js/src/tests/e4x/Statements/12.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("12.2 - For-in statement");
--- a/js/src/tests/e4x/Statements/12.3-01.js
+++ b/js/src/tests/e4x/Statements/12.3-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '12.3 - for-each-in should not affect for-in';
 var BUGNUMBER = 292020;
--- a/js/src/tests/e4x/TypeConversion/10.1.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.1.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.1.1 - XML.toString");
--- a/js/src/tests/e4x/TypeConversion/10.1.2.js
+++ b/js/src/tests/e4x/TypeConversion/10.1.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.1.2 - XMLList.toString");
--- a/js/src/tests/e4x/TypeConversion/10.2.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.2.1.js
@@ -1,9 +1,9 @@
-// |reftest| fails
+// |reftest| pref(javascript.options.xml.content,true) fails
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
--- a/js/src/tests/e4x/TypeConversion/10.3.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.3.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.3.1 - toXML applied to String type");
--- a/js/src/tests/e4x/TypeConversion/10.3.js
+++ b/js/src/tests/e4x/TypeConversion/10.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.3 - toXML");
--- a/js/src/tests/e4x/TypeConversion/10.4.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.4.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.4.1 - toXMLList Applied to String type");
--- a/js/src/tests/e4x/TypeConversion/10.4.js
+++ b/js/src/tests/e4x/TypeConversion/10.4.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.4 - toXMLList");
--- a/js/src/tests/e4x/TypeConversion/10.5.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.5.1.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.5.1 - ToAttributeName applied to the String type");
--- a/js/src/tests/e4x/TypeConversion/10.5.js
+++ b/js/src/tests/e4x/TypeConversion/10.5.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.5 ToAttributeName");
--- a/js/src/tests/e4x/TypeConversion/10.6.1.js
+++ b/js/src/tests/e4x/TypeConversion/10.6.1.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.6.1 - ToXMLName applied to the String type");
--- a/js/src/tests/e4x/TypeConversion/10.6.js
+++ b/js/src/tests/e4x/TypeConversion/10.6.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("10.6 - ToXMLName");
--- a/js/src/tests/e4x/Types/9.1.1.1.js
+++ b/js/src/tests/e4x/Types/9.1.1.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START('9.1.1.1 XML [[Get]]');
--- a/js/src/tests/e4x/Types/9.1.1.10.js
+++ b/js/src/tests/e4x/Types/9.1.1.10.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.10 - XML [[ResolveValue]]");
--- a/js/src/tests/e4x/Types/9.1.1.11.js
+++ b/js/src/tests/e4x/Types/9.1.1.11.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.11 - XML [[Insert]]");
--- a/js/src/tests/e4x/Types/9.1.1.12.js
+++ b/js/src/tests/e4x/Types/9.1.1.12.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.12 - XML [[Replace]]");
--- a/js/src/tests/e4x/Types/9.1.1.13.js
+++ b/js/src/tests/e4x/Types/9.1.1.13.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.13 - XML Type [[AddInScopeNamespace]]");
--- a/js/src/tests/e4x/Types/9.1.1.2.js
+++ b/js/src/tests/e4x/Types/9.1.1.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START('9.1.1.2 - XML [[Put]]');
--- a/js/src/tests/e4x/Types/9.1.1.3.js
+++ b/js/src/tests/e4x/Types/9.1.1.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.3 - XML [[Delete]]");
--- a/js/src/tests/e4x/Types/9.1.1.4.js
+++ b/js/src/tests/e4x/Types/9.1.1.4.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.4 - XML [[DeleteByIndex]]");
--- a/js/src/tests/e4x/Types/9.1.1.5.js
+++ b/js/src/tests/e4x/Types/9.1.1.5.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // XML Type [[Default Value]]
--- a/js/src/tests/e4x/Types/9.1.1.6.js
+++ b/js/src/tests/e4x/Types/9.1.1.6.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.6 - XML [[HasProperty]]");
--- a/js/src/tests/e4x/Types/9.1.1.7.js
+++ b/js/src/tests/e4x/Types/9.1.1.7.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.7 - XML [[DeepCopy]]");
--- a/js/src/tests/e4x/Types/9.1.1.8.js
+++ b/js/src/tests/e4x/Types/9.1.1.8.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 // XML Type [[Descendants]]
--- a/js/src/tests/e4x/Types/9.1.1.9.js
+++ b/js/src/tests/e4x/Types/9.1.1.9.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.1.1.9 - XML [[Equals]]");
--- a/js/src/tests/e4x/Types/9.2.1.1.js
+++ b/js/src/tests/e4x/Types/9.2.1.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.1 XMLList [[Get]]");
--- a/js/src/tests/e4x/Types/9.2.1.10.js
+++ b/js/src/tests/e4x/Types/9.2.1.10.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.10 XMLList [[ResolveValue]]");
--- a/js/src/tests/e4x/Types/9.2.1.2.js
+++ b/js/src/tests/e4x/Types/9.2.1.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.2 - XMLList [[Put]]");
--- a/js/src/tests/e4x/Types/9.2.1.3.js
+++ b/js/src/tests/e4x/Types/9.2.1.3.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.3 XMLList [[Delete]]");
--- a/js/src/tests/e4x/Types/9.2.1.4.js
+++ b/js/src/tests/e4x/Types/9.2.1.4.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.4 XMLList [[DefaultValue]]");
--- a/js/src/tests/e4x/Types/9.2.1.5.js
+++ b/js/src/tests/e4x/Types/9.2.1.5.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.5 XMLList [[HasProperty]]");
--- a/js/src/tests/e4x/Types/9.2.1.6.js
+++ b/js/src/tests/e4x/Types/9.2.1.6.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.6 XMLList [[Append]]");
--- a/js/src/tests/e4x/Types/9.2.1.7.js
+++ b/js/src/tests/e4x/Types/9.2.1.7.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.7 XMLList [[DeepCopy]]");
--- a/js/src/tests/e4x/Types/9.2.1.8.js
+++ b/js/src/tests/e4x/Types/9.2.1.8.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.8 XMLList [[Descendants]]");
--- a/js/src/tests/e4x/Types/9.2.1.9.js
+++ b/js/src/tests/e4x/Types/9.2.1.9.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("9.2.1.9 XMLList [[Equals]]");
--- a/js/src/tests/e4x/XML/13.4.1.js
+++ b/js/src/tests/e4x/XML/13.4.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.1 - XML Constructor as Function");
--- a/js/src/tests/e4x/XML/13.4.2.js
+++ b/js/src/tests/e4x/XML/13.4.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.2 - XML Constructor");
--- a/js/src/tests/e4x/XML/13.4.3.10.js
+++ b/js/src/tests/e4x/XML/13.4.3.10.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.3.10 - XML Constructor [[HasInstance]]");
 
--- a/js/src/tests/e4x/XML/13.4.3.js
+++ b/js/src/tests/e4x/XML/13.4.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.3 - XML Properties");
--- a/js/src/tests/e4x/XML/13.4.4.1.js
+++ b/js/src/tests/e4x/XML/13.4.4.1.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- obsolete test
+// |reftest| pref(javascript.options.xml.content,true) skip -- obsolete test
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.1 - XML Constructor");
--- a/js/src/tests/e4x/XML/13.4.4.10.js
+++ b/js/src/tests/e4x/XML/13.4.4.10.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var nTest = 0;
--- a/js/src/tests/e4x/XML/13.4.4.11.js
+++ b/js/src/tests/e4x/XML/13.4.4.11.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.11 - XML copy()");
--- a/js/src/tests/e4x/XML/13.4.4.12-1.js
+++ b/js/src/tests/e4x/XML/13.4.4.12-1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.4.4.12 - XML Descendants";
 var BUGNUMBER = 289117;
--- a/js/src/tests/e4x/XML/13.4.4.12.js
+++ b/js/src/tests/e4x/XML/13.4.4.12.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.12 - XML descendants");
--- a/js/src/tests/e4x/XML/13.4.4.13.js
+++ b/js/src/tests/e4x/XML/13.4.4.13.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.14 - XML elements()");
--- a/js/src/tests/e4x/XML/13.4.4.14.js
+++ b/js/src/tests/e4x/XML/13.4.4.14.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.14 - XML hasOwnProperty()");
--- a/js/src/tests/e4x/XML/13.4.4.15.js
+++ b/js/src/tests/e4x/XML/13.4.4.15.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.15 - hasComplexContent()");
--- a/js/src/tests/e4x/XML/13.4.4.16.js
+++ b/js/src/tests/e4x/XML/13.4.4.16.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.16 - XML hasSimpleContent()");
--- a/js/src/tests/e4x/XML/13.4.4.17.js
+++ b/js/src/tests/e4x/XML/13.4.4.17.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.17 - XML inScopeNamespaces()");
--- a/js/src/tests/e4x/XML/13.4.4.18.js
+++ b/js/src/tests/e4x/XML/13.4.4.18.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.18 - XML insertChildAfter()");
--- a/js/src/tests/e4x/XML/13.4.4.19.js
+++ b/js/src/tests/e4x/XML/13.4.4.19.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.19 - insertChildBefore()");
--- a/js/src/tests/e4x/XML/13.4.4.2.js
+++ b/js/src/tests/e4x/XML/13.4.4.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.2 - XML addNamespace()");
--- a/js/src/tests/e4x/XML/13.4.4.20.js
+++ b/js/src/tests/e4x/XML/13.4.4.20.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.20 - XML length()");
--- a/js/src/tests/e4x/XML/13.4.4.21.js
+++ b/js/src/tests/e4x/XML/13.4.4.21.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.21 - XML localName()");
--- a/js/src/tests/e4x/XML/13.4.4.22.js
+++ b/js/src/tests/e4x/XML/13.4.4.22.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.22 - XML name()");
--- a/js/src/tests/e4x/XML/13.4.4.23.js
+++ b/js/src/tests/e4x/XML/13.4.4.23.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.23 - XML namespace()");
--- a/js/src/tests/e4x/XML/13.4.4.24.js
+++ b/js/src/tests/e4x/XML/13.4.4.24.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.24 - XML namespaceDeclarations()");
--- a/js/src/tests/e4x/XML/13.4.4.25.js
+++ b/js/src/tests/e4x/XML/13.4.4.25.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.25 - XML nodeKind()");
--- a/js/src/tests/e4x/XML/13.4.4.26.js
+++ b/js/src/tests/e4x/XML/13.4.4.26.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.26 - XML normalize()");
--- a/js/src/tests/e4x/XML/13.4.4.27.js
+++ b/js/src/tests/e4x/XML/13.4.4.27.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.27 - XML parent()");
--- a/js/src/tests/e4x/XML/13.4.4.28.js
+++ b/js/src/tests/e4x/XML/13.4.4.28.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.28 - processingInsructions()");
--- a/js/src/tests/e4x/XML/13.4.4.29.js
+++ b/js/src/tests/e4x/XML/13.4.4.29.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.29 - XML prependChild()");
--- a/js/src/tests/e4x/XML/13.4.4.3-01.js
+++ b/js/src/tests/e4x/XML/13.4.4.3-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.4.4.3 - XML.appendChild should copy child";
 
--- a/js/src/tests/e4x/XML/13.4.4.3-02.js
+++ b/js/src/tests/e4x/XML/13.4.4.3-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "13.4.4.3 - XML.appendChild should copy child";
 var BUGNUMBER = 312692;
--- a/js/src/tests/e4x/XML/13.4.4.3.js
+++ b/js/src/tests/e4x/XML/13.4.4.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.3 - XML appendChild()");
--- a/js/src/tests/e4x/XML/13.4.4.30.js
+++ b/js/src/tests/e4x/XML/13.4.4.30.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.30 - propertyIsEnumerable()");
--- a/js/src/tests/e4x/XML/13.4.4.31.js
+++ b/js/src/tests/e4x/XML/13.4.4.31.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.31 - XML removeNamespace()");
--- a/js/src/tests/e4x/XML/13.4.4.32-01.js
+++ b/js/src/tests/e4x/XML/13.4.4.32-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.32-1 - XML replace() by index, text to string");
--- a/js/src/tests/e4x/XML/13.4.4.32.js
+++ b/js/src/tests/e4x/XML/13.4.4.32.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.32 - XML replace()");
--- a/js/src/tests/e4x/XML/13.4.4.33.js
+++ b/js/src/tests/e4x/XML/13.4.4.33.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.33 - XML setChildren()");
--- a/js/src/tests/e4x/XML/13.4.4.34.js
+++ b/js/src/tests/e4x/XML/13.4.4.34.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.34 - XML setLocalName()");
--- a/js/src/tests/e4x/XML/13.4.4.35.js
+++ b/js/src/tests/e4x/XML/13.4.4.35.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.35 - setName");
--- a/js/src/tests/e4x/XML/13.4.4.36.js
+++ b/js/src/tests/e4x/XML/13.4.4.36.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.36 - setNamespace");
--- a/js/src/tests/e4x/XML/13.4.4.37.js
+++ b/js/src/tests/e4x/XML/13.4.4.37.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.37 - XML text()");
--- a/js/src/tests/e4x/XML/13.4.4.38.js
+++ b/js/src/tests/e4x/XML/13.4.4.38.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.38 - XML toString()");
--- a/js/src/tests/e4x/XML/13.4.4.39.js
+++ b/js/src/tests/e4x/XML/13.4.4.39.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.39 - XML toXMLString");
--- a/js/src/tests/e4x/XML/13.4.4.4.js
+++ b/js/src/tests/e4x/XML/13.4.4.4.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.4 - XML attribute()");
--- a/js/src/tests/e4x/XML/13.4.4.40.js
+++ b/js/src/tests/e4x/XML/13.4.4.40.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.40 - valueOf");
--- a/js/src/tests/e4x/XML/13.4.4.5.js
+++ b/js/src/tests/e4x/XML/13.4.4.5.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.5 - XML attributes()");
--- a/js/src/tests/e4x/XML/13.4.4.6.js
+++ b/js/src/tests/e4x/XML/13.4.4.6.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.6 - XML child()");
--- a/js/src/tests/e4x/XML/13.4.4.7.js
+++ b/js/src/tests/e4x/XML/13.4.4.7.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.7 - XML childIndex()");
--- a/js/src/tests/e4x/XML/13.4.4.8.js
+++ b/js/src/tests/e4x/XML/13.4.4.8.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.8 - XML children()");
--- a/js/src/tests/e4x/XML/13.4.4.9.js
+++ b/js/src/tests/e4x/XML/13.4.4.9.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.4.4.9 - XML comments()");
--- a/js/src/tests/e4x/XML/regress-291930.js
+++ b/js/src/tests/e4x/XML/regress-291930.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("If document starts with comment, document is discarded");
--- a/js/src/tests/e4x/XML/regress-324422-1.js
+++ b/js/src/tests/e4x/XML/regress-324422-1.js
@@ -1,9 +1,9 @@
-// |reftest| skip-if(Android) silentfail
+// |reftest| pref(javascript.options.xml.content,true) skip-if(Android) silentfail
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash creating XML object with long initialiser";
--- a/js/src/tests/e4x/XML/regress-324422-2.js
+++ b/js/src/tests/e4x/XML/regress-324422-2.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- slow
+// |reftest| pref(javascript.options.xml.content,true) skip -- slow
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Do not crash creating XML object with long initialiser";
--- a/js/src/tests/e4x/XML/regress-324688.js
+++ b/js/src/tests/e4x/XML/regress-324688.js
@@ -1,9 +1,9 @@
-// |reftest| skip -- bug 528404 - disable due to random timeouts
+// |reftest| pref(javascript.options.xml.content,true) skip -- bug 528404 - disable due to random timeouts
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'No Syntax Error when trailing space and XML.ignoreWhitespace ' +
--- a/js/src/tests/e4x/XML/regress-336921.js
+++ b/js/src/tests/e4x/XML/regress-336921.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = '13.4.4.3 - XML.prototype.appendChild creates undesired <br/>';
--- a/js/src/tests/e4x/XML/regress-376773.js
+++ b/js/src/tests/e4x/XML/regress-376773.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 376773;
--- a/js/src/tests/e4x/XML/regress-621464.js
+++ b/js/src/tests/e4x/XML/regress-621464.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 621464;
--- a/js/src/tests/e4x/XML/regress-638982.js
+++ b/js/src/tests/e4x/XML/regress-638982.js
@@ -1,6 +1,7 @@
+// |reftest| pref(javascript.options.xml.content,true)
 
 var SUMMARY = "Mark properties of XML.prototype as unknown";
 
 XML.prototype.x
 
 TEST(0,0,0)
--- a/js/src/tests/e4x/XMLList/13.5.1.js
+++ b/js/src/tests/e4x/XMLList/13.5.1.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.1 - XMLList Constructor as Function");
--- a/js/src/tests/e4x/XMLList/13.5.2.js
+++ b/js/src/tests/e4x/XMLList/13.5.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.2 - XMLList Constructor");
--- a/js/src/tests/e4x/XMLList/13.5.4.10.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.10.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.10 - XMLList elements()");
--- a/js/src/tests/e4x/XMLList/13.5.4.11.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.11.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.11 - XMLList hasOwnProperty()");
--- a/js/src/tests/e4x/XMLList/13.5.4.12.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.12.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.12 - XMLList hasComplexContent()");
--- a/js/src/tests/e4x/XMLList/13.5.4.13.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.13.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.13 - XMLList hasSimpleContent()");
--- a/js/src/tests/e4x/XMLList/13.5.4.14.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.14.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.14 - XMLList length()");
--- a/js/src/tests/e4x/XMLList/13.5.4.15.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.15.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.15 - XMLList normalize()");
--- a/js/src/tests/e4x/XMLList/13.5.4.16.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.16.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.16 - XMLList parent()");
--- a/js/src/tests/e4x/XMLList/13.5.4.17.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.17.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.17 - XMLList processingInstructions()");
--- a/js/src/tests/e4x/XMLList/13.5.4.18.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.18.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.18 - XMLList propertyIsEnumerable()");
--- a/js/src/tests/e4x/XMLList/13.5.4.19.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.19.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.19 - XMLList text()");
--- a/js/src/tests/e4x/XMLList/13.5.4.2.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.2.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.2 - XMLList attribute()");
--- a/js/src/tests/e4x/XMLList/13.5.4.20.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.20.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.20 - XMLList toString()");
--- a/js/src/tests/e4x/XMLList/13.5.4.21.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.21.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.21 - XMLList toXMLString()");
--- a/js/src/tests/e4x/XMLList/13.5.4.22.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.22.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.22 - XMLList valueOf()");
--- a/js/src/tests/e4x/XMLList/13.5.4.3.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.3 - XMLList attributes()");
--- a/js/src/tests/e4x/XMLList/13.5.4.4.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.4.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.4 - XMLList child()");
--- a/js/src/tests/e4x/XMLList/13.5.4.5.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.5.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.5 - XMLList children()");
--- a/js/src/tests/e4x/XMLList/13.5.4.6.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.6.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.6 - XMLList comments()");
--- a/js/src/tests/e4x/XMLList/13.5.4.7.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.7.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.7 - XMLList contains()");
--- a/js/src/tests/e4x/XMLList/13.5.4.8.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.8.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.8 - XMLList copy()");
--- a/js/src/tests/e4x/XMLList/13.5.4.9.js
+++ b/js/src/tests/e4x/XMLList/13.5.4.9.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 START("13.5.4.9 - XMLList descendants()");
--- a/js/src/tests/e4x/XMLList/regress-373072.js
+++ b/js/src/tests/e4x/XMLList/regress-373072.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 373072;
--- a/js/src/tests/e4x/extensions/assign-to-xml.js
+++ b/js/src/tests/e4x/extensions/assign-to-xml.js
@@ -1,9 +1,9 @@
-// |reftest| skip
+// |reftest| pref(javascript.options.xml.content,true) skip
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 try
 {
   eval("d, {" +
        "  x: [{" +
        "    x: x::x" +
--- a/js/src/tests/e4x/extensions/extensibility.js
+++ b/js/src/tests/e4x/extensions/extensibility.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  * Contributor:
  *   Jeff Walden <jwalden+code@mit.edu>
  */
 
 var gTestfile = 'extensibility.js';
--- a/js/src/tests/e4x/extensions/json-stringify-dropping-xml-elements.js
+++ b/js/src/tests/e4x/extensions/json-stringify-dropping-xml-elements.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Ported from dom/src/json/test/unit/test_dropping_elements_in_stringify.js
 
 assertEq(JSON.stringify({foo: 123, bar: <x><y></y></x>, baz: 123}),
          '{"foo":123,"baz":123}');
 
 assertEq(JSON.stringify([123, <x><y></y></x>, 456]),
          '[123,null,456]');
 
--- a/js/src/tests/e4x/extensions/qualified-name-expr.js
+++ b/js/src/tests/e4x/extensions/qualified-name-expr.js
@@ -1,9 +1,9 @@
-// |reftest| skip
+// |reftest| pref(javascript.options.xml.content,true) skip
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 var v;
 (function::v);
 
 function f() { }
 (function::f);
--- a/js/src/tests/e4x/extensions/regress-305335.js
+++ b/js/src/tests/e4x/extensions/regress-305335.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regression - XML instance methods should type check in " +
     "JS_GetPrivate()";
--- a/js/src/tests/e4x/extensions/regress-312196.js
+++ b/js/src/tests/e4x/extensions/regress-312196.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Extending E4X XML objects with __noSuchMethod__";
 var BUGNUMBER = 312196;
--- a/js/src/tests/e4x/extensions/regress-313080.js
+++ b/js/src/tests/e4x/extensions/regress-313080.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Regression - Do not crash calling __proto__";
 var BUGNUMBER = 313080;
--- a/js/src/tests/e4x/extensions/regress-327534.js
+++ b/js/src/tests/e4x/extensions/regress-327534.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "uneval on E4X gives Error: xml is not a function";
--- a/js/src/tests/e4x/extensions/regress-327897.js
+++ b/js/src/tests/e4x/extensions/regress-327897.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = "Crash in js_GetStringBytes";
--- a/js/src/tests/e4x/extensions/regress-337226.js
+++ b/js/src/tests/e4x/extensions/regress-337226.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 337226;
--- a/js/src/tests/e4x/extensions/regress-352846-01.js
+++ b/js/src/tests/e4x/extensions/regress-352846-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 352846;
--- a/js/src/tests/e4x/extensions/regress-352846-02.js
+++ b/js/src/tests/e4x/extensions/regress-352846-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 352846;
--- a/js/src/tests/e4x/extensions/regress-352846-03.js
+++ b/js/src/tests/e4x/extensions/regress-352846-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 352846;
--- a/js/src/tests/e4x/extensions/regress-353165.js
+++ b/js/src/tests/e4x/extensions/regress-353165.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 353165;
--- a/js/src/tests/e4x/extensions/regress-354145-06.js
+++ b/js/src/tests/e4x/extensions/regress-354145-06.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354145;
--- a/js/src/tests/e4x/extensions/regress-354151-01.js
+++ b/js/src/tests/e4x/extensions/regress-354151-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354151;
--- a/js/src/tests/e4x/extensions/regress-354151-02.js
+++ b/js/src/tests/e4x/extensions/regress-354151-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 354151;
--- a/js/src/tests/e4x/extensions/regress-374025.js
+++ b/js/src/tests/e4x/extensions/regress-374025.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash with XML.prettyIndent = 2147483648';
--- a/js/src/tests/e4x/extensions/regress-374163.js
+++ b/js/src/tests/e4x/extensions/regress-374163.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var BUGNUMBER = 374163;
--- a/js/src/tests/e4x/extensions/regress-410192.js
+++ b/js/src/tests/e4x/extensions/regress-410192.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Proper quoting of attribute by uneval/toSource';
--- a/js/src/tests/e4x/extensions/regress-450871-01.js
+++ b/js/src/tests/e4x/extensions/regress-450871-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash: __proto__ = <x/>; <x/>.lastIndexOf(this, false)';
--- a/js/src/tests/e4x/extensions/regress-450871-02.js
+++ b/js/src/tests/e4x/extensions/regress-450871-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not crash: __proto__ = <x/>; <x/>.indexOf(this)';
--- a/js/src/tests/e4x/extensions/regress-462734-01.js
+++ b/js/src/tests/e4x/extensions/regress-462734-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 var summary = 'Do not assert: pobj_ == obj2';
--- a/js/src/tests/e4x/extensions/regress-595207.js
+++ b/js/src/tests/e4x/extensions/regress-595207.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
 var summary = "Recognize the function namespace anti-URI";
 var expect = "1";
 var actual;
--- a/js/src/tests/e4x/extensions/stringify-xml.js
+++ b/js/src/tests/e4x/extensions/stringify-xml.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 assertEq(JSON.stringify(undefined), undefined);
 assertEq(JSON.stringify(function(){}), undefined);
 assertEq(JSON.stringify(<x><y></y></x>), undefined);
 
 /******************************************************************************/
--- a/js/src/tests/e4x/extensions/xml-as-proto.js
+++ b/js/src/tests/e4x/extensions/xml-as-proto.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 try
 {
   var r = Object.create(<a/>);
   throw new Error("didn't throw, got " + r);
 }
--- a/js/src/tests/ecma_5/extensions/Object-keys-and-object-ids.js
+++ b/js/src/tests/ecma_5/extensions/Object-keys-and-object-ids.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 var o = { normal:"a" };
 Object.defineProperty(o, new QName, { enumerable:true });
 var keys = Object.keys(o);
 assertEq(keys.length, 1);
 assertEq(keys[0], "normal");
 
 var o = {};
 Object.defineProperty(o, new QName, { enumerable:true });
--- a/js/src/tests/js1_5/Regress/regress-309242.js
+++ b/js/src/tests/js1_5/Regress/regress-309242.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 309242;
 var summary = 'E4X should be on by default while preserving comment hack';
--- a/js/src/tests/js1_5/Regress/regress-407323.js
+++ b/js/src/tests/js1_5/Regress/regress-407323.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 407323;
 var summary = 'XML, XMLList, QName are mutable, Namespace is not.';
--- a/js/src/tests/js1_6/Regress/regress-301574.js
+++ b/js/src/tests/js1_6/Regress/regress-301574.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 301574;
 var summary = 'E4X should be enabled even when e4x=1 not specified';
--- a/js/src/tests/js1_6/Regress/regress-314887.js
+++ b/js/src/tests/js1_6/Regress/regress-314887.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 314887;
 var summary = 'Do not crash when morons embed script tags in external script files';
--- a/js/src/tests/js1_6/Regress/regress-378492.js
+++ b/js/src/tests/js1_6/Regress/regress-378492.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 378492;
 var summary = 'namespace_trace/qname_trace should check for null private, ' +
--- a/js/src/tests/js1_7/block/regress-352212.js
+++ b/js/src/tests/js1_7/block/regress-352212.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352212;
 var summary = 'Do not crash with XML filtering predicate, |let|, string.replace';
--- a/js/src/tests/js1_7/block/regress-352267.js
+++ b/js/src/tests/js1_7/block/regress-352267.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352267;
 var summary = 'Do not assert with |if|, block, |let|';
--- a/js/src/tests/js1_7/extensions/regress-351102-04.js
+++ b/js/src/tests/js1_7/extensions/regress-351102-04.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 351102;
 var summary = 'try/catch-guard/finally GC issues';
--- a/js/src/tests/js1_7/extensions/regress-355145.js
+++ b/js/src/tests/js1_7/extensions/regress-355145.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 355145;
 var summary = 'JS_GetMethodById() on XML Objects';
--- a/js/src/tests/js1_7/geniter/regress-352605.js
+++ b/js/src/tests/js1_7/geniter/regress-352605.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352605;
 var summary = 'Do not assert with |yield|, nested xml-filtering predicate';
--- a/js/src/tests/js1_7/iterable/regress-355075-02.js
+++ b/js/src/tests/js1_7/iterable/regress-355075-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 355075;
 var summary = 'Regression tests from bug 354750';
--- a/js/src/tests/js1_7/lexical/regress-336376-01.js
+++ b/js/src/tests/js1_7/lexical/regress-336376-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER     = "336376";
 var summary = "Tests reserved words in contexts in which they are not reserved";
--- a/js/src/tests/js1_7/regress/regress-352797-02.js
+++ b/js/src/tests/js1_7/regress/regress-352797-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352797;
 var summary = 'Do not assert: OBJ_GET_CLASS(cx, obj) == &js_BlockClass';
--- a/js/src/tests/js1_7/regress/regress-352870-01.js
+++ b/js/src/tests/js1_7/regress/regress-352870-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352870;
 var summary = 'Do not assert for crazy huge testcases';
--- a/js/src/tests/js1_7/regress/regress-352870-02.js
+++ b/js/src/tests/js1_7/regress/regress-352870-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352870;
 var summary = 'Do not assert for crazy huge testcases';
--- a/js/src/tests/js1_7/regress/regress-352870-03.js
+++ b/js/src/tests/js1_7/regress/regress-352870-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 352870;
 var summary = 'Do not assert for crazy huge testcases';
--- a/js/src/tests/js1_7/regress/regress-416705.js
+++ b/js/src/tests/js1_7/regress/regress-416705.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 416705;
 var summary = 'throw from xml filter crashes';
--- a/js/src/tests/js1_7/regress/regress-428708.js
+++ b/js/src/tests/js1_7/regress/regress-428708.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 428708;
 var summary = 'Do not assert: OBJ_BLOCK_COUNT(cx, obj) == 1';
--- a/js/src/tests/js1_7/regress/regress-470388-02.js
+++ b/js/src/tests/js1_7/regress/regress-470388-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 470388;
 var summary = 'TM: Do not assert: !(fp->flags & JSFRAME_POP_BLOCKS)';
--- a/js/src/tests/js1_7/regress/regress-470388-03.js
+++ b/js/src/tests/js1_7/regress/regress-470388-03.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 470388;
 var summary = 'TM: Do not assert: !(fp->flags & JSFRAME_POP_BLOCKS)';
--- a/js/src/tests/js1_8/extensions/regress-476653.js
+++ b/js/src/tests/js1_8/extensions/regress-476653.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 476653;
 var summary = 'Do not crash @ QuoteString';
--- a/js/src/tests/js1_8/extensions/regress-476871-02.js
+++ b/js/src/tests/js1_8/extensions/regress-476871-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 476871;
 var summary = 'Do not crash @ js_StepXMLListFilter';
--- a/js/src/tests/js1_8/extensions/regress-482263.js
+++ b/js/src/tests/js1_8/extensions/regress-482263.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 482263;
 var summary = 'TM: Do not assert: x->oprnd2() == lirbuf->sp || x->oprnd2() == gp_ins';
--- a/js/src/tests/js1_8/genexps/regress-667131.js
+++ b/js/src/tests/js1_8/genexps/regress-667131.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 667131;
--- a/js/src/tests/js1_8/regress/regress-384412.js
+++ b/js/src/tests/js1_8/regress/regress-384412.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 384412;
 var summary = 'Exercise frame handling code';
--- a/js/src/tests/js1_8/regress/regress-465460-07.js
+++ b/js/src/tests/js1_8/regress/regress-465460-07.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 465460;
 var summary = 'TM: valueOf in a loop: do not assert';
--- a/js/src/tests/js1_8/regress/regress-471373.js
+++ b/js/src/tests/js1_8/regress/regress-471373.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 471373;
 var summary = 'TM: do not assert: (size_t)(regs.pc - script->code) < script->length';
--- a/js/src/tests/js1_8/regress/regress-471660.js
+++ b/js/src/tests/js1_8/regress/regress-471660.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 471660;
 var summary = 'TM: Do not assert: !(fp->flags & JSFRAME_POP_BLOCKS)';
--- a/js/src/tests/js1_8/regress/regress-472450-01.js
+++ b/js/src/tests/js1_8/regress/regress-472450-01.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 472450;
 var summary = 'TM: Do not assert: StackBase(fp) + blockDepth == regs.sp';
--- a/js/src/tests/js1_8/regress/regress-472450-02.js
+++ b/js/src/tests/js1_8/regress/regress-472450-02.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 472450;
 var summary = 'TM: Do not assert: StackBase(fp) + blockDepth == regs.sp';
--- a/js/src/tests/js1_8/regress/regress-479353.js
+++ b/js/src/tests/js1_8/regress/regress-479353.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 479353;
 var summary = 'Do not assert: (uint32_t)(index_) < atoms_->length';
--- a/js/src/tests/js1_8_1/regress/regress-452498-053.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-053.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  * Contributor: Jason Orendorff
  */
 
 //-----------------------------------------------------------------------------
--- a/js/src/tests/js1_8_1/regress/regress-452498-068.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-068.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 452498;
 var summary = 'TM: upvar2 regression tests';
--- a/js/src/tests/js1_8_1/regress/regress-452498-082.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-082.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 452498;
 var summary = 'TM: upvar2 regression tests';
--- a/js/src/tests/js1_8_1/regress/regress-452498-117.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-117.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 03/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 452498;
 var summary = 'TM: upvar2 regression tests';
--- a/js/src/tests/js1_8_1/regress/regress-452498-135.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-135.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 452498;
 var summary = 'TM: upvar2 regression tests';
--- a/js/src/tests/js1_8_1/regress/regress-452498-160.js
+++ b/js/src/tests/js1_8_1/regress/regress-452498-160.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 452498;
 var summary = 'TM: upvar2 regression tests';
--- a/js/src/tests/js1_8_5/regress/regress-546615.js
+++ b/js/src/tests/js1_8_5/regress/regress-546615.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  * Contributors: Gary Kwong and Jason Orendorff
  */
 
 try {
     <y a={0
--- a/js/src/tests/js1_8_5/regress/regress-560101.js
+++ b/js/src/tests/js1_8_5/regress/regress-560101.js
@@ -1,4 +1,5 @@
+// |reftest| pref(javascript.options.xml.content,true)
 try {
     Object.defineProperty(<x/>, "p", {});  // don't assert
 } catch (exc) {}
 reportCompare(0, 0, "ok");
\ No newline at end of file
--- a/js/src/tests/js1_8_5/regress/regress-566549.js
+++ b/js/src/tests/js1_8_5/regress/regress-566549.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 // Contributors: Jesse Ruderman <jruderman@gmail.com>,
 //               Gary Kwong <gary@rumblingedge.com>,
 //               Jason Orendorff <jorendorff@mozilla.com>
 
 try {
     evalcx('var p;', []);
--- a/js/src/tests/js1_8_5/regress/regress-592217.js
+++ b/js/src/tests/js1_8_5/regress/regress-592217.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
 (function ([b]) {
   default xml namespace = 7
--- a/js/src/tests/js1_8_5/regress/regress-597870.js
+++ b/js/src/tests/js1_8_5/regress/regress-597870.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
 try {
   (function() {
--- a/js/src/tests/js1_8_5/regress/regress-673070-3.js
+++ b/js/src/tests/js1_8_5/regress/regress-673070-3.js
@@ -1,8 +1,9 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 let (x = 1) {
     let ([] = [<x/>], r = <x/>) {}
 }
 
 reportCompare(0, 0, 'ok');
--- a/js/src/tests/js1_8_5/regress/regress-675581.js
+++ b/js/src/tests/js1_8_5/regress/regress-675581.js
@@ -1,7 +1,8 @@
+// |reftest| pref(javascript.options.xml.content,true)
 // Any copyright is dedicated to the Public Domain.
 // http://creativecommons.org/licenses/publicdomain/
 
 x=<x/>
 x.(-0 in x)
 
 reportCompare(0, 0, 'ok');
--- a/js/xpconnect/tests/mochitest/test_bug564330.html
+++ b/js/xpconnect/tests/mochitest/test_bug564330.html
@@ -12,26 +12,47 @@ https://bugzilla.mozilla.org/show_bug.cg
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=564330">Mozilla Bug 564330</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
 <script type="application/javascript">
+function getAllowXML(){
+  netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
+  Components.utils.import("resource://gre/modules/Services.jsm");
+  return Services.prefs.getBoolPref("javascript.options.xml.content");
+}
 
+function setAllowXML(value){
+  // Set the value for e4x
+  netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
+  Components.utils.import("resource://gre/modules/Services.jsm");
+  Services.prefs.setBoolPref("javascript.options.xml.content", value);
+}
+
+// Save the initial preference
+var default_allow_xml = getAllowXML();
+function restoreAllowXML(){
+    setAllowXML(default_allow_xml);
+}
+
+setAllowXML(true);
+</script>
+<script>
 /** Test for Bug 564330 **/
 var pass = false;
 try {
-    document.createElement("span").setUserData("x", <y/>, null);
+    document.createElement("span").setUserData("x", eval('<y/>'), null);
 } catch (e) {
     pass = true;
 }
 
 </script>
 <script>
 
 ok(pass, "pass was set to true");
-
+restoreAllowXML();
 </script>
 </pre>
 </body>
 </html>
--- a/js/xpconnect/tests/mochitest/test_bug618017.html
+++ b/js/xpconnect/tests/mochitest/test_bug618017.html
@@ -6,20 +6,50 @@ https://bugzilla.mozilla.org/show_bug.cg
 Parsing XML must not override the version.
 -->
 <head>
   <title>Test for Bug 618017</title>
   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
+<script type='application/javascript;version=1.5'>
+function getAllowXML(){
+  netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
+  Components.utils.import("resource://gre/modules/Services.jsm");
+  return Services.prefs.getBoolPref("javascript.options.xml.content");
+}
+
+function setAllowXML(value){
+  // Set the value for e4x
+  netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
+  Components.utils.import("resource://gre/modules/Services.jsm");
+  Services.prefs.setBoolPref("javascript.options.xml.content", value);
+}
+
+// Save the initial preference
+var default_allow_xml = getAllowXML();
+function restoreAllowXML(){
+    setAllowXML(default_allow_xml);
+}
+
+setAllowXML(true);
+var uneval_xml = uneval(eval('<test />'));
+</script>
+
 <script type='application/javascript;version=1.7'>
 let x = 12;
 function doLetEval() {
   ok(eval('let x = 13; x') === 13, 'let statement is valid syntax in version 1.7');
 }
 </script>
+
 <script type='application/javascript;version=1.5'>
-ok(uneval(<test />) === '<test/>', 'xml can be parsed in any version');
+ok(uneval_xml === '<test/>', 'xml can be parsed in any version');
 doLetEval(); // Call to a function with a different version.
 </script>
+
+<script type='application/javascript;version=1.5'>
+restoreAllowXML();
+</script>
+
 </body>
 </html>