mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(t => {
|
||||
assert_false('applicationCache' in window);
|
||||
assert_equals(window.applicationCache, undefined);
|
||||
}, "window.applicationCache does not exist in non-secure contexts.");
|
||||
|
||||
test(t => {
|
||||
assert_false('ApplicationCache' in window);
|
||||
assert_equals(typeof ApplicationCache, "undefined");
|
||||
}, "ApplicationCache interface does not exist in non-secure contexts.");
|
||||
|
||||
test(t => {
|
||||
assert_false('ApplicationCacheErrorEvent' in window);
|
||||
assert_equals(typeof ApplicationCacheErrorEvent, "undefined");
|
||||
}, "ApplicationCacheErrorEvent interface does not exist in non-secure contexts.");
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue