mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
084ab7eb10
Some mochitest that use embed-apps in an oop context is disabled. --HG-- extra : rebase_source : 72de2cdae86eb8d55e642529cd4aae0af97e4e96
20 lines
617 B
HTML
20 lines
617 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
addEventListener('load', function(e) {
|
|
var iframe = document.createElement('iframe');
|
|
iframe.setAttribute('mozbrowser', 'true');
|
|
iframe.setAttribute('remote', 'false');
|
|
iframe.setAttribute('mozapp', 'http://example.org/manifest.webapp');
|
|
iframe.addEventListener('mozbrowsershowmodalprompt', function(e) {
|
|
alert(e.detail.message);
|
|
});
|
|
document.body.appendChild(iframe);
|
|
iframe.src = 'http://example.org/tests/dom/browser-element/mochitest/file_browserElement_AppFramePermission.html';
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|