[Pkg-javascript-commits] [dojo] 32/41: refs #18432, fix request/iframe xml handling in Firefox
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.8
in repository dojo.
commit 1c554a4812cbe2e40d0d6b57c288c69d49baefd6
Author: Swizard <swizardlv at gmail.com>
Date: Wed Dec 30 04:55:33 2015 -0700
refs #18432, fix request/iframe xml handling in Firefox
(cherry picked from commit 63b4b37946e748591e9e65ae2a7e622ab4f4b521)
---
request/iframe.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/request/iframe.js b/request/iframe.js
index 2bf71d3..179316b 100644
--- a/request/iframe.js
+++ b/request/iframe.js
@@ -304,7 +304,7 @@ define([
// IE6-8 have to parse the XML manually. See http://bugs.dojotoolkit.org/ticket/6334
if(doc.documentElement.tagName.toLowerCase() === 'html'){
query('a', doc.documentElement).orphan();
- var xmlText = doc.documentElement.innerText;
+ var xmlText = doc.documentElement.innerText || doc.documentElement.textContent;
xmlText = xmlText.replace(/>\s+</g, '><');
response.text = lang.trim(xmlText);
}else{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list