(activeXDocument)
| 1678 | |
| 1679 | // Create object with fake `null` prototype: use ActiveX Object with cleared prototype |
| 1680 | var NullProtoObjectViaActiveX = function (activeXDocument) { |
| 1681 | activeXDocument.write(scriptTag('')); |
| 1682 | activeXDocument.close(); |
| 1683 | var temp = activeXDocument.parentWindow.Object; |
| 1684 | // eslint-disable-next-line no-useless-assignment -- avoid memory leak |
| 1685 | activeXDocument = null; |
| 1686 | return temp; |
| 1687 | }; |
| 1688 | |
| 1689 | // Create object with fake `null` prototype: use iframe Object with cleared prototype |
| 1690 | var NullProtoObjectViaIFrame = function () { |
no test coverage detected
searching dependent graphs…