| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <script src="../resources/mojo-helpers.js"></script> | 4 <script src="../resources/mojo-helpers.js"></script> |
| 5 <script src="resources/mock-imagecapture.js"></script> | 5 <script src="resources/mock-imagecapture.js"></script> |
| 6 <body> | 6 <body> |
| 7 <canvas id='canvas' width=10 height=10/> | 7 <canvas id='canvas' width=10 height=10/> |
| 8 </body> | 8 </body> |
| 9 <script> | 9 <script> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'fillLightMode'); | 62 'fillLightMode'); |
| 63 | 63 |
| 64 t.done(); | 64 t.done(); |
| 65 }) | 65 }) |
| 66 .catch(error => { | 66 .catch(error => { |
| 67 assert_unreached("Error during takePhoto(): " + error.message); | 67 assert_unreached("Error during takePhoto(): " + error.message); |
| 68 }); | 68 }); |
| 69 }, 'exercises ImageCapture.takePhoto(PhotoSettings dictionary)'); | 69 }, 'exercises ImageCapture.takePhoto(PhotoSettings dictionary)'); |
| 70 | 70 |
| 71 </script> | 71 </script> |
| OLD | NEW |