summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_lock_orientation.html
blob: e370ab91c845b8942bda661dbb46a9d9c03aa25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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", "*");
  });
}, false);
</script>