mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +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
)
3 lines
47 B
JavaScript
3 lines
47 B
JavaScript
window.scriptTest = true;
|
|
parent.finishTest();
|