5 screen
.orientation
.lock("portrait-primary").then(function() {
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
, "*");