[Pkg-javascript-commits] [dojo] 54/87: Disable more quirks tests in IE9+. Refs #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 aa03051fa8a331bb2942621212472f240bbec687
Author: Colin Snover <github.com at zetafleet.com>
Date: Fri Nov 23 06:41:38 2012 +0000
Disable more quirks tests in IE9+. Refs #14321. Backport to 1.7. !strict
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@30024 560b804f-0ae3-0310-86f3-f6aa0a117693
---
tests/uacss.js | 5 +++--
tests/window.js | 7 ++++---
2 files changed, 7 insertions(+), 5 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 40e4b09..d7dd458 100755
--- a/tests/window.js
+++ b/tests/window.js
@@ -1,5 +1,6 @@
-define(["doh", "require"], function(doh, require){
+define(["dojo/has", "doh", "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