[Pkg-javascript-commits] [dojo] 36/88: Disable quirks mode tests in IE9+ in the test runner. Fixes #14321. Backport to 1.8. !strict
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:34 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 8a4258dc944572b0fedfebcf850b98e0a2b5199a
Author: Colin Snover <github.com at zetafleet.com>
Date: Fri Nov 23 05:30:35 2012 +0000
Disable quirks mode tests in IE9+ in the test runner. Fixes #14321. Backport to 1.8. !strict
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30015 560b804f-0ae3-0310-86f3-f6aa0a117693
---
tests/_base/html.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/_base/html.js b/tests/_base/html.js
index 167785b..e72a86f 100644
--- a/tests/_base/html.js
+++ b/tests/_base/html.js
@@ -1,12 +1,13 @@
-define(["doh/main", "require"], function(doh, require){
+define(["dojo/has", "doh/main", "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);
+ // IE9+ cannot handle loading quirks mode documents inside the test runner, see #14321
+ !(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