mirror of
https://github.com/jquery/jquery.git
synced 2026-02-15 07:55:04 -05:00
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040 Closes gh-3049
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<body>
|
||||
<div id="qunit-fixture"></div>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script src="../iframeTest.js"></script>
|
||||
<script>
|
||||
var script = document.getElementsByTagName( "script" )[ 0 ],
|
||||
div = document.createElement( "div" ),
|
||||
@@ -25,7 +26,7 @@
|
||||
error = e;
|
||||
}
|
||||
|
||||
window.parent.iframeCallback({
|
||||
startIframeTest({
|
||||
status: success,
|
||||
description: "buildFragment sets the context without throwing an exception" +
|
||||
( error ? ": " + error : "" )
|
||||
|
||||
Reference in New Issue
Block a user