Home | History | Annotate | Download | only in DeviceOrientation
      1 Tests that document.createEvent() works with DeviceOrientationEvent.
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 PASS typeof event == 'object' is true
      7 PASS 'type' in event is true
      8 PASS 'bubbles' in event is true
      9 PASS 'cancelable' in event is true
     10 PASS 'alpha' in event is true
     11 PASS 'beta' in event is true
     12 PASS 'gamma' in event is true
     13 PASS typeof event.type == 'string' is true
     14 PASS typeof event.bubbles == 'boolean' is true
     15 PASS typeof event.cancelable == 'boolean' is true
     16 PASS typeof event.alpha == 'object' is true
     17 PASS typeof event.beta == 'object' is true
     18 PASS typeof event.gamma == 'object' is true
     19 PASS successfullyParsed is true
     20 
     21 TEST COMPLETE
     22 
     23