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

From MozillaWiki
< B2G‎ | QA‎ | WebAPI Test Plan
Jump to navigation Jump to search
(Created page with "=B2G Contacts API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:mwargers@mozilla.com Martijn Wargers] (irc: mw22) |- | '...")
 
Line 34: Line 34:


== API ==
== API ==
Time API  is part of the nsIDOMNavigator interface, when the "dom.mozContacts.enabled" preference is set to true.


=== [http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/base/nsIDOMNavigator.idl nsIDOMNavigator] (subset) ===
=== [http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/base/nsIDOMNavigator.idl nsIDOMNavigator] (subset) ===

Revision as of 20:43, 25 September 2012

B2G Contacts API Test Plan

Summary

Lead Martijn Wargers (irc: mw22)
Contributors TBD
API Description Provides read/write DOM API access to the device address book, and the contacts contained therein.
API Developer Steven Lee
API Project Page
API Tracking Bugs bug 714358
API Status Delivered and ready for test

Scope

This test plan covers functional testing of the Time API as delivered for Boot2Gecko.

Strategy

Time API tests can be added to Mochitest, they seem to be only working on b2g.

API

nsIDOMNavigator (subset)

Attributes

  • readonly attribute nsIDOMMozTimeManager mozTime;
    • interface nsIDOMMozTimeManager : nsISupports
      • [implicit_jscontext] void set(in jsval time);
  • window.onmoztimechange

Tests

Marionette/JS

mochitest-plain

Sanity Tests

Basic Negative Tests

Test App Design


This page is based on the WebAPI Test Plan Template

URLS