[Pkg-javascript-commits] [dojo] 52/87: Disable quirks mode tests in IE9+ in the test runner. Fixes #14321. Backport to 1.7. !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:20 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.7.5
in repository dojo.

commit 6370c76f674e544c39e3cd69a340ee7faf28de5e
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 23 05:31:51 2012 +0000

    Disable quirks mode tests in IE9+ in the test runner. Fixes #14321. Backport to 1.7. !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@30016 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 tests/_base/html.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/_base/html.js b/tests/_base/html.js
index bc95808..aab56db 100644
--- a/tests/_base/html.js
+++ b/tests/_base/html.js
@@ -1,12 +1,12 @@
-define(["doh", "require"], function(doh, require){
+define(["dojo/has", "doh", "require"], function(has, doh, require){
 	if(doh.isBrowser){
 		doh.register("tests._base.html", require.toUrl("./html.html"), 15000);
 		doh.register("tests._base.html_id", require.toUrl("./html_id.html"), 15000);
 		doh.register("tests._base.html_element", require.toUrl("./html_element.html"), 15000);
 		doh.register("tests._base.html_rtl", require.toUrl("./html_rtl.html"), 15000);
-		doh.register("tests._base.html_quirks", require.toUrl("./html_quirks.html"), 15000);
+		has("ie") >= 9 || doh.register("tests._base.html_quirks", require.toUrl("./html_quirks.html"), 15000);
 		doh.register("tests._base.html_box", require.toUrl("./html_box.html"), 35000);
-		doh.register("tests._base.html_box_quirks", require.toUrl("./html_box_quirks.html"), 35000);
+		has("ie") >= 9 || doh.register("tests._base.html_box_quirks", require.toUrl("./html_box_quirks.html"), 35000);
 		doh.register("tests._base.html_isBodyLtr", require.toUrl("./html_isBodyLtr.html"), 35000);
 		doh.register("tests._base.html_docScroll", require.toUrl("./html_docScroll.html"), 35000);
 	}

-- 
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