mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
importScripts("/resources/testharness.js");
|
||||
|
||||
var properties = [
|
||||
"appCodeName",
|
||||
"product",
|
||||
"productSub",
|
||||
"vendor",
|
||||
"vendorSub",
|
||||
|
||||
// Only exist in Window scopes if navigator compatibility mode is Gecko;
|
||||
// never exist in workers.
|
||||
"taintEnabled",
|
||||
"oscpu",
|
||||
];
|
||||
|
||||
properties.forEach(function(property) {
|
||||
test(function() {
|
||||
assert_false(property in navigator);
|
||||
}, "NavigatorID properties exposed only for Window: " + property);
|
||||
});
|
||||
|
||||
done();
|
||||
Reference in New Issue
Block a user