Update corejs-build-20210810.js

This commit is contained in:
Namhyeon Go 2021-08-10 20:11:19 +09:00 committed by GitHub
parent 69a654680e
commit 9c024cf5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }, {
/***/ })
/******/ ]); }();
/******/ ]); }();