| Index: LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content/002.xhtml
|
| diff --git a/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content/002.xhtml b/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content/002.xhtml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dca38269b08a55d5a136d9d1dd055251b6e462d0
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content/002.xhtml
|
| @@ -0,0 +1,19 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<head>
|
| +<title>isContentHandlerRegistered for content type that is not yet accepted</title>
|
| +<script src='../../../../../../../resources/testharness.js'></script>
|
| +<script src='../../../../../../../resources/testharnessreport.js'></script>
|
| +<script type="application/ecmascript">
|
| +test(function() {
|
| + var ctype = 'application/x-notRegisteredInOtherTCs-002';
|
| + var url = location.href.replace(/\/[^\/]*$/, "") + "/%s";
|
| + navigator.registerContentHandler(ctype, url, 'test');
|
| + assert_equals(navigator.isContentHandlerRegistered(ctype, url), 'declined');
|
| +});
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<div id="log"></div>
|
| +</body>
|
| +</html>
|
|
|