gecko-dev/dom/base/test/file_lock_orientation.html

15 строки
337 B
HTML

<!DOCTYPE html>
<html>
<body>
<script src="orientationcommon.js"></script>
<script>
window.addEventListener("message", function(event) {
var p = specialPowersLock(event.data);
p.then(function() {
event.source.postMessage("success", "*");
}).catch(function(err) {
event.source.postMessage("error", "*");
});
});
</script>