mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
3dedc3f2d4
1. Support passing custom document to jQuery.globalEval; the script will be
invoked in the context of this document.
2. Fire external scripts appended to iframe contents in that iframe context;
this was already supported & tested for inline scripts but not for external
ones.
Fixes gh-4518
Closes gh-4601
(cherry picked from commit 4592595b47
)
16 lines
275 B
HTML
16 lines
275 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset=utf-8 />
|
|
<title>body</title>
|
|
</head>
|
|
<body>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
<script>
|
|
startIframeTest();
|
|
</script>
|
|
</body>
|
|
</html>
|