[Pkg-javascript-commits] [dojo] 39/88: Disable more quirks tests in IE9+. Refs #14321. Backport to 1.8. !strict

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


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

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

commit edb5b3d50f9f7cda81cac993574771a3fd8255f5
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 23 06:19:02 2012 +0000

    Disable more quirks tests in IE9+. Refs #14321. Backport to 1.8. !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30022 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 tests/uacss.js  | 5 +++--
 tests/window.js | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/uacss.js b/tests/uacss.js
index 2e3bb57..b647877 100644
--- a/tests/uacss.js
+++ b/tests/uacss.js
@@ -1,6 +1,7 @@
-define(["doh", "require"], function(doh, require){
+define(["dojo/has", "doh", "require"], function(has, doh, require){
 
-	doh.register("tests.uacss.sniffQuirks", require.toUrl("./uacss/sniffQuirks.html"));
+	// IE9+ cannot handle quirks mode in test runner, see #14321
+	has("ie") >= 9 || doh.register("tests.uacss.sniffQuirks", require.toUrl("./uacss/sniffQuirks.html"));
 	doh.register("tests.uacss.sniffStandards", require.toUrl("./uacss/sniffStandards.html"));
 
 });
diff --git a/tests/window.js b/tests/window.js
index adffaef..4e49a5b 100755
--- a/tests/window.js
+++ b/tests/window.js
@@ -1,5 +1,6 @@
-define(["doh/main", "require"], function(doh, require){
+define(["dojo/has", "doh/main", "require"], function(has, doh, require){
 	doh.register("tests.window.viewport", require.toUrl("./window/viewport.html"));
-	doh.register("tests.window.viewportQuirks", require.toUrl("./window/viewportQuirks.html"));
+	// IE9+ cannot handle quirks mode in test runner, see #14321
+	has("ie") >= 9 || doh.register("tests.window.viewportQuirks", require.toUrl("./window/viewportQuirks.html"));
 	doh.register("tests.window.test_scroll", require.toUrl("./window/test_scroll.html"), 99999999);
 });
\ No newline at end of file

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