diff options
Diffstat (limited to 'test/data/manipulation')
-rw-r--r-- | test/data/manipulation/iframe-denied.html | 3 | ||||
-rw-r--r-- | test/data/manipulation/scripts-context.html | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/test/data/manipulation/iframe-denied.html b/test/data/manipulation/iframe-denied.html index 14df26a69..e74872ad0 100644 --- a/test/data/manipulation/iframe-denied.html +++ b/test/data/manipulation/iframe-denied.html @@ -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 : "" ) diff --git a/test/data/manipulation/scripts-context.html b/test/data/manipulation/scripts-context.html index 6958453c5..1b75e3a0a 100644 --- a/test/data/manipulation/scripts-context.html +++ b/test/data/manipulation/scripts-context.html @@ -7,12 +7,9 @@ <body> <div id="qunit-fixture"></div> <script src="../../jquery.js"></script> + <script src="../iframeTest.js"></script> <script> - window.parent.iframeCallback( - window, - document.body, - "<script>window.scriptTest = true;<\x2fscript>" - ); + startIframeTest(); </script> </body> </html> |