[Pkg-javascript-commits] [dojo] 47/58: refs #18432, fix request/iframe xml handling in Firefox
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.10.5
in repository dojo.
commit 85cc7930267785651b52ab0af37682f9025a74c7
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