B2G/QA/WebAPI Test Plan/Vibration: Difference between revisions

(Created page with "=B2G Screen Orientation API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:mwargers@mozilla.com Martijn Wargers] (irc: mw22...")
 
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
  |-
  |-
  | '''API Tracking Bugs'''
  | '''API Tracking Bugs'''
  | {{bug| 679966}}
  | {{bug|679966}}
  |-
  |-
  | '''API Status'''
  | '''API Status'''
Line 40: Line 40:
** when screen turned off
** when screen turned off
** Full screen
** Full screen
** related prefs: dom.vibrator.enabled , dom.vibrator.max_vibrate_ms
** related prefs: dom.vibrator.enabled , dom.vibrator.max_vibrate_ms , dom.vibrator.max_vibrate_list_len


== API ==
== API ==
Line 57: Line 57:


=== mochitest-plain===
=== mochitest-plain===
* http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/general/test_vibrator.html
==== Sanity Tests ====
==== Sanity Tests ====
* Verify vibrate() doesn't throw with valid input, but does throw with invalid input: http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/general/test_vibrator.html
* Verify vibrate() doesn't throw with valid input, but does throw with invalid input: http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/general/test_vibrator.html
Line 62: Line 63:
==== Basic Negative Tests ====
==== Basic Negative Tests ====
* See Sanity Tests
* See Sanity Tests


=== Test App Design ===
=== Test App Design ===
Confirmed users
486

edits