Skip to content
Permalink
Browse files

Add test page for crashing IE8 when the testElement in support has a …

…background (will run from the test suite). Supplements #9823.
  • Loading branch information...
timmywil committed Aug 4, 2011
1 parent 5c4a9cc commit e18cad6f88c7b3151722d5b58616badbea75ddf6
Showing with 24 additions and 0 deletions.
  1. +19 −0 test/data/support/testElementCrash.html
  2. +5 −0 test/unit/support.js
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

This comment has been minimized.

@mathiasbynens

mathiasbynens Aug 5, 2011

Contributor

Could be <meta charset=utf-8>, or even omitted as it doesn’t seem to matter for this test case ;)

<style>
body {
background: url('http://s1.postimage.org/2d2r8xih0/body_background.png');
}
</style>
<script src="../../../src/core.js"></script>
<script src="../../../src/deferred.js"></script>
<script src="../../../src/support.js"></script>
</head>
<body>
<script>
window.parent.supportCallback();
</script>
</body>
</html>
@@ -53,3 +53,8 @@ supportIFrameTest( "body background is not lost if set prior to loading jQuery (
}
ok( passed, "Same support properties" );
});

supportIFrameTest( "A background on the testElement does not cause IE8 to crash (#9823)", "testElementCrash", function() {
expect(1);
ok( true, "IE8 does not crash" );
});

0 comments on commit e18cad6

Please sign in to comment.
You can’t perform that action at this time.