gecko/dom/browser-element/mochitest/file_browserElement_AppFramePermission.html

18 lines
303 B
HTML
Raw Normal View History

<html>
<head>
<script type="text/javascript">
addEventListener('load', function(e) {
navigator.mozApps.getSelf().onsuccess = function onGetSelf() {
if (this.result) {
alert('app');
} else {
alert('notapp');
}
};
});
</script>
</head>
<body>
</body>
</html>