[Pkg-javascript-commits] [dojo] 27/29: fixes #16248, fixes #16617, add catch statements for IE8/IE9 brittleness
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.11
in repository dojo.
commit 16686d6210a4f09cd41fbe199c0385509a758622
Author: Dylan Schiemann <dylan at dojotoolkit.org>
Date: Mon Feb 1 05:11:55 2016 -0700
fixes #16248, fixes #16617, add catch statements for IE8/IE9 brittleness
(cherry picked from commit a275e8237cd8be0a4e3af4d229853f317bc56873)
---
dojo.js | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dojo.js b/dojo.js
index aedd81e..bb098de 100644
--- a/dojo.js
+++ b/dojo.js
@@ -1236,6 +1236,9 @@
try{
checkCompleteGuard++;
proc();
+ }catch(e){
+ // https://bugs.dojotoolkit.org/ticket/16617
+ throw e;
}finally{
checkCompleteGuard--;
}
@@ -1624,7 +1627,11 @@
},
windowOnLoadListener = domOn(window, "load", "onload", function(){
req.pageLoaded = 1;
- doc.readyState!="complete" && (doc.readyState = "complete");
+ // https://bugs.dojotoolkit.org/ticket/16248
+ try{
+ doc.readyState!="complete" && (doc.readyState = "complete");
+ }catch(e){
+ }
windowOnLoadListener();
});
--
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