aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-05-10 12:23:53 +0200
committerjaubourg <j@ubourg.net>2011-05-10 12:24:36 +0200
commit38de389a8e675c0c2d1172dd23339325ae82539a (patch)
tree6bdfa2330e03edb71ebfbf34b0e01cd2f64cb2bb /test/data
parent4526c8b0a05ea16397a0640875bfbb54645a9482 (diff)
downloadjquery-38de389a8e675c0c2d1172dd23339325ae82539a.tar.gz
jquery-38de389a8e675c0c2d1172dd23339325ae82539a.zip
Adds unit/support.js to unit tests. Still have to test for #8763 has to be done in its own file however, since Firefox refuses to notify global errors in the iframe (attachEvent, window.onerror and script.onerror all fail).
Diffstat (limited to 'test/data')
-rw-r--r--test/data/support/boxModelIE.html27
-rw-r--r--test/data/support/hiddenIFrameFF.html25
2 files changed, 52 insertions, 0 deletions
diff --git a/test/data/support/boxModelIE.html b/test/data/support/boxModelIE.html
new file mode 100644
index 000000000..1b11d2a59
--- /dev/null
+++ b/test/data/support/boxModelIE.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<body>
+ <script src="../../../src/core.js"></script>
+ <script src="../../../src/deferred.js"></script>
+ <script src="../../../src/support.js"></script>
+ <script src="../../../src/data.js"></script>
+ <script src="../../../src/queue.js"></script>
+ <script src="../../../src/attributes.js"></script>
+ <script src="../../../src/event.js"></script>
+ <script src="../../../src/sizzle/sizzle.js"></script>
+ <script src="../../../src/sizzle-jquery.js"></script>
+ <script src="../../../src/traversing.js"></script>
+ <script src="../../../src/manipulation.js"></script>
+ <script src="../../../src/css.js"></script>
+ <script src="../../../src/ajax.js"></script>
+ <script src="../../../src/ajax/jsonp.js"></script>
+ <script src="../../../src/ajax/script.js"></script>
+ <script src="../../../src/ajax/xhr.js"></script>
+ <script src="../../../src/effects.js"></script>
+ <script src="../../../src/offset.js"></script>
+ <script src="../../../src/dimensions.js"></script>
+ <script>
+ window.top.supportCallback( document.compatMode, jQuery.support.boxModel );
+ </script>
+</body>
+</html>
diff --git a/test/data/support/hiddenIFrameFF.html b/test/data/support/hiddenIFrameFF.html
new file mode 100644
index 000000000..000ac851a
--- /dev/null
+++ b/test/data/support/hiddenIFrameFF.html
@@ -0,0 +1,25 @@
+<html>
+ <head>
+ <script src="../../../src/core.js"></script>
+ <script src="../../../src/deferred.js"></script>
+ <script src="../../../src/support.js"></script>
+ <script src="../../../src/data.js"></script>
+ <script src="../../../src/queue.js"></script>
+ <script src="../../../src/attributes.js"></script>
+ <script src="../../../src/event.js"></script>
+ <script src="../../../src/sizzle/sizzle.js"></script>
+ <script src="../../../src/sizzle-jquery.js"></script>
+ <script src="../../../src/traversing.js"></script>
+ <script src="../../../src/manipulation.js"></script>
+ <script src="../../../src/css.js"></script>
+ <script src="../../../src/ajax.js"></script>
+ <script src="../../../src/ajax/jsonp.js"></script>
+ <script src="../../../src/ajax/script.js"></script>
+ <script src="../../../src/ajax/xhr.js"></script>
+ <script src="../../../src/effects.js"></script>
+ <script src="../../../src/offset.js"></script>
+ <script src="../../../src/dimensions.js"></script>
+ </head>
+ <body>
+ </body>
+</html>