mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
453 B
HTML
16 lines
453 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test bug 957899 - Crash in WakeLock</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<script type="application/javascript">
|
|
var wl = navigator.requestWakeLock('a');
|
|
ok(wl, "WakeLock created!");
|
|
ok(!(wl instanceof XPathEvaluator), "Crashing?");
|
|
</script>
|
|
</body>
|
|
</html>
|