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