mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
20
tests/content/test_navigator.html
Normal file
20
tests/content/test_navigator.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<script src="harness.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
is(window.navigator, window.navigator);
|
||||
is_a(window.navigator, Navigator);
|
||||
|
||||
var nav = window.navigator;
|
||||
is(nav.product, "Gecko");
|
||||
is(nav.taintEnabled(), false);
|
||||
is(nav.appName, "Netscape");
|
||||
is(nav.appCodeName, "Mozilla");
|
||||
is(nav.platform, "");
|
||||
finish();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue