docshell/test/iframesandbox/file_marquee_event_handlers.html
author Bob Owen <bobowencode@gmail.com>
Thu, 09 Jun 2016 11:22:23 +0100
changeset 301250 963e5b62da1bad68dc886412ee12bb581f59facc
permissions -rw-r--r--
Bug 1277475 Part 3: Ensure marquee attribute event handlers don't run when sandboxed scripts flag is set on its owning Document. r=bz MozReview-Commit-ID: 4vWafBniv4R

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Test marquee attribute event handlers in iframe sandbox</title>
</head>
<body>
  <!-- Note that the width here is slightly longer than the contents, to make
       sure we bounce and finish very quickly. -->
  <marquee loop="2" width="145" behavior="alternate" truespeed scrolldelay="1"
    onstart="parent.postMessage(window.name + ' marquee onstart', '*');"
    onbounce="parent.postMessage(window.name + ' marquee onbounce', '*');"
    onfinish="parent.postMessage(window.name + ' marquee onfinish', '*');">
    Will bounce and finish
  </marquee>
</body>
</html>