mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
18 lines
705 B
HTML
18 lines
705 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Creating a PresentationRequest with an a priori unauthenticated URL in an HTTPS context throws a SecurityError exception.</title>
|
|
<link rel="author" title="Francois Daoust" href="https://www.w3.org/People/#fd">
|
|
<link rel="help" href="http://w3c.github.io/presentation-api/#constructing-a-presentationrequest">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
<script>
|
|
function createPresentation() {
|
|
var request = new PresentationRequest('http://example.org/presentation.html');
|
|
};
|
|
|
|
test(function () {
|
|
assert_throws('SecurityError', createPresentation);
|
|
});
|
|
</script>
|
|
|