blob: 86d0cff6190d3e6cccd84df39ed5070bff006784 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blacklisted content type and isContentHandlerRegistered</title>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script type="application/ecmascript">
test(function() {
var ctype = 'application/xhtml+xml', url = location.href.replace(/\/[^\/]*$/, "") + '/%s';
navigator.registerContentHandler(ctype, url, 'test');
assert_equals(navigator.isContentHandlerRegistered(ctype, 'http://t/core/standards/registerhandler/%s'), 'new');
});
</script>
</head>
<body>
<div id="log"></div>
</body>
</html>