1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/style/crashtests/long-url-list-stack-overflow.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<style id="s"></style> 1.8 +<script type="text/javascript"> 1.9 + 1.10 +// Duplicates the string 2^n times 1.11 +function exp(s, n) 1.12 +{ 1.13 + for (var i = 0; i < n; ++i) 1.14 + s += s; 1.15 + return s; 1.16 +} 1.17 + 1.18 +var stylesheet = "@-moz-document url(http://www.w3.org/)" + exp(", url-prefix(file:///)", 20) + " { }"; 1.19 +document.getElementById("s").textContent = stylesheet; 1.20 + 1.21 +</script> 1.22 +</head> 1.23 +<body> 1.24 +<div></div> 1.25 +</body> 1.26 +</html>