@@ -309,7 +309,7 @@ Node.DOCUMENT_TYPE_NODE = 10;
309
309
Node . DOCUMENT_FRAGMENT_NODE = 11 ;
310
310
module . exports . Node = Node ;
311
311
312
- const _setAttributeRaw = ( el , prop , value , notify = true ) => {
312
+ const _setAttributeRaw = ( el , prop , value ) => {
313
313
if ( prop === 'length' ) {
314
314
el . attrs . length = value ;
315
315
} else {
@@ -320,11 +320,11 @@ const _setAttributeRaw = (el, prop, value, notify = true) => {
320
320
value,
321
321
} ;
322
322
el . attrs . push ( attr ) ;
323
- notify && el . _emit ( 'attribute' , prop , value , null ) ;
323
+ el . _emit ( 'attribute' , prop , value , null ) ;
324
324
} else {
325
325
const oldValue = attr . value ;
326
326
attr . value = value ;
327
- notify && el . _emit ( 'attribute' , prop , value , oldValue ) ;
327
+ el . _emit ( 'attribute' , prop , value , oldValue ) ;
328
328
}
329
329
}
330
330
} ;
@@ -2200,8 +2200,6 @@ class HTMLIFrameElement extends HTMLSrcableElement {
2200
2200
const options = parentWindow [ symbols . optionsSymbol ] ;
2201
2201
2202
2202
url = _normalizeUrl ( res . url , options . baseUrl ) ;
2203
- // passively update .src with the final url (which can differ in case of redirects)
2204
- _setAttributeRaw ( this , 'src' , url , false ) ;
2205
2203
const parent = { } ;
2206
2204
const top = parentWindow === parentWindow . top ? parent : { } ;
2207
2205
this . contentWindow = _makeWindow ( {
0 commit comments