Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / screen_orientation / resources / sandboxed-iframe-locking.html
blobd721f56163466c2fc1fea9e18debe7b3561dfd51
1 <!DOCTYPE html>
2 <html>
3 <script>
4 var msg = "";
5 screen.orientation.lock("portrait-primary").then(function() {
6 }, function(error) {
7 msg = error.name;
8 });
10 // FIXME: for the moment, tests gets notified when there is a failure but
11 // not a success, this hack should allow us to still have the test running.
12 // That should be removed as soon as we get a resolved promise in tests.
13 setTimeout(function() {
14 parent.window.postMessage(msg, "*");
16 </script>
17 </html>