mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 08:55:14 +00:00
Update corejs-build-20210810.js
This commit is contained in:
parent
69a654680e
commit
9c024cf5e1
|
@ -2199,10 +2199,15 @@ var NullProtoObject = function () {
|
|||
try {
|
||||
activeXDocument = new ActiveXObject('htmlfile');
|
||||
} catch (error) { /* ignore */ }
|
||||
NullProtoObject = document.domain && activeXDocument ?
|
||||
NullProtoObjectViaActiveX(activeXDocument) : // old IE
|
||||
NullProtoObjectViaIFrame() ||
|
||||
NullProtoObjectViaActiveX(activeXDocument); // WSH
|
||||
if (activeXDocument) {
|
||||
if (typeof(document) !== 'undefined') {
|
||||
NullProtoObject = document.domain ?
|
||||
NullProtoObjectViaActiveX(activeXDocument) : // old IE
|
||||
NullProtoObjectViaIFrame();
|
||||
} else {
|
||||
NullProtoObject = NullProtoObjectViaActiveX(activeXDocument); // WSH
|
||||
}
|
||||
}
|
||||
var length = enumBugKeys.length;
|
||||
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
||||
return NullProtoObject();
|
||||
|
@ -18676,4 +18681,4 @@ $({ target: 'URL', proto: true, enumerable: true }, {
|
|||
|
||||
|
||||
/***/ })
|
||||
/******/ ]); }();
|
||||
/******/ ]); }();
|
||||
|
|
Loading…
Reference in New Issue
Block a user