Power Management: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "=B2G Power Management API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:gmealer@mozilla.com Geo Mealer] (irc: geo) |- | ...")
 
Line 33: Line 33:




=== Related Prefs ===
=== Related Prefs / Permissions ===


Require power permission to access methods and properties on navigator.mozPower.


=== [http://mxr.mozilla.org/mozilla-central/source/dom/power/nsIDOMPowerManager.idl nsIDOMPowerManager] ===
=== [http://mxr.mozilla.org/mozilla-central/source/dom/power/nsIDOMPowerManager.idl nsIDOMPowerManager] ===

Revision as of 21:58, 25 March 2013

B2G Power Management API Test Plan

Summary

Lead Geo Mealer (irc: geo)
API Description Turn on/off screen, cpu, device power, etc. Listen and inspect resource lock events.
API Developer Kan-Ru Chen (irc: kanru)
API Project Page Power Management API
API Tracking Bugs bug 708964
API Status Ready

Scope

This test plan covers functional testing of the Power Management API on B2G.

Strategy

API

Related Prefs / Permissions

Require power permission to access methods and properties on navigator.mozPower.

nsIDOMPowerManager

Methods

Events

  • alarm - (System Message)

Tests

mochitest-plain

Test Type 1

  • Test 1
  • Test 2

Test Type 2

  • Test 1
  • Test 2

This page is based on the WebAPI Test Plan Template