Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <meta charset="UTF-8"> |
michael@0 | 4 | <script> |
michael@0 | 5 | |
michael@0 | 6 | function boom() |
michael@0 | 7 | { |
michael@0 | 8 | // This file tests if we create a shutdown leak. |
michael@0 | 9 | document.getElementById("c").getContext("2d").fillText("x", 0, 0); |
michael@0 | 10 | document.styleSheets[0].cssRules[0].style.whatever = "create an expando to preserve the wrapper"; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | </script> |
michael@0 | 14 | |
michael@0 | 15 | <style> |
michael@0 | 16 | |
michael@0 | 17 | @font-face { |
michael@0 | 18 | font-family: missing; |
michael@0 | 19 | src: local(missing); |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | </style> |
michael@0 | 23 | </head> |
michael@0 | 24 | |
michael@0 | 25 | <body onload="boom();"> |
michael@0 | 26 | <canvas id="c"></canvas> |
michael@0 | 27 | </body> |
michael@0 | 28 | </html> |