https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 84c1f1fd434311077773760090a36e62e433bd54 authored by Kilik Kuo on 21 April 2016, 08:26:12 UTC
Bug 1265619 - Fix potential race condition when APZCTreeManager::PrepareNodeForLayer() is called before layer is initialized.; r=Kats a=jocheng
Tip revision: 84c1f1f
test_passpointerevents_dynamic.html
<!DOCTYPE HTML>
<html>
<head>
  <title>Test that mozpasspointerevents works after setting it dynamically</title>
  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
  <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
</head>
<body>

<pre id="test">
<script type="application/javascript">
SimpleTest.waitForExplicitFinish();

var root = getRootDirectory(window.location.href);
window.openDialog(root + "passpointerevents_dynamically_window.html",
                  "passpointerevents", "chrome,width=400,height=400");
</script>
</pre>
</body>
</html>
back to top