gecko-dev/dom/base/test/file_lock_orientation.html
William Chen 2318fd1af8 Bug 1131470 - Part 6: ScreenOrientation tests. r=baku
--HG--
extra : rebase_source : bce22b7614a58208b8706632661b7bebed813c87
2015-08-18 15:28:01 -07:00

15 lines
344 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", "*");
});
}, false);
</script>