[Pkg-javascript-commits] [dojo] 37/88: Less convoluted browser test. Refs #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 e03cc938c34a77e482bf441addb2ee94bf8906b3
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 23 05:32:39 2012 +0000

    Less convoluted browser test. Refs #14321. Backport to 1.8. !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30017 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 tests/_base/html.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/_base/html.js b/tests/_base/html.js
index e72a86f..a2a187b 100644
--- a/tests/_base/html.js
+++ b/tests/_base/html.js
@@ -5,9 +5,9 @@ define(["dojo/has", "doh/main", "require"], function(has, doh, require){
 		doh.register("tests._base.html_element", require.toUrl("./html_element.html"), 15000);
 		doh.register("tests._base.html_rtl", require.toUrl("./html_rtl.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);
+		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);
-		!(has("ie") >= 9) && 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