Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / mochitest / file_bug760131.html
blob736732a0a477674d67a60cbdbe2df0e82e20ac65
1 <html>
2 <div id="target" ontouchstart="alert();"></div>
3 <script type="application/javascript">
5 /** Test for Bug 760131 **/
7 function accessTouches(evt)
9 var thrown = false;
10 try {
11 var a = evt.touches;
12 } catch (e) {
13 thrown = true;
15 ok(!thrown, "Unwrapping a TouchList shouldn't throw");
18 document.getElementById("target").ontouchstart = accessTouches;
20 </script>
21 </pre>
22 </body>
23 </html>