[Pkg-javascript-commits] [dojo] 115/149: refs #18432, fix request/iframe xml handling in Firefox
David Prévot
taffit at moszumanska.debian.org
Sat Feb 27 03:13:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository dojo.
commit 63b4b37946e748591e9e65ae2a7e622ab4f4b521
Author: Swizard <swizardlv at gmail.com>
Date: Wed Dec 30 04:55:33 2015 -0700
refs #18432, fix request/iframe xml handling in Firefox
---
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