| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 Tests that screen taps aren't registered while in VR when viewer is | 3 Tests that screen taps aren't registered while in VR when viewer is |
| 4 Daydream View | 4 Daydream View |
| 5 --> | 5 --> |
| 6 <html> | 6 <html> |
| 7 <head> | 7 <head> |
| 8 <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css"> | 8 <link rel="stylesheet" type="text/css" href="../resources/webvr_e2e.css"> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 t.step( () => { | 23 t.step( () => { |
| 24 assert_equals(numTaps, 0, "No initial taps"); | 24 assert_equals(numTaps, 0, "No initial taps"); |
| 25 }); | 25 }); |
| 26 finishJavascriptStep(); | 26 finishJavascriptStep(); |
| 27 } | 27 } |
| 28 | 28 |
| 29 function stepVerifyNoAdditionalTaps() { | 29 function stepVerifyNoAdditionalTaps() { |
| 30 t.step_func_done( () => { | 30 t.step_func_done( () => { |
| 31 // We expect 1 tap from entering VR | 31 // We expect 1 tap from entering VR |
| 32 assert_equals(numTaps, 1, | 32 assert_equals(numTaps, 1, |
| 33 "Only one tap registered after two taps given"); | 33 "Only tap one tap registered after two taps given"); |
| 34 })(); | 34 })(); |
| 35 } | 35 } |
| 36 | 36 |
| 37 </script> | 37 </script> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |