[Pkg-javascript-commits] [dojo] 133/149: fixes #16248, fixes #16617, add catch statements for IE8/IE9 brittleness

David Prévot taffit at moszumanska.debian.org
Sat Feb 27 03:13:56 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 a275e8237cd8be0a4e3af4d229853f317bc56873
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
---
 dojo.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dojo.js b/dojo.js
index 5c4bdd9..28c50ad 100644
--- a/dojo.js
+++ b/dojo.js
@@ -1282,6 +1282,9 @@
 			try{
 				checkCompleteGuard++;
 				proc();
+			}catch(e){
+				// https://bugs.dojotoolkit.org/ticket/16617
+				throw e;
 			}finally{
 				checkCompleteGuard--;
 			}
@@ -1680,7 +1683,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