js/xpconnect/crashtests/503286-1.html
author Emilio Cobos Álvarez <ecoal95@gmail.com>
Fri, 29 Jul 2016 10:50:26 -0700
changeset 347524 0e1f1a9c666d2ba8ddba5246fb4e705244edbeb4
parent 80085 51541b56d20d588edc5a6111d670ca5af3db39d5
permissions -rw-r--r--
Bug 1287951: followup: Know if a snapshot belongs to a HTML element in an HTML document at construction time. r=heycam MozReview-Commit-ID: eN0j8vnesa

<html><head><title>Firefox 3.5 crash</title>

<script language=JavaScript>

function escapeData(data){
   var escData='';
   for(var i=0;i<data.length;i++) {
      var c=data.charAt(i);
      if( c==' ') c = escape(c);
      escData+=c;
    }
    return escData;
}

var a = ["a", "a  ", "a", "a "]

var html = "";
for (i=0;i<a.length;i++){
    html += escapeData("a")+escapeData(a[i])
}
</script>
</body></html>