mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision cd44958a002b1ad494168e0290554644de84526e
This commit is contained in:
parent
2ed23ce4c9
commit
4443426308
103 changed files with 1740 additions and 1138 deletions
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>MediaDevices and SecureContext</title>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
|
||||
assert_false(window.isSecureContext, "This test must be run in a non secure context");
|
||||
assert_false('MediaDevices' in window, "MediaDevices is not exposed");
|
||||
assert_false('getUserMedia' in navigator, "getUserMedia is not exposed");
|
||||
assert_false('mediaDevices' in navigator, "mediaDevices is not exposed");
|
||||
|
||||
done();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue