829817.html 293 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. @page {}
  6. </style>
  7. <script>
  8. function boom()
  9. {
  10. // This shouldn't cause a shutdown leak.
  11. document.styleSheets[0].cssRules[0].style.someExpando = "set an expando to preserve the wrapper";
  12. }
  13. </script>
  14. </head>
  15. <body onload="boom();"></body>
  16. </html>