Skip to content

Commit

Permalink
Add a test for user denial of captured image
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiqiang Zhang committed Dec 26, 2014
1 parent 462384d commit 936c312
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions camera/capture_image_deny-manual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<meta charset='utf-8'>
<title>HTML Media Capture Test: user denial of captured image leading to no capture</title>
<link rel='author' title='Intel' href='http://www.intel.com'>
<link rel='help' href='http://www.w3.org/TR/html-media-capture/#security'>
<link rel='help' href='http://www.w3.org/TR/html5/forms.html#attr-input-accept'>

<p>Clear all camera permissions before running this test. If prompted for permission, please allow.</p>

<p>Cancel capturing an image.</p>

<p>Test passes</p>
<ol>
<li>if there is <strong>no</strong> image file captured.</li>
</ol>

<input type='file' accept='image/*' capture>

0 comments on commit 936c312

Please sign in to comment.