mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
29 lines
662 B
HTML
29 lines
662 B
HTML
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
<html>
|
|
<head>
|
|
<title>Bug 793311 Test</title>
|
|
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<script type="text/javascript;version=1.7">
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
try {
|
|
SpecialPowers.DOMWindowUtils.wrapDOMFile(null);
|
|
ok(false, "wrapDOMFile(null) throws an exception");
|
|
} catch(e) {
|
|
ok(true, "wrapDOMFile(null) throws an exception");
|
|
}
|
|
SimpleTest.finish();
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|