jquery/test/data/manipulation/set-global-scripttest.js
Michał Gołębiowski-Owczarek 4592595b47
Core: Fire iframe script in its context, add doc param in globalEval
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
2020-02-10 19:17:22 +01:00

3 lines
47 B
JavaScript

window.scriptTest = true;
parent.finishTest();