We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a423e7 commit 96036c1Copy full SHA for 96036c1
utils/misc/global-state-diff/v2.0/global-state-diff-v2.0.html
@@ -264,15 +264,15 @@ <h3>
264
265
266
function process(src){
267
-
268
269
- var iframe = document.createElement('iframe');
+ console.log('process',src);
+
+ var iframe = document.createElement('iframe');
270
iframe.onload = onload;
271
document.body.append(iframe);
272
273
274
function onload(){
275
+ console.log('onload');
276
var win = iframe.contentWindow;
277
var doc = iframe.contentDocument;
278
@@ -292,7 +292,7 @@ <h3>
292
293
294
script.onload = ()=>{
295
+ console.log('script.onload');
296
var afterKeys = new Set(Object.keys(win));
297
var added = [...afterKeys].filter(k=>!beforeKeys.has(k));
298
0 commit comments