author | Brendan Eich <brendan@mozilla.org> |
Tue, 25 May 2010 20:49:14 -0700 | |
changeset 43182 | d5c0c147d6f0631847e405bef859df4833465573 |
parent 42835 | 574a2ee28611014011941540630c20b53045353d |
child 43183 | fa51bdbbdd46b891e04eac508b93f1584c5a9e2b |
push id | 13641 |
push user | rsayre@mozilla.com |
push date | Sun, 06 Jun 2010 19:08:23 +0000 |
treeherder | mozilla-central@5b3604a3cfbe [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | gal |
bugs | 568148 |
milestone | 1.9.3a5pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
|
--- a/js/src/jsparse.cpp +++ b/js/src/jsparse.cpp @@ -868,17 +868,17 @@ Compiler::compileScript(JSContext *cx, J #if JS_HAS_XML_SUPPORT /* * Prevent XML data theft via <script src="http://victim.com/foo.xml">. * For background, see: * * https://bugzilla.mozilla.org/show_bug.cgi?id=336551 */ - if (pn && onlyXML && (tcflags & TCF_NO_SCRIPT_RVAL)) { + if (pn && onlyXML) { parser.reportErrorNumber(NULL, JSREPORT_ERROR, JSMSG_XML_WHOLE_PROGRAM); goto out; } #endif /* * Global variables (gvars) share the atom index space with locals. Due to * incremental code generation we need to patch the bytecode to adjust the