@firebase/database 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2005,8 +2005,8 @@ var FirebaseIFrameScriptHolder = /** @class */ (function () {
2005
2005
  if (this.myIFrame) {
2006
2006
  //We have to actually remove all of the html inside this iframe before removing it from the
2007
2007
  //window, or IE will continue loading and executing the script tags we've already added, which
2008
- //can lead to some errors being thrown. Setting innerHTML seems to be the easiest way to do this.
2009
- this.myIFrame.doc.body.innerHTML = '';
2008
+ //can lead to some errors being thrown. Setting textContent seems to be the safest way to do this.
2009
+ this.myIFrame.doc.body.textContent = '';
2010
2010
  setTimeout(function () {
2011
2011
  if (_this.myIFrame !== null) {
2012
2012
  document.body.removeChild(_this.myIFrame);